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

Disassembly:
mov eax, 0x5806c
call fcn.00457940
mov eax, dword [0x4811e8]
push ebx
push ebp
push esi
mov esi, dword [0x47436c]
push edi
mov dword [esp + 0x58078], eax
call esi
call esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5816c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5817c]
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x2c], 0
jne 0x40ac86
mov edx, dword [esp + 0x58140]
mov eax, dword [esp + 0x58144]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x58158]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5815c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
sub esp, 0xc0
mov ecx, 0x30
mov esi, 0x13a8bb0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004092b0
add esp, 0xd0
mov ecx, dword [esp + 0x58170]
cmp byte [ecx], 0
jne 0x40acab
mov eax, ebx
mov ecx, dword [esp + 0x58078]
call fcn.00457925
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5806c
ret
cmp dword [0xcfe500], ebx
jne 0x40acc5
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x24], 0x40
jmp 0x40acd2
mov eax, 0xff
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x58162]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x40ace6
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x58160]
movzx ebp, ah
test ebp, ebp
jne 0x40acf6
mov ebp, ebx
and eax, 0xff
mov dword [esp + 0x18], eax
jne 0x40ad05
mov dword [esp + 0x18], ebx
movzx ebx, byte [esp + 0x58166]
test ebx, ebx
jne 0x40ad16
mov ebx, 1
mov eax, dword [esp + 0x58164]
movzx esi, ah
test esi, esi
jne 0x40ad29
mov esi, 1
and eax, 0xff
mov edi, eax
jne 0x40ad37
mov edi, 1
lea edx, [esp + 0x34]
push 0xffffffffffffffff
push edx
call fcn.00447580
lea eax, [esp + 0x3c]
push eax
call fcn.004476c0
push ebx
push esi
lea ecx, [esp + 0x3c]
push edi
push ecx
call fcn.00442fe0
mov edx, dword [esp + 0x30]
mov si, word [eax]
mov bl, byte [eax + 2]
mov eax, dword [esp + 0x34]
push edx
push ebp
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00442fe0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x581a4]
add esp, 0x2c
push edx
push ecx
lea edx, [esp + 0x10080]
push edx
lea ecx, [esp + 0x40084]
push ecx
lea edx, [esp + 0x4088]
push edx
lea ecx, [esp + 0x1c08c]
push ecx
lea edx, [esp + 0x30090]
push edx
lea ecx, [esp + 0x18094]
push ecx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0xc09c]
push ecx
lea edx, [esp + 0x340a0]
push edx
mov edx, dword [esp + 0x5819c]
lea ecx, [esp + 0x3e0a4]
push ecx
push edx
push ecx
mov ecx, esp
mov word [ecx], si
push ecx
mov byte [ecx + 2], bl
mov cx, word [eax]
mov al, byte [eax + 2]
mov edx, esp
mov word [edx], cx
mov byte [edx + 2], al
mov edx, dword [esp + 0x5818c]
mov eax, dword [esp + 0x58190]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x581a4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x581a8]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x581b4]
push ecx
call fcn.00409740
mov ebx, eax
mov eax, dword [esp + 0x581bc]
add esp, 0x50
test eax, eax
mov dword [esp + 0x28], ebx
je 0x40b229
cmp dword [esp + 0x58174], 1
je 0x40b229
call fcn.00443090
mov eax, dword [esp + 0x58140]
mov ecx, dword [esp + 0x58144]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x58158]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x5815c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
sub esp, 0xc0
mov ecx, 0x30
mov esi, 0x13a8bb0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004092b0
mov eax, dword [esp + 0xfc]
add esp, 0xd0
inc eax
test eax, eax
jle 0x40aef9
mov edx, eax
xor eax, eax
test ebx, ebx
jle 0x40aef6
jmp 0x40aec0
cmp word [esp + eax*2 + 0x3e078], 0
je 0x40aef6
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + eax*4 + 0xc078]
add edi, ecx
mov ecx, 0xff
mov esi, edi
cmp esi, ecx
mov dword [esp + eax*4 + 0xc078], edi
jle 0x40aef1
mov dword [esp + eax*4 + 0xc078], ecx
inc eax
cmp eax, ebx
jl 0x40aec0
dec edx
jne 0x40aeb2
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x14], ebp
jle 0x40b13c
lea ebx, [esp + 0x3407e]
lea ecx, [esp + 0x3e078]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ecx
lea ecx, [ecx]
cmp word [ecx], 0
je 0x40b138
mov eax, dword [esp + ebp*4 + 0xc078]
test eax, eax
jle 0x40b115
mov edx, dword [esp + ebp*4 + 0x30078]
mov esi, dword [esp + ebp*4 + 0x78]
push eax
mov eax, dword [esp + ebp*4 + 0x1807c]
push ecx
mov ecx, dword [esp + ebp*8 + 0x4084]
push edx
mov edx, dword [esp + ebp*8 + 0x4084]
push eax
push ecx
push edx
add esi, dword [0xcfe4fc]
imul esi, esi, 0x170
sub esp, 0x170
add esi, 0x6e2640
mov edi, esp
mov ecx, 0x5c
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc0
lea eax, [esp + 0x298]
mov edi, esp
mov ecx, 0x30
mov esi, 0x13a8bb0
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004089a0
mov ax, word [ebx]
add esp, 0x24c
test ax, ax
je 0x40b115
movzx eax, ax
dec eax
mov dword [esp + 0x18], 0
je 0x40b003
dec eax
je 0x40afea
dec eax
je 0x40afd6
push 0x475938
call fcn.00408160
add esp, 4
jmp 0x40b01b
movzx ecx, word [ebx + 2]
mov eax, dword [esp + ebp*8 + 0x10078]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x40b017
movzx ecx, word [ebx + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
jmp 0x40b017
mov eax, dword [esp + ebp*8 + 0x10078]
movzx ecx, word [ebx + 2]
cdq
sub eax, edx
shr ecx, 1
sar eax, 1
sub eax, ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x10]
xor ebx, ebx
cmp word [edx], bx
jbe 0x40b111
mov ebp, edx
add ebp, 0xfffffffa
nop
mov eax, dword [0x49a38c]
mov edi, dword [0xcfe4fc]
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + ecx*4 + 0xc078]
push edx
mov edx, dword [esp + ecx*4 + 0x3007c]
sar eax, 1
add eax, edi
imul eax, eax, 0x170
mov esi, dword [eax + 0x6e2214]
push ebp
push edx
mov edx, dword [esp + ecx*4 + 0x18084]
push edx
mov edx, dword [esp + ecx*8 + 0x408c]
sub edx, esi
mov esi, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x38]
add edx, esi
add edx, dword [esp + ecx*8 + 0x408c]
push edx
sub esp, 0x170
lea esi, [eax + 0x6e21f0]
mov edi, esp
mov ecx, 0x5c
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc0
lea eax, [esp + 0x2ac]
mov edi, esp
mov ecx, 0x30
mov esi, 0x13a8bb0
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004089a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x264]
mov dword [esp + 0x288], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x290], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x28c], edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x25c]
add esi, ecx
movzx ecx, word [eax]
add esp, 0x24c
inc ebx
add ebp, 2
cmp ebx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], esi
jl 0x40b030
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc ebp
add ecx, 2
add ebx, 0xa
cmp ebp, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebx
jl 0x40af20
mov ebx, dword [esp + 0x28]
call fcn.004430b0
cmp dword [esp + ebx*4 + 0xc074], 0xff
jge 0x40b229
push 1
call fcn.0042c6d0
add esp, 4
test eax, eax
je 0x40b210
lea edx, [esp + 0x34]
push 0xffffffffffffffff
push edx
call fcn.00447580
add esp, 8
test eax, eax
jne 0x40b229
push eax
call fcn.00447540
add esp, 4
test eax, eax
jne 0x40b229
lea eax, [esp + 0x34]
push eax
call fcn.004476c0
add esp, 4
cmp eax, 1
je 0x40b229
call fcn.00447890
cmp eax, 1
je 0x40b202
call dword [0x47436c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add ecx, edx
cmp ecx, eax
jae 0x40b152
mov esi, dword [0x47436c]
call esi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x5816c]
sub eax, ebp
sub eax, ebx
xor edx, edx
div edi
mov dword [esp + 0x2c], eax
call esi
sub eax, ebp
sub eax, ebx
xor edx, edx
div edi
sub edi, edx
mov dword [esp + 0x1c], edi
call esi
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
jmp 0x40ae54
push 1
call fcn.0042c6d0
add esp, 4
test eax, eax
jne 0x40b229
xor eax, eax
mov ecx, dword [esp + 0x58078]
call fcn.00457925
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5806c
ret
xor eax, eax
test ebx, ebx
jle 0x40b24b
nop
cmp word [esp + eax*2 + 0x3e078], 0
je 0x40b24b
mov dword [esp + eax*4 + 0xc078], 0xff
inc eax
cmp eax, ebx
jl 0x40b230
call fcn.00443090
mov ecx, dword [esp + 0x58140]
mov edx, dword [esp + 0x58144]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58158]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5815c]
mov dword [eax + 8], ecx
sub esp, 0xc0
mov dword [eax + 0xc], edx
mov ecx, 0x30
mov esi, 0x13a8bb0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004092b0
add esp, 0xd0
xor ebp, ebp
test ebx, ebx
jle 0x40b4e0
lea ebx, [esp + 0x3407e]
lea eax, [esp + 0x3e078]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
jmp 0x40b2c1
mov eax, dword [esp + 0x18]
cmp word [eax], 0
je 0x40b4e0
mov ecx, dword [esp + ebp*4 + 0xc078]
mov edx, dword [esp + ebp*4 + 0x30078]
mov esi, dword [esp + ebp*4 + 0x78]
push ecx
mov ecx, dword [esp + ebp*8 + 0x4080]
push eax
mov eax, dword [esp + ebp*4 + 0x18080]
push edx
mov edx, dword [esp + ebp*8 + 0x4084]
push eax
push ecx
push edx
add esi, dword [0xcfe4fc]
imul esi, esi, 0x170
sub esp, 0x170
add esi, 0x6e2640
mov edi, esp
mov ecx, 0x5c
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc0
lea eax, [esp + 0x2ac]
mov edi, esp
mov ecx, 0x30
mov esi, 0x13a8bb0
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004089a0
mov ax, word [ebx]
add esp, 0x24c
test ax, ax
je 0x40b4c1
movzx eax, ax
dec eax
mov dword [esp + 0x1c], 0
je 0x40b39c
dec eax
je 0x40b383
dec eax
je 0x40b36f
push 0x475938
call fcn.00408160
add esp, 4
jmp 0x40b3b4
movzx ecx, word [ebx + 2]
mov eax, dword [esp + ebp*8 + 0x10078]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x40b3b0
movzx ecx, word [ebx + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
jmp 0x40b3b0
mov eax, dword [esp + ebp*8 + 0x10078]
movzx ecx, word [ebx + 2]
cdq
sub eax, edx
shr ecx, 1
sar eax, 1
sub eax, ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
xor ebx, ebx
cmp word [edx], bx
jbe 0x40b4bd
mov eax, edx
add eax, 0xfffffffa
mov dword [esp + 0x14], eax
lea esp, [esp]
mov eax, dword [0x49a38c]
mov ecx, dword [0xcfe4fc]
mov edi, dword [esp + ebp*8 + 0x4078]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, ecx
mov ecx, dword [esp + ebp*4 + 0xc078]
imul eax, eax, 0x170
mov esi, dword [eax + 0x6e2214]
push ecx
mov ecx, dword [esp + ebp*4 + 0x3007c]
push edx
mov edx, dword [esp + ebp*4 + 0x18080]
push ecx
mov ecx, dword [esp + ebp*8 + 0x4088]
push edx
mov edx, dword [esp + 0x30]
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x30]
add edx, ecx
add edx, edi
push edx
sub esp, 0x170
mov edi, esp
lea esi, [eax + 0x6e21f0]
mov ecx, 0x5c
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc0
lea edx, [esp + 0x298]
mov edi, esp
mov ecx, 0x30
mov esi, 0x13a8bb0
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004089a0
mov ecx, dword [eax]
mov esi, dword [esp + 0x268]
mov edx, dword [eax + 4]
mov dword [esp + 0x288], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x290], ecx
mov ecx, dword [eax + 0xc]
add esi, ecx
mov ecx, dword [esp + 0x260]
add ecx, 2
mov dword [esp + 0x28c], edx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x25c]
mov dword [esp + 0x260], ecx
movzx ecx, word [eax]
add esp, 0x24c
inc ebx
cmp ebx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], esi
jl 0x40b3d0
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
inc ebp
add edx, 2
add ebx, 0xa
cmp ebp, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebx
jl 0x40b2bd
call fcn.004430b0
mov ecx, dword [esp + 0x58078]
mov eax, 1
call fcn.00457925
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5806c
ret