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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, ecx
push edi
xor edx, edx
lea ebx, [ebp - 8]
mov eax, dword [esi]
xor edi, edi
cmp eax, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], edi
mov dword [esi + 0x68], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
je 0x4ad079
mov ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x74]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jne 0x4acc1c
and eax, 0x8000001f
jns 0x4acc07
dec eax
or eax, 0xffffffe0
inc eax
sub eax, dword [esi + 0x18b724]
add eax, dword [esp + 0x2c]
sar eax, 1
and eax, 0xf
mov dword [esp + 0x20], eax
jmp 0x4acc44
and eax, 0x8000001f
jns 0x4acc28
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, dword [esp + 0x2c]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x18b724]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sar eax, 1
and eax, 0xf
mov dword [esp + 0x20], eax
mov eax, dword [0x116fafc]
cmp eax, edx
jne 0x4acc63
mov eax, ebx
mov dword [esp + 0x14], 8
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4accc2
cmp eax, 6
jne 0x4acc7e
mov eax, ebx
mov dword [esp + 0x14], 0x13a18
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4accc2
cmp eax, 4
jne 0x4acc99
mov eax, ebx
mov dword [esp + 0x14], 0x27428
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4accc2
cmp eax, 2
jne 0x4acca6
mov dword [esp + 0x14], 0x3ae38
mov eax, ebx
sub eax, ebp
lea ebp, [ebx + ebx + 8]
mov dword [esp + 0x1c], eax
jmp 0x4accc2
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp dword [0x116fb28], edx
jne 0x4accd2
cmp dword [0x116fb34], edx
je 0x4accdb
cmp eax, 0xfffffff8
jne 0x4ace7a
cmp ecx, edx
jne 0x4acd40
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x18b728]
mov ecx, eax
and ecx, 0x8000000f
jns 0x4accf7
dec ecx
or ecx, 0xfffffff0
inc ecx
sub eax, edx
sub ecx, edx
lea eax, [eax + ebx + 8]
lea ecx, [ecx + ebx - 8]
cdq
and edx, 0xf
and ecx, 0xf
add eax, edx
mov edx, dword [esi + 0x18b724]
mov edi, eax
sar edi, 4
lea eax, [edi + edi*4]
lea ebx, [eax + eax*4]
mov eax, dword [esp + 0x14]
shl ebx, 4
add ebx, eax
mov eax, dword [esp + 0x2c]
sub eax, edx
mov edx, dword [esi + 0x74]
add eax, edx
add ebx, edi
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, ebx
jmp 0x4acda4
mov edi, dword [esi + 0x78]
mov ebx, dword [esi + 0x18b728]
mov ecx, edi
and ecx, 0x8000000f
jns 0x4acd58
dec ecx
or ecx, 0xfffffff0
inc ecx
mov edx, dword [esp + 0x2c]
sub ecx, ebx
add ecx, ebp
lea eax, [edx + edx + 0xa0]
mov edx, dword [esi + 0x18b724]
sub eax, edx
mov edx, dword [esi + 0x74]
add eax, edx
and ecx, 0xf
cdq
and edx, 0x1f
add edx, eax
mov eax, ebp
sub eax, ebx
sar edx, 5
add eax, edi
mov edi, edx
cdq
and edx, 0xf
add edx, eax
sar edx, 4
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
shl eax, 4
add eax, edx
mov edx, dword [esp + 0x14]
add edx, edi
add eax, edx
mov edi, dword [esp + 0x20]
shl ecx, 4
add ecx, edi
mov ecx, dword [ecx*4 + 0x601dac]
cmp ecx, 1
jne 0x4acdc0
add eax, 0xc8
jmp 0x4acdd6
cmp ecx, 2
jne 0x4acdcc
add eax, 0xc9
jmp 0x4acdd6
cmp ecx, 3
jne 0x4acdd6
add eax, 0x191
mov edi, dword [esi + eax*4 + 0x4e5dc]
mov eax, dword [edi*4 + 0xe44eb0]
test al, 0x30
jne 0x4ace74
xor ecx, ecx
mov cl, byte [edi + 0xf6bd70]
test eax, 0x10000000
mov ebx, dword [ecx*4 + 0xce3590]
je 0x4ace17
movsx eax, word [edi*2 + 0xee2700]
push eax
mov ecx, 0x143b720
call fcn.00408e10
add ebx, eax
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x4ace2a
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edx, eax
sub edx, ebx
mov ebx, edx
mov edx, dword [esp + 0x30]
lea ebx, [ebx + edx + 8]
cmp ebx, edx
jle 0x4ace54
mov edx, dword [0x116fb28]
test edx, edx
jne 0x4ace54
mov edx, dword [0x116fb34]
test edx, edx
je 0x4ace58
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x18]
add ebp, 2
inc edx
inc eax
cmp eax, 0xff
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jl 0x4accb4
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esi + 0x6c], edi
cmp word [edi*2 + 0x1030210], dx
je 0x4ace98
test dword [edi*4 + 0xe44eb0], 0x10200
je 0x4acf28
mov ecx, dword [0x116fb04]
movsx eax, word [esi + edi*2 + 0x271bc]
add ecx, 4
and ecx, 0x80000007
jns 0x4aceb6
dec ecx
or ecx, 0xfffffff8
inc ecx
lea eax, [ecx + eax*8]
mov ecx, dword [edi*4 + 0xe44eb0]
mov eax, dword [eax*4 + 0xcdfd50]
add eax, edi
test ecx, 0x40000000
jne 0x4acf28
test ch, 2
je 0x4aceea
mov ecx, dword [eax*4 + 0xe44eb0]
test ch, 1
je 0x4acf28
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x4acf28
test ecx, 0x10000
je 0x4acfdb
movsx ecx, word [eax*2 + 0xee2700]
cmp ecx, edx
je 0x4acf28
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*8]
shl edx, 1
sub edx, ecx
movsx ecx, word [edx*8 + 0x143b7fa]
cmp ecx, 0x2f
je 0x4acf1e
cmp ecx, 0x4a
jne 0x4acf26
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x10]
xor edx, edx
mov eax, dword [edi*4 + 0xe44eb0]
test eax, 0x10000300
je 0x4acf41
test al, 2
jne 0x4acf41
mov dword [esi + 0x68], 1
cmp edi, edx
mov dword [esi + 0x5c], edi
mov dword [esi + 0x40], edx
je 0x4ad067
movsx eax, word [esi + edi*2 + 0x271bc]
mov dword [esi + 0x64], eax
mov ecx, edi
lea eax, [eax + eax*2 + 0x621c9]
sub ecx, dword [esi + eax*4]
mov dword [esi + 0x60], ecx
mov eax, dword [0x116fb2c]
cmp eax, edx
je 0x4acf7b
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
mov edi, edx
mov eax, dword [edi*4 + 0xe44eb0]
push edi
and eax, 0x40000000
mov dword [esi + 0x34], eax
mov ecx, dword [edi*4 + 0xe44eb0]
and ecx, 0x4000
mov dword [esi + 0x3c], ecx
mov ecx, 0xcdfd50
call fcn.004d0fb0
xor ecx, ecx
cmp eax, ecx
jne 0x4acfb1
mov dword [esi + 0x34], ecx
mov dword [esi + 0x3c], ecx
mov edx, dword [esi + 0x34]
shl eax, 4
mov dword [esi + 0x38], edx
movsx eax, byte [eax + 0x111badc]
mov edx, dword [eax*4 + 0xb2df84]
mov eax, dword [0x12b11ac]
cmp edx, dword [eax*4 + 0xb2df84]
jne 0x4ad03f
mov dword [esi + 0x34], ecx
jmp 0x4ad045
test ch, 4
je 0x4ad034
movsx ecx, word [edi*2 + 0xee2700]
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*8]
shl edx, 1
sub edx, ecx
movsx ecx, word [edx*8 + 0x143b7fa]
add ecx, 0xffffffd8
cmp ecx, 0x26
ja case.0x4ad00a.41
xor edx, edx
mov dl, byte [ecx + 0x4ad08c]
jmp dword [edx*4 + 0x4ad084]
test dword [eax*4 + 0xe44eb0], 0x10000000
je 0x4acf26
jmp 0x4acf1e
mov dword [esp + 0x10], 0
jmp 0x4acf22
mov dword [esp + 0x10], edx
mov edi, edx
jmp 0x4acf28
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], ecx
test byte [edi*4 + 0xe44eb0], 8
je 0x4ad079
push edi
mov ecx, 0xcdfd50
call fcn.004d1b40
mov dword [esi + 0x40], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov dword [esi + 0x64], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8