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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x405c
call fcn.00459eb0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
jne 0x43fdc2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x270], 1
jne 0x43fdd4
mov edi, 1
mov dword [esp + 0x34], edi
lea eax, [ebx + 0x120]
push 0x4698e4
push eax
call fcn.00459902
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x28], esi
jne 0x43fe3e
mov eax, dword [ebx + 0x254]
test eax, eax
je 0x43fe21
fld dword [0x47b67c]
fld dword [ebx + 0x250]
fucompp
fnstsw ax
test ah, 0x44
jp 0x43fe21
test edi, edi
jne 0x43fe21
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x254], 1
mov dword [ebx + 0x250], 0xc479c000
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
push 2
push ecx
push esi
mov dword [esp + 0x70], ecx
call fcn.0045985d
push esi
call fcn.0045978d
mov ebx, eax
add esp, 0x10
cmp ebx, 0x3fff
jl 0x43fe8c
sub ebx, 0x3fff
jmp 0x43fe8e
xor ebx, ebx
push 0
push ebx
push esi
call fcn.0045985d
push esi
push 0x3fff
lea edx, [esp + 0x7c]
xor eax, eax
push 1
mov ecx, 0x1000
lea edi, [esp + 0x80]
push edx
rep stosd dword es:[edi], eax
call fcn.00459489
add esp, 0x1c
cmp eax, 0x3fff
jg 0x43fec8
mov byte [esp + eax + 0x68], 0
cmp eax, 0x19
jae 0x43fee2
push esi
call fcn.00459521
mov eax, 0xfffffffd
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], 4
mov dword [esp + 0x18], 0xffffffff
lea eax, [esp + 0x68]
push 0xa
push eax
call fcn.0045a180
add esp, 8
mov edi, eax
test edi, edi
jne 0x43ffa6
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4401d3
lea edi, [esp + 0x68]
mov dword [esp + 0x20], 1
lea esi, [esp + 0x38]
mov eax, edi
call fcn.0043f700
test eax, eax
jne 0x440055
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov eax, dword [esp + 0x38]
jne 0x43ff48
mov ecx, eax
mov dword [esp + 0x30], ecx
sub ecx, eax
cmp ecx, dword [ebp + 0xc]
jg 0x4401d3
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push edi
push ecx
mov dword [esp + 0x40], 0
call fcn.0043f8c0
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x43ffaf
cmp esi, 2
je 0x43ffaf
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x43ffaf
mov cl, byte [esp + 0x40]
test cl, cl
jne 0x43ffb1
push 0x27
push eax
lea edx, [esp + 0x48]
push edx
call fcn.00458f80
add esp, 0xc
jmp 0x43ffb1
mov byte [edi], 0
inc edi
jmp 0x43ff23
xor edi, edi
cmp esi, 3
je 0x44011a
cmp esi, 2
je 0x440127
cmp esi, edi
jne 0x440035
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x26c]
add eax, 0xfffffffe
cmp eax, 5
ja case.0x43ffd8.3
jmp dword [eax*4 + 0x440244]
cmp dword [esp + 0x10], edi
jne 0x43fff4
fld dword [esp + 0x1c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x440004
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
jmp 0x44004c
cmp dword [esp + 0x10], edi
jne 0x44001f
fld dword [esp + 0x1c]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x44002f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
jmp 0x44004c
cmp esi, 1
jne 0x44004c
cmp dword [esp + 0x10], edi
je 0x44004c
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
cmp dword [ebp + 0xc], edi
je 0x4401d3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43fef2
test ebx, ebx
jle 0x4400fa
lea eax, [esp + 0x68]
mov edi, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440072
sub eax, edx
add ebx, eax
mov esi, 0x3fff
cmp ebx, esi
jge 0x4400e0
mov esi, ebx
xor ebx, ebx
mov ecx, dword [esp + 0x28]
push 0
push ebx
push ecx
call fcn.0045985d
mov edx, dword [esp + 0x34]
push edx
xor eax, eax
mov ecx, 0x1000
lea edi, [esp + 0x78]
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x7c]
push 1
push eax
call fcn.00459489
add esp, 0x1c
cmp eax, esi
jg 0x4400c2
mov byte [esp + eax + 0x68], 0
cmp eax, 0x19
jbe 0x4400fa
lea ecx, [esp + 0x68]
push 0xa
push ecx
call fcn.0045a180
mov dword [esp + 0x28], 0
jmp 0x43fefe
sub ebx, 0x3fff
cmp ebx, edi
jl 0x44008a
cmp edi, 0x3fff
jl 0x440088
lea ebx, [edi - 0x3fff]
jmp 0x44008a
xor edi, edi
jmp 0x43ff03
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jmp 0x4401d3
mov dword [esp + 0x10], 3
jmp 0x4401d3
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4401d3
cmp eax, 1
je 0x4401d3
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x258]
test eax, eax
jle 0x4401cf
mov eax, dword [edi + 0x260]
test eax, eax
je 0x4401cf
fld dword [0x47b678]
fld dword [edi + 0x250]
fucompp
fnstsw ax
test ah, 0x44
jp 0x440174
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4401cf
lea ecx, [esp + 0x3c]
push ecx
call fcn.0045a1c9
mov eax, dword [esp + 0x40]
mov ecx, dword [edi + 0x260]
mov ebx, dword [edi + 0x258]
mov edx, eax
sub edx, ecx
add esp, 4
cmp edx, ebx
jle 0x4401cf
mov edx, dword [edi + 0x25c]
test edx, edx
lea ecx, [edi + 0x25c]
je 0x4401b4
sub eax, edx
mov edx, dword [ebp + 0xc]
add ebx, edx
cmp eax, ebx
jle 0x4401cf
push ecx
call fcn.0045a1c9
add esp, 4
mov dword [esp + 0x14], 0xc4798000
mov dword [esp + 0x18], 1
xor esi, esi
mov dword [esp + 0x10], esi
mov al, byte [esp + 0x40]
test al, al
mov edi, dword [ebp + 8]
je 0x440209
lea eax, [esp + 0x40]
lea edx, [edi + 0x228]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4401f0
lea edx, [edi + 0x260]
push edx
call fcn.0045a1c9
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x440216
cmp esi, 1
jne 0x440220
mov eax, dword [esp + 0x18]
mov dword [edi + 0x254], eax
test esi, esi
jne 0x44022e
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x250], ecx
mov edx, dword [esp + 0x28]
push edx
call fcn.00459521
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret