Function at 0x454a50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov al, byte [ebp + 0x20]
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x31], 0
push edi
je 0x454b3e
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 8], 1
mov ecx, dword [esi + 4]
mov dword [ebx], ecx
test al, al
je 0x454b25
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + edi*4 - 4]
push 0
push 0x4be8f8
dec edi
push 0x4bd2bc
push 0
mov dword [ebp + 0x1c], edi
call fcn.0044b290
push eax
call fcn.004968b2
add esp, 0x14
test eax, eax
je 0x454b0c
mov ecx, dword [esi + 0x14]
push ecx
lea edx, [ebp + 0x1c]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00464a40
test eax, eax
jne 0x454adf
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [esi + 8]
push ecx
push edx
push ebx
call eax
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
je 0x454b01
push eax
call fcn.00487975
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp edi, dword [esi + 0x14]
jge 0x454b25
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [ebp + 0x18]
mov eax, dword [esi + 8]
push edi
push edx
push ebx
call eax
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
or edi, 0xffffffff
xor esi, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], esi
test al, al
je 0x454be0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push esi
dec eax
push 0x4be8f8
mov dword [ebp + 0x1c], eax
mov eax, dword [ecx + eax*4]
push 0x4bd2bc
push esi
call fcn.0044b290
push eax
call fcn.004968b2
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x454c6c
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x14]
mov edx, eax
mov edi, dword [edx + 0x18]
mov ecx, 0xfffffff0
inc esi
add ecx, 0x10
cmp esi, edi
jge 0x454bd8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + ecx]
mov edx, dword [eax + ecx + 8]
add eax, ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
cmp eax, 4
jne 0x454bd3
mov dword [esp + 0x3c], 0
cmp edx, 1
jl 0x454b98
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
cmp ecx, eax
jg 0x454bf5
mov dword [esp + 0x18], ecx
cmp dword [edx + 0x2c], 0
jle 0x454c77
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x454c32
xor ebx, ebx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + edi*4]
cmp dword [eax + 8], 3
jne 0x454c28
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
cmp word [ecx + ebx + 4], 0
jne 0x454c28
mov ecx, dword [eax]
mov esi, eax
call fcn.004128d0
inc edi
add ebx, 0x10
cmp edi, dword [esp + 0x18]
jl 0x454c05
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edi, [eax + 8]
lea ebx, [eax + 4]
call fcn.0046e4c0
test eax, eax
jne 0x454c73
mov edx, esi
mov eax, dword [edx + 4]
push eax
push str.Out_of_memory.__The_current_thread_will_exit.
mov ecx, 0x4c3168
call fcn.0042d6d0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, eax
jmp 0x454be0
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [edx], ebx
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 0x10]
jge 0x454e07
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, eax
shl ecx, 4
mov edx, 1
sub edx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov edi, edi
mov edi, dword [ebx + 0xc]
add edi, ecx
cmp word [edi + 4], 0
je 0x454cc9
mov eax, dword [edi]
mov dword [eax + 0xc], 0
mov byte [eax + 0x17], 1
test esi, esi
je 0x454d8a
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jne 0x454d39
mov edi, dword [edi]
lea eax, [esp + 0x38]
call fcn.0046d770
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0x10
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x18]
jge 0x454dd7
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
cmp eax, 4
jne 0x454dd7
mov dword [esp + 0x3c], 0
jmp 0x454dd7
mov ecx, dword [esi + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov eax, dword [esi + 0x1c]
lea ebx, [esp + 0x2c]
push ebx
dec ecx
push ecx
push edx
push esi
call fcn.00466980
test eax, eax
je 0x454d87
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
cmp eax, 4
jne 0x454d77
mov dword [esp + 0x4c], 0
mov edi, dword [edi]
lea eax, [esp + 0x48]
call fcn.0046d770
mov ebx, dword [ebp + 8]
jmp 0x454dd7
mov ebx, dword [ebp + 8]
movzx eax, word [edi + 6]
dec eax
je 0x454dc6
dec eax
je 0x454db3
dec eax
jne 0x454df3
fld qword [edi + 8]
push 0x28
fstp qword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [edi]
push ecx
call fcn.004010e0
jmp 0x454dd7
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
push 0x18
push edx
push eax
mov eax, dword [edi]
call fcn.004010e0
jmp 0x454dd7
mov ecx, dword [edi + 8]
push 1
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi]
call fcn.0046dd60
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], 0x10
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 0x10]
jge 0x454e07
mov ecx, dword [esp + 0x24]
jmp 0x454cb0
mov edx, dword [ebp + 0x10]
mov dword [edx], 1
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
jle 0x454e76
xor ebx, ebx
mov edi, ebx
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 8]
cmp edx, 7
jge 0x454df3
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
cmp word [ecx + ebx + 4], 0
je 0x454e53
mov ecx, dword [ecx + ebx]
cmp edx, 3
je 0x454ed6
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x17], 1
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov edi, dword [ebx + ecx]
call fcn.0046d770
mov edi, dword [esp + 0x10]
inc edi
add ebx, 0x10
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x18]
jl 0x454e20
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x32], 0
je 0x454f6c
xor ebx, ebx
cmp esi, ebx
je 0x454efd
mov eax, dword [esp + 0x14]
push esi
call fcn.00464890
mov edi, eax
cmp edi, ebx
je 0x454f6c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp + 0x1c]
jle 0x454f30
sub eax, dword [ebp + 0x1c]
xor ecx, ecx
mov ebx, eax
cmp dword [edi + 0x18], ecx
jle 0x454f30
xor edx, edx
jmp 0x454ec0
mov eax, dword [edi + 0xc]
sub dword [eax + edx + 8], ebx
lea eax, [eax + edx + 8]
inc ecx
add edx, 0x10
cmp ecx, dword [edi + 0x18]
jl 0x454ec0
jmp 0x454f30
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x454ee9
mov edi, edi
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 0
je 0x454ee0
cmp eax, ecx
je 0x454e65
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x17], 0
jmp 0x454e65
push 0x20
call fcn.0048830e
add esp, 4
cmp eax, ebx
je 0x454f2c
mov dword [eax + 4], 1
mov dword [eax], vtable.Object.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
jmp 0x454f2e
xor eax, eax
mov edi, eax
test edi, edi
je 0x454f6c
mov ecx, dword [ebp + 0x1c]
cmp dword [esp + 0x10], ecx
jge 0x454f58
mov edx, dword [ebp + 0x18]
mov eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
push eax
lea eax, [edx + ecx*4]
push eax
push 1
push 0
mov esi, edi
call fcn.00465410
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
add ecx, ecx
mov eax, dword [edx + ecx*8]
push edi
call fcn.00412680
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x454f80
mov dword [ecx + 8], 0
mov dword [ecx], 0x4a596c
mov eax, dword [0x4bd41c]
mov esi, dword [ebp + 8]
mov edi, dword [eax + 0xb4]
push 0
push ecx
mov dword [eax + 0xb4], esi
mov ecx, dword [esi + 8]
inc dword [esi + 0x2c]
push 2
call fcn.004253a0
dec dword [esi + 0x2c]
mov ecx, dword [0x4bd41c]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xb4], edi
mov dword [edx], eax
cmp eax, 8
je 0x454fcf
test eax, eax
je 0x454fcf
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x1c