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

Disassembly:
push 0xffffffffffffffff
push 0x6165c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
mov esi, ecx
xor ebx, ebx
cmp edi, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
jae 0x4acd0b
xor al, al
jmp 0x4ad0a2
mov ebp, dword [esp + 0x98]
mov al, byte [ebp]
mov cl, al
shr cl, 7
and al, 0x7f
mov byte [esp + 0x12], cl
mov byte [esp + 0x1c], al
jne 0x4acdb4
test cl, cl
je 0x4acdb4
lea eax, [esp + 0x12]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x94], ebx
call fcn.00482bc0
lea ecx, [esp + 0x11]
dec edi
push ecx
inc ebp
push edi
push ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x9c], 2
call fcn.004be390
lea edx, [esp + 0x24]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0x94], 3
call fcn.004bf3f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 1
call fcn.004207d0
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004ad0e0
lea ecx, [esp + 0x30]
mov bl, al
mov dword [esp + 0x90], 0xffffffff
call fcn.00482be0
mov al, bl
jmp 0x4ad0a2
mov ecx, dword [esi + 4]
mov dx, word [esi + 8]
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
push 0x6c3978
push eax
mov ecx, 0x6c3978
mov word [esp + 0x48], dx
mov dword [esp + 0x4c], ebx
call fcn.004c36b0
push eax
lea ecx, [esp + 0x1c]
call fcn.004688a0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x24]
cmp eax, ebx
push ecx
push edx
mov ecx, 0x6c3978
sete byte [esp + 0x19]
call fcn.004c1170
push 0x6c3978
push ebx
lea ecx, [esp + 0x38]
call fcn.004688a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov esi, 4
jne 0x4ace72
lea ecx, [esp + 0x54]
call fcn.004bf1e0
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x98], esi
call fcn.004bfda0
mov ebx, 3
mov dword [esp + 0x14], ebx
push eax
mov ecx, 0x6c3978
mov dword [esp + 0x94], 5
call fcn.004c10a0
mov edi, eax
add edi, 0xc
jmp 0x4ace75
lea edi, [eax + 0x10]
test bl, 2
mov dword [esp + 0x90], esi
je 0x4ace91
and ebx, 0xfffffffd
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], ebx
call fcn.00482be0
test bl, 1
mov dword [esp + 0x90], 0xffffffff
je 0x4aceaa
lea ecx, [esp + 0x58]
call fcn.00482be0
mov al, byte [esp + 0x11]
test al, al
je 0x4aceb6
mov byte [edi + 0x10], 0
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
lea esi, [edi + 4]
sub ecx, edx
mov eax, 0x2aaaaaab
mov ebp, dword [esp + 0x1c]
imul ecx
sar edx, 1
mov ecx, edx
and ebp, 0xff
shr ecx, 0x1f
add edx, ecx
cmp ebp, edx
jb 0x4acf06
mov al, byte [edi + 0x10]
test al, al
je 0x4aceed
xor al, al
jmp 0x4ad0a2
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
call fcn.00403f90
lea edx, [ebp + 1]
mov ecx, esi
push edx
call fcn.004bf520
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
lea eax, [esp + 0x11]
dec ecx
push eax
inc edx
push ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x9c], 6
call fcn.004be390
mov eax, dword [esi]
lea ecx, [ebp + ebp*2]
lea edx, [esp + 0x48]
mov dword [esp + 0x90], 7
lea ecx, [eax + ecx*4]
cmp edx, ecx
je 0x4acf61
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x13]
push eax
mov eax, dword [esp + 0x4c]
push edx
push eax
call fcn.0041cfd0
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], 0xffffffff
call fcn.00402ab0
mov cl, byte [esp + 0x12]
mov al, byte [edi + 0x10]
or al, cl
mov byte [edi + 0x10], al
je 0x4ad0a0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
xor edi, edi
shr eax, 0x1f
add edx, eax
je 0x4acfcd
mov ebp, dword [esi]
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
sub ecx, eax
je 0x4acfcd
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
inc edi
shr eax, 0x1f
add edx, eax
add ebp, 0xc
cmp edi, edx
jb 0x4acfa4
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edi, edx
jne 0x4ad0a0
mov ecx, dword [esp + 0x20]
push esi
call fcn.004ad0e0
mov esi, dword [0x6c3980]
mov edi, dword [0x6c397c]
lea edx, [esp + 0x3c]
sub esi, edi
push edx
mov ecx, 0x6c3978
mov byte [esp + 0x16], al
sar esi, 2
call fcn.004ad0c0
xor edx, edx
div esi
mov eax, dword [0x6c397c]
mov ebx, edx
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x4ad09a
mov esi, dword [edi]
mov ebp, edi
test esi, esi
je 0x4ad06d
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 4]
call fcn.004897a0
test al, al
je 0x4ad065
mov edx, dword [esi]
push esi
mov ecx, 0x6c3978
mov dword [ebp], edx
call fcn.004c22f0
mov eax, dword [0x6c3988]
mov esi, dword [ebp]
dec eax
mov dword [0x6c3988], eax
jmp 0x4ad069
mov ebp, esi
mov esi, dword [esi]
test esi, esi
jne 0x4ad034
lea eax, [esp + 0x3c]
lea ecx, [edi + 4]
push eax
call fcn.004897a0
test al, al
je 0x4ad09a
mov edx, dword [0x6c397c]
mov ecx, dword [edi]
push edi
mov dword [edx + ebx*4], ecx
mov ecx, 0x6c3978
call fcn.004c22f0
dec dword [0x6c3988]
mov al, byte [esp + 0x12]
jmp 0x4ad0a2
mov al, 1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 8