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

Disassembly:
push 0xffffffffffffffff
push 0x462010
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x28], ecx
mov edi, edx
call fcn.00401870
push eax
mov dword [esp + 0x64], 0
call fcn.0040b430
mov ebp, eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
mov dword [esp + 0x20], ebp
je 0x40a19a
push 0
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00459ed5
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x40a178
cmp eax, 0xffffffff
jae 0x40a178
add eax, 0xffffffff
mov dword [ebx + 4], eax
mov esi, dword [ebx + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, ebx
call fcn.00459ef6
test esi, esi
je 0x40a19a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea esi, [esp + 0x38]
mov ecx, ebp
call fcn.0040ac80
mov ecx, 1
mov dword [esp + 0x60], ecx
mov al, byte [edi]
cmp al, 0x2b
je 0x40a1db
cmp al, 0x2d
je 0x40a1db
cmp al, 0x30
jne 0x40a1d1
mov al, byte [edi + 1]
cmp al, 0x78
je 0x40a1c7
cmp al, 0x58
jne 0x40a1d1
mov dword [esp + 0x18], 2
jmp 0x40a1df
mov dword [esp + 0x18], 0
jmp 0x40a1df
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
mov edx, dword [esp + 0x3c]
mov eax, edx
jae 0x40a1f2
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x40a294
cmp ecx, 0x10
mov eax, edx
jae 0x40a206
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x40a294
cmp ecx, 0x10
jb 0x40a21a
mov dword [esp + 0x1c], edx
jmp 0x40a222
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x1c]
mov al, byte [edx]
cmp al, 0x7f
mov ebx, dword [esp + 0x7c]
mov esi, ebx
je 0x40a281
test al, al
jle 0x40a27d
mov ecx, esi
sub ecx, dword [esp + 0x18]
movsx eax, al
cmp eax, ecx
jae 0x40a27d
sub esi, eax
mov edx, ebx
sub edx, esi
lea eax, [edx + 1]
push eax
lea ebp, [edi + esi]
push ebp
push eax
lea eax, [edi + esi + 1]
push eax
call fcn.0043e82d
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov byte [ebp], 0
add ebx, 1
cmp byte [eax + 1], 0
jle 0x40a277
add eax, 1
mov dword [esp + 0x1c], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x40a232
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x40a29a
cmp esi, ebx
jbe 0x40a29a
sub esi, ebx
jmp 0x40a29c
mov ebx, dword [esp + 0x7c]
jmp 0x40a281
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x40a367
cmp eax, 0x100
mov edx, dword [esp + 0x6c]
je 0x40a2f4
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x74]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x3c]
push eax
mov eax, esi
call fcn.0040a420
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
add esp, 0x14
mov dword [esp + 0x6c], ecx
xor esi, esi
jmp 0x40a36f
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x18]
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x3c]
push eax
mov eax, ebp
call fcn.0040ab10
mov ecx, dword [esp + 0x8c]
mov edx, dword [eax]
add esp, 0x14
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 + 0x3c]
sub ebx, ebp
push ecx
mov eax, esi
add edi, ebp
mov dword [esp + 0x90], ebx
call fcn.0040a420
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
add esp, 0x14
mov dword [esp + 0x6c], edx
xor esi, esi
jmp 0x40a36f
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push eax
push ecx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
lea eax, [esp + 0x40]
push eax
mov eax, edi
call fcn.0040ab90
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0x90]
add esp, 0x18
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x78]
mov dword [ecx + 8], eax
push edi
mov eax, esi
call fcn.0040a420
add esp, 0x14
cmp dword [esp + 0x50], 0x10
jb 0x40a3f3
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043e445
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0043e436
add esp, 0x50
ret