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

Disassembly:
push ebp
mov eax, 0
push edi
push esi
push ebx
sub esp, 0xc
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ebp, dword [ebx + 0x419c]
mov edi, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x4188]
cmp ebp, 2
mov dword [esp], ebp
mov dword [esp + 4], ecx
sete dl
movzx ebp, dl
mov edx, dword [esp + 0x24]
test ebp, ebp
cmovne eax, edi
mov ecx, eax
mov dword [esp + 8], eax
add ecx, dword [edx]
mov edx, dword [esp + 8]
mov dword [ebx + 0x150], ecx
mov ecx, dword [esp + 0x24]
sar edx, 1
mov eax, dword [ecx + 4]
add eax, edx
mov dword [ebx + 0x154], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 8]
add eax, edx
mov dword [ebx + 0x158], eax
add ecx, dword [esi]
mov dword [ebx + 0x78], ecx
mov eax, dword [esi + 4]
add eax, edx
mov dword [ebx + 0x7c], eax
mov eax, dword [esp + 8]
mov ecx, dword [esi + 8]
add ecx, edx
mov dword [ebx + 0x80], ecx
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx]
mov dword [ebx + 0x40], eax
mov eax, dword [ecx + 4]
add eax, edx
mov dword [ebx + 0x44], eax
add edx, dword [ecx + 8]
cmp dword [esp], 3
mov dword [ebx + 0x48], edx
je 0x5ac1ac
cmp ebp, 1
lea eax, [ebp + ebp]
sbb ecx, ecx
add eax, ebp
lea eax, [ebx + eax*4]
or ecx, 1
test ebp, ebp
lea edx, [eax + 0x78]
mov dword [ebx + 0x164], ecx
lea ecx, [ebx + 0x84]
mov dword [ebx + 0x90], edx
lea edx, [ebx + 0x78]
cmove edx, ecx
add eax, 0x40
lea ecx, [ebx + 0x40]
test ebp, ebp
mov dword [ebx + 0x94], edx
lea edx, [ebx + 0x4c]
cmove ecx, edx
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x41b4]
mov dword [ebx + 0x5c], ecx
mov ecx, edi
sub ecx, dword [esp + 8]
test eax, eax
jne 0x5ac23d
mov ebp, dword [esi]
add edi, edi
sar dword [esp + 4], 1
add ebp, ecx
mov dword [ebx + 0x84], ebp
mov ebp, ecx
mov eax, dword [esi + 4]
sar ebp, 1
add eax, ebp
mov dword [ebx + 0x88], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 8]
add edx, ebp
mov dword [ebx + 0x8c], edx
add ecx, dword [eax]
mov dword [ebx + 0x4c], ecx
mov edx, dword [eax + 4]
add edx, ebp
mov dword [ebx + 0x50], edx
add ebp, dword [eax + 8]
mov dword [ebx + 0x54], ebp
mov esi, edi
mov eax, edi
mov ecx, 2
sar esi, 1
shl eax, 4
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 0x4190]
mov dword [ebx + 0x24], eax
sub ecx, esi
mov edi, dword [ebx + 0x4184]
sar eax, cl
lea ebp, [edi + edi - 0x20]
mov ecx, dword [esp + 4]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 4]
mov edi, dword [ebx + 0x41b8]
add eax, eax
sub ecx, 0x10
mov dword [ebx + 0x30], ebp
lea edx, [eax - 0x20]
sub eax, 0x10
test edi, edi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
je 0x5ac24e
mov dword [ebx + 0xb0], 0x59f707
mov dword [ebx + 0xb4], 0x5a62ab
mov dword [ebx + 0xb8], 0x59d957
mov dword [ebx + 0xbc], 0x5a62ab
mov dword [ebx + 0xc0], 0x59f599
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebx + 0x4194], 3
cmovne esi, dword [esp + 0x24]
jmp 0x5ac16b
cmp dword [esp], 3
je 0x5ac2c8
test esi, esi
je 0x5ac29b
sub esi, 1
je 0x5ac32b
mov dword [ebx + 0xb0], 0x5a4f2d
mov dword [ebx + 0xb4], 0x5a4ff2
mov dword [ebx + 0xb8], 0x5a5454
mov dword [ebx + 0xbc], 0x5a5d03
mov dword [ebx + 0xc0], 0x5a4e08
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0xb0], 0x59f707
mov dword [ebx + 0xb4], 0x59f7e3
mov dword [ebx + 0xb8], 0x59fce1
mov dword [ebx + 0xbc], 0x5a0638
jmp 0x5ac22b
test esi, esi
jne 0x5ac2f9
mov dword [ebx + 0xb0], 0x59f707
mov dword [ebx + 0xb4], 0x59e355
mov dword [ebx + 0xb8], 0x59de64
mov dword [ebx + 0xbc], 0x59ecac
jmp 0x5ac22b
sub esi, 1
je 0x5ac362
mov dword [ebx + 0xb0], 0x5a4f2d
mov dword [ebx + 0xb4], 0x5a3d8f
mov dword [ebx + 0xb8], 0x5a3937
mov dword [ebx + 0xbc], 0x5a4650
jmp 0x5ac289
mov dword [ebx + 0xb0], 0x5a2472
mov dword [ebx + 0xb4], 0x5a253d
mov dword [ebx + 0xb8], 0x5a29d3
mov dword [ebx + 0xbc], 0x5a32f9
mov dword [ebx + 0xc0], 0x5a231e
jmp 0x5ac235
mov dword [ebx + 0xb0], 0x5a2472
mov dword [ebx + 0xb4], 0x5a112c
mov dword [ebx + 0xb8], 0x5a0ca0
mov dword [ebx + 0xbc], 0x5a1a79
jmp 0x5ac353