Function at 0x436360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x5c
movzx ebp, word [esi + 0x8a]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x40], eax
movzx eax, word [esi + 0x88]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [esp + 0x78]
cmp ebp, eax
mov dword [esp + 0x38], edx
mov byte [esp + 0x4f], cl
jge 0x436500
lea ebx, [ebp + ebp*2]
mov ecx, dword [esp + 0x74]
shl ebx, 4
mov edi, ebx
add edi, dword [esi + 0x84]
mov edx, dword [edi + 4]
add ecx, edx
cmp dword [edi + 8], ecx
jae 0x436410
mov eax, dword [esp + 0x74]
not eax
cmp edx, eax
ja 0x43658d
mov dword [esp + 4], ecx
mov eax, dword [edi]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, ebx
add edx, dword [esi + 0x84]
mov dword [edi], eax
mov eax, dword [edx]
test eax, eax
je 0x4365b3
mov eax, dword [esp + 0x74]
add eax, dword [edx + 4]
mov dword [edx + 8], eax
mov edx, ebx
mov ecx, dword [esp + 0x74]
add edx, dword [esi + 0x84]
mov eax, dword [edx + 4]
add eax, dword [edx]
mov edx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov eax, ebx
mov ecx, dword [esp + 0x74]
add eax, dword [esi + 0x84]
movzx edx, byte [esp + 0x4f]
add dword [eax + 4], ecx
mov eax, dword [esi + 0x84]
mov byte [ebx + eax + 0xc], dl
mov edx, dword [esp + 0x50]
mov dword [ebx + eax + 0x28], 0
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x84]
mov dword [ebx + eax + 0x20], edx
mov edx, dword [esp + 0x40]
mov dword [ebx + eax + 0x24], ecx
mov ecx, dword [esp + 0x44]
mov dword [ebx + eax + 0x18], edx
mov edx, dword [esp + 0x38]
mov dword [ebx + eax + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + eax + 0x10], edx
mov dword [ebx + eax + 0x14], ecx
movzx eax, word [esi + 0x8a]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
add eax, 1
mov word [esi + 0x8a], ax
movzx eax, ax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], 0xaff478
mov dword [esp + 4], 7
mov dword [esp], 0x27
mov dword [esp + 0xc], ecx
call fcn.00405fb0
add esp, 0x5c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [eax + eax*2 + 3]
shl eax, 4
mov dword [esp + 4], eax
mov eax, dword [esi + 0x84]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
mov dword [esi + 0x84], eax
je 0x4365d9
movzx ebx, word [esi + 0x88]
lea ebx, [ebx + ebx*2]
shl ebx, 4
mov dword [ebx + eax + 4], 0
mov dword [ebx + eax + 8], 0
mov dword [ebx + eax + 0x28], 0
mov eax, dword [esp + 0x74]
add ebx, dword [esi + 0x84]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebx], eax
movzx eax, word [esi + 0x88]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [esi + 0x84]
mov edx, dword [eax]
test edx, edx
je 0x4365b3
mov edx, dword [esp + 0x74]
add word [esi + 0x88], 1
mov dword [eax + 8], edx
jmp 0x4363b9
mov dword [esp + 8], 0xaff43c
mov ebp, 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0x27
call fcn.00405fb0
jmp 0x4364f5
mov dword [esp + 8], 0xaff40c
mov ebp, 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0x27
call fcn.00405fb0
jmp 0x4364f5
mov dword [esp + 8], 0xaff3e0
mov ebp, 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0x27
call fcn.00405fb0
jmp 0x4364f5