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

Disassembly:
push 0xffffffffffffffff
push 0x4822b8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a6554]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6554]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0xac]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
call fcn.00410030
push eax
mov dword [esp + 0x8c], 0
call fcn.004170a0
mov dword [esp + 0x8c], 0xffffffff
mov ebp, dword [esp + 0x40]
add esp, 4
test ebp, ebp
mov ebx, eax
mov dword [esp + 0x38], ebx
je 0x415f58
push 0
lea ecx, [esp + 0x24]
call fcn.00445d8b
mov eax, dword [ebp + 4]
test eax, eax
jbe 0x415f36
cmp eax, 0xffffffff
jae 0x415f36
add eax, 0xffffffff
mov dword [ebp + 4], eax
mov esi, dword [ebp + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, ebp
call fcn.00445dac
test esi, esi
je 0x415f58
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x60]
push eax
mov ecx, ebx
call fcn.00416f00
mov esi, 1
mov dword [esp + 0x88], esi
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
xor ecx, ecx
mov byte [esp + 0x20], al
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ecx
mov byte [esp + 0x48], cl
mov byte [esp + 0x88], 2
mov al, byte [edi]
cmp al, 0x2b
je 0x415fa5
cmp al, 0x2d
mov dword [esp + 0x28], ecx
jne 0x415fa9
mov dword [esp + 0x28], esi
call fcn.0044856d
mov ecx, dword [eax]
mov ebx, dword [esp + 0xbc]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0
call fcn.004485a0
add esp, 0xc
mov esi, eax
movsx eax, byte [esp + 0x18]
push ebx
push eax
push edi
call fcn.004485a0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x415ff2
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x78]
cmp ecx, 0x10
mov edx, dword [esp + 0x64]
mov eax, edx
jae 0x416005
lea eax, [esp + 0x64]
cmp byte [eax], 0x7f
je 0x41615d
cmp ecx, 0x10
mov eax, edx
jae 0x416019
lea eax, [esp + 0x64]
cmp byte [eax], 0
jle 0x41615d
push ebx
push edi
lea ecx, [esp + 0x4c]
call fcn.004112e0
test esi, esi
jne 0x41604d
mov ecx, dword [esp + 0xb8]
push 0x30
push ecx
lea ecx, [esp + 0x4c]
call fcn.004046b0
mov ebx, dword [esp + 0xb0]
jmp 0x416085
test ebp, ebp
jne 0x416068
mov edx, dword [esp + 0xb0]
push 0x30
push edx
lea ecx, [esp + 0x4c]
call fcn.004046b0
xor ebx, ebx
jmp 0x41606f
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x50]
call fcn.00416ca0
test ebp, ebp
push 0x30
jne 0x416097
push ebx
lea ecx, [esp + 0x4c]
call fcn.004046b0
jmp 0x4160c8
mov ecx, dword [esp + 0xb8]
mov esi, ebp
sub esi, edi
push ecx
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x50]
call fcn.00416ca0
push 0x30
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.00416ca0
mov dword [esp + 0xb4], 0
mov edi, dword [esp + 0x64]
mov ebx, 0x10
cmp dword [esp + 0x78], ebx
mov dword [esp + 0xb0], 0
jae 0x4160e6
lea edi, [esp + 0x64]
cmp dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x48]
jae 0x4160f4
lea eax, [esp + 0x48]
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00448650
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x416140
lea ebx, [ebx]
test al, al
jle 0x416140
mov edx, esi
sub edx, dword [esp + 0x28]
movsx eax, al
cmp eax, edx
jae 0x416140
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x50]
call fcn.00416ca0
cmp byte [edi + 1], 0
jle 0x41613a
add edi, 1
mov al, byte [edi]
cmp al, 0x7f
jne 0x416110
cmp dword [esp + 0x5c], ebx
mov edi, dword [esp + 0x48]
jae 0x41614e
lea edi, [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xb8], 0
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x24]
add eax, ecx
add eax, dword [esp + 0xb8]
mov ecx, dword [edx + 0x18]
add eax, ebx
test ecx, ecx
jle 0x41618d
cmp ecx, eax
jbe 0x41618d
sub ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x416195
mov dword [esp + 0x1c], 0
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x90]
and eax, 0x1c0
cmp eax, 0x40
je 0x416282
cmp eax, 0x100
je 0x4161c3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa8]
push edx
push eax
jmp 0x41622d
cmp dword [esp + 0x28], 0
jbe 0x416220
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
push 1
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], edx
lea edx, [esp + 0x40]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.00416da0
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb8], edx
mov eax, dword [eax + 8]
add esp, 0x1c
add edi, 1
mov dword [esp + 0xa0], eax
sub ebx, 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa8]
push ecx
push edx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], edx
lea edx, [esp + 0x40]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.00416a80
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0xbc], eax
add esp, 0x1c
movsx ecx, byte [esp + 0x18]
push ebx
push ecx
push edi
call fcn.004485a0
add esp, 0xc
test eax, eax
je 0x4163f3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
sub eax, edi
add eax, 1
push edx
mov edx, dword [esp + 0xa0]
mov ebp, eax
lea eax, [ebp - 1]
push eax
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 4], edx
lea edx, [esp + 0x44]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.00416e20
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0xd0]
mov ecx, dword [eax + 8]
add esp, 0x20
push edx
mov dword [esp + 0xa4], ecx
mov edx, dword [eax]
push 0x30
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00416a80
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xbc], edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esp, 0x1c
call edx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x38]
push 1
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], edx
lea edx, [esp + 0x40]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.00416a80
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 4]
add esp, 0x1c
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0xb4]
mov ecx, dword [eax + 8]
push edx
push 0x30
sub esp, 0xc
mov dword [esp + 0xb4], ecx
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00416a80
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 8]
add esp, 0x1c
add edi, ebp
mov dword [esp + 0xa0], edx
sub ebx, ebp
push ebx
push 0x65
push edi
call fcn.004485a0
add esp, 0xc
test eax, eax
je 0x416515
mov edx, dword [esp + 0x98]
sub eax, edi
add eax, 1
mov ebp, eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [ebp - 1]
push ecx
mov ecx, dword [esp + 0xa4]
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00416e20
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0xd8]
mov ecx, dword [eax + 8]
add esp, 0x20
push edx
mov dword [esp + 0xa4], ecx
mov edx, dword [eax]
push 0x30
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00416a80
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [eax + 8]
add esp, 0x1c
test byte [ecx + 0x10], 4
mov dword [esp + 0xa0], edx
mov dword [esp + 0xb8], 0
mov ecx, 0x48ff9c
jne 0x4164ce
mov ecx, 0x48ffa0
mov edx, dword [eax]
push 1
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00416da0
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 8]
add esp, 0x1c
add edi, ebp
mov dword [esp + 0xa0], edx
sub ebx, ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
push eax
push ebx
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 4], edx
lea edx, [esp + 0x44]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.00416e20
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0xd8]
mov ecx, dword [eax + 8]
add esp, 0x20
push edx
mov dword [esp + 0xa4], ecx
mov edx, dword [eax]
push 0x30
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.00416a80
mov edx, dword [eax]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xb4], edx
mov edi, dword [eax + 4]
mov dword [esp + 0xb8], edi
mov eax, dword [eax + 8]
add esp, 0x1c
xor ebx, ebx
mov dword [ecx + 0x18], ebx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xac]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x54]
push edi
push esi
mov dword [esp + 0xbc], eax
mov dword [ecx + 8], eax
call fcn.00416a80
mov esi, 0x10
add esp, 0x1c
cmp dword [esp + 0x5c], esi
jb 0x4165fc
mov edx, dword [esp + 0x48]
push edx
call fcn.00446c0b
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
jb 0x416620
mov eax, dword [esp + 0x64]
push eax
call fcn.00446c0b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00447fc5
add esp, 0x78
ret