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

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
sub esp, 0x4c
cmp byte [eax + 0x124], 0
mov dword [esp + 0x20], edx
mov edx, dword [eax]
je 0x4ac9f0
mov ebx, dword [eax + 0x128]
test ebx, ebx
mov eax, 0x99
je 0x4ac9e4
mov eax, dword [ebp + 0x74]
mov dword [ebx], edx
lea edi, [ebx + 0xf4]
mov dword [ebx + 4], ebp
lea esi, [ebp + 0x48]
mov dword [ebx + 0x18c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebx + 0x190], eax
mov eax, dword [ebp + 0x80]
mov dword [ebx + 0x198], eax
mov eax, dword [ebp + 0x84]
mov dword [ebx + 0x19c], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebx + 0x194], eax
mov eax, dword [ebp + 0x88]
mov dword [ebx + 0x1a0], eax
mov eax, 0xa
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0xd8]
lea esi, [ebp + 0x2c]
mov eax, ecx
mov cl, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x8c]
mov esi, dword [ebp + 0x94]
mov edi, dword [ebp + 0x98]
mov dword [ebx + 0x1a4], ecx
mov ecx, dword [ebp + 0x90]
mov dword [ebx + 0x1bc], esi
mov dword [ebx + 0x1c0], edi
mov esi, dword [ebp + 0x9c]
mov edi, dword [ebp + 0xa0]
mov dword [ebx + 0x1a8], ecx
mov ecx, 0x11
mov dword [ebx + 0x1c4], esi
mov dword [ebx + 0x1c8], edi
mov esi, dword [ebp + 0xa4]
mov edi, dword [ebp + 0xa8]
mov dword [ebx + 0x1cc], esi
mov dword [ebx + 0x1d0], edi
lea esi, [ebp + 0xac]
lea edi, [ebx + 0x11c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0xb4]
lea esi, [ebp + 0x100]
mov ecx, dword [ebp + 0xf0]
mov dword [ebx + 0x17c], ecx
mov ecx, dword [ebp + 0xf4]
mov dword [ebx + 0x180], ecx
movzx ecx, word [ebp + 0xf8]
mov word [ebx + 0x1d4], cx
mov ecx, dword [ebp + 0xfc]
mov dword [ebx + 0x1d8], ecx
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x24]
mov edi, esi
mov dword [esp + 0x24], esi
mov cl, 9
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x48]
mov eax, dword [ebx + 8]
mov cl, 9
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x6c]
mov esi, dword [esp + 0x24]
mov cl, 9
rep movsd dword es:[edi], dword [esi]
movzx edi, word [edx + 0x11c]
mov esi, dword [ebx + 0x14]
add edi, 0x20
cmp esi, edi
jb 0x4ac6f0
mov edi, esi
jmp 0x4ac73f
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 0x10], ecx
lea ecx, [edi*4]
mov dword [esp + 0xc], ecx
lea ecx, [esi*4]
mov dword [esp + 8], ecx
call sym._ft_mem_realloc
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4aca00
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x14], edi
movzx edi, word [edx + 0x11e]
mov esi, dword [ebx + 0x184]
cmp esi, edi
jb 0x4aca05
xor eax, eax
xor ecx, ecx
and esi, 0xffff
mov word [ebx + 0x98], ax
mov eax, dword [ebx + 0x90]
mov word [ebx + 0x9a], cx
mov edi, dword [ebx + 0xa4]
mov ecx, dword [ebx + 0xac]
mov dword [ebx + 0x184], esi
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x94]
mov esi, dword [ebx + 0xa8]
mov dword [ebx + 0x5c], edi
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x98]
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0xb0]
mov dword [esp + 0x24], eax
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x94]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x98]
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x84], esi
mov eax, dword [esp + 0x24]
mov byte [ebx + 0x1e8], 0
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x8c], eax
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x1ac], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x94]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x98]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x44], eax
movzx eax, byte [esp + 0x20]
mov byte [ebx + 0x231], al
mov eax, dword [edx + 0x27c]
mov ecx, dword [edx + 0x280]
mov dword [ebx + 0x1cc], 0
mov dword [ebx + 0x1d0], 0
test eax, eax
mov dword [ebx + 0x1c8], eax
mov dword [ebx + 0x1c4], ecx
je 0x4ac8d0
mov dword [ebx + 0x164], ecx
mov dword [ebx + 0x16c], eax
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x160], 2
cmp byte [ebp + 0x124], 0
je 0x4aca50
xor eax, eax
mov esi, 0x4000
xor edi, edi
mov edx, 0x4000
xor ecx, ecx
mov dword [ebp + 0x130], eax
mov word [ebx + 0x122], si
mov word [ebx + 0x124], di
mov word [ebx + 0x126], dx
mov esi, 0x4000
mov word [ebx + 0x128], cx
xor edi, edi
xor edx, edx
xor ecx, ecx
mov word [ebx + 0x12a], si
mov word [ebx + 0x12c], di
mov word [ebx + 0x11c], dx
mov word [ebx + 0x11e], cx
xor esi, esi
mov edi, 1
mov edx, 1
mov ecx, 1
mov word [ebx + 0x120], si
mov word [ebx + 0x158], di
mov word [ebx + 0x15a], dx
mov word [ebx + 0x15c], cx
mov ecx, 0x11
mov dword [ebx + 0x130], 1
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x18c]
mov esi, dword [ebx + 0x1bc]
mov edi, dword [ebx + 0x1c0]
mov dword [ebp + 0x74], edx
mov edx, dword [ebx + 0x198]
mov dword [ebp + 0x80], edx
mov edx, dword [ebx + 0x1a4]
mov dword [ebp + 0x8c], edx
mov edx, dword [ebx + 0x1a8]
mov dword [ebp + 0x94], esi
mov dword [ebp + 0x98], edi
mov esi, dword [ebx + 0x1c4]
mov edi, dword [ebx + 0x1c8]
mov dword [ebp + 0x90], edx
mov dword [ebp + 0x9c], esi
mov dword [ebp + 0xa0], edi
mov ecx, dword [ebx + 0x1cc]
mov ebx, dword [ebx + 0x1d0]
mov dword [ebp + 0xa4], ecx
mov dword [ebp + 0xa8], ebx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edx + 0x60]
mov ebx, dword [eax + 0x1c]
jmp 0x4ac582
mov dword [ebx + 0x14], esi
jmp 0x4ac9e4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x188]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 0x10], ecx
call sym._ft_mem_realloc
mov dword [ebx + 0x188], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4aca60
mov esi, edi
mov edx, dword [esp + 0x24]
jmp 0x4ac757
mov dword [esp], ebx
call dword [edx + 0x28c]
jmp 0x4ac8d2
mov dword [ebx + 0x184], esi
jmp 0x4ac9e4