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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521cfc
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x5750c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x40c]
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f05c
mov ebx, eax
mov eax, dword [esi + 0x40c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
mov dword [ebp - 0x20], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0045f05c
mov ecx, dword [esi + 0x40c]
add esp, 8
xor dl, dl
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42e60b
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov dword [ebx + ecx*4], 0xffffffff
inc dl
mov dword [eax + ecx*4], 0
movzx ecx, dl
cmp ecx, dword [esi + 0x40c]
jb 0x42e5ed
mov eax, dword [ebp + 0x14]
mov dword [edi + 8], 0
test eax, eax
je 0x42e6a6
jmp 0x42e623
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x42e632
add eax, 0x100
mov dword [ebp - 0x14], eax
cmp eax, 0x100
jge 0x42e641
mov eax, dword [esi + eax*4 + 4]
test eax, eax
jne 0x42e671
mov eax, dword [esi + 0x404]
xor ecx, ecx
test eax, eax
jle 0x42e68e
mov edx, dword [esi]
mov dword [ebp - 0x1c], edx
movzx esi, word [edx]
cmp esi, dword [ebp - 0x14]
je 0x42e664
inc ecx
add edx, 0x24
cmp ecx, eax
jl 0x42e652
jmp 0x42e68e
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx + ecx*8]
lea eax, [edx + ecx*4]
test eax, eax
je 0x42e68e
movzx ecx, byte [eax + 0x20]
add ecx, ecx
add ecx, ecx
cmp dword [ecx + ebx], 0xffffffff
jne 0x42e688
mov eax, dword [edi + 8]
mov dword [ecx + ebx], eax
inc dword [edi + 8]
mov eax, dword [ebp - 0x18]
inc dword [ecx + eax]
mov eax, 1
lea esi, [ebp + 0xc]
call fcn.00421560
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x42e620
mov esi, dword [edi + 8]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0045f05c
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42e6fe
push fcn.0040de20
push 0x404250
push esi
mov dword [eax], esi
add eax, 4
push 4
push eax
mov dword [ebp - 0x1c], eax
call fcn.0045f2ca
mov eax, dword [ebp - 0x1c]
jmp 0x42e700
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f05c
mov dword [edi + 0x10], eax
mov eax, dword [edi + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f05c
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x14], ecx
cmp dword [eax + 0x40c], ecx
jbe 0x42e856
mov edx, dword [ebp - 0x18]
sub edx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
cmp edx, 0xffffffff
je 0x42e842
mov esi, dword [edi + 4]
mov eax, dword [eax + 0x408]
lea edx, [esi + edx*4]
mov esi, dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8 + 4]
mov dword [ebp - 0x1c], edx
test esi, esi
je 0x42e7a0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp - 0x1c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x42e801
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, eax
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e801
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42e7f7
mov eax, dword [esi + 8]
push 1
push 0
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x42e7ef
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
jmp 0x42e801
mov ecx, dword [esi + 8]
call fcn.004037e0
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi]
mov edx, dword [edi + 0x10]
mov eax, dword [ebp - 0x24]
mov dword [edx + ecx*4], 0
mov eax, dword [eax + esi]
lea eax, [eax + eax*2]
xor ecx, ecx
add eax, eax
mov edx, 0x24
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f05c
mov ecx, dword [esi]
mov edx, dword [edi + 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add esp, 4
add dword [ebp - 0x10], 4
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [eax + 0x40c]
jb 0x42e764
fldz
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
fst dword [ebp - 0x14]
mov dword [ebp + 0xc], ecx
fst dword [edi + 0x18]
mov ecx, dword [ebp - 0x38]
fst dword [edi + 0x14]
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x42eddc
fld1
fld dword [ebp - 0x14]
jmp 0x42e88b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jns 0x42e89b
add ecx, 0x100
mov dword [ebp - 0x14], ecx
cmp ecx, 0x100
jge 0x42e8ab
mov ecx, dword [eax + ecx*4 + 4]
test ecx, ecx
jne 0x42e8e4
xor edx, edx
cmp dword [eax + 0x404], edx
jle 0x42edc0
mov esi, dword [eax]
movzx ecx, word [esi]
cmp ecx, dword [ebp - 0x14]
je 0x42e8d4
inc edx
add esi, 0x24
cmp edx, dword [eax + 0x404]
jl 0x42e8bb
jmp 0x42edc0
mov ecx, dword [eax]
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*4]
test ecx, ecx
je 0x42edc0
fld dword [ecx + 4]
movzx edx, byte [ecx + 0x20]
fstp dword [ebp - 0x2c]
mov edx, dword [ebx + edx*4]
fld dword [eax + 0x424]
mov esi, dword [edi + 0x10]
fidiv dword [eax + 0x41c]
add edx, edx
add edx, edx
mov esi, dword [edx + esi]
mov dword [ebp - 0x14], esi
fmul dword [ecx + 0xc]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fadd dword [ecx + 4]
fstp dword [ebp - 0x34]
fld dword [ecx + 8]
fstp dword [ebp - 0x1c]
fld dword [eax + 0x424]
fidiv dword [eax + 0x420]
lea eax, [esi + esi*8]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx]
add eax, eax
add eax, eax
cmp dword [ebp - 0x14], 0
fmul dword [ecx + 0x10]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fadd dword [ecx + 8]
fstp dword [ebp - 0x30]
fld dword [ecx + 0x14]
fadd st(1)
fstp dword [ebp - 0x24]
fld dword [ecx + 0x18]
fchs
fstp dword [ebp - 0x28]
fld dword [ebp - 0x24]
fst dword [eax + edx]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fld dword [ebp - 0x28]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 4]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fld dword [ebp - 0x2c]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x1c]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fld dword [ebp - 0x1c]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fstp dword [edx + eax + 0x20]
je 0x42e9c8
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fld dword [edx + eax]
fstp dword [edx + eax - 0x24]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fld dword [edx + eax + 4]
fstp dword [edx + eax - 0x20]
movzx edx, byte [ecx + 0x20]
fxch st(2)
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x24]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fld st(1)
fsub dword [ecx + 0x10]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fstp dword [edx + eax + 0x28]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(2)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fstp dword [edx + eax + 0x40]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fld dword [ebp - 0x30]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x44]
movzx edx, byte [ecx + 0x20]
mov esi, dword [ebx + edx*4]
fld dword [ecx + 0xc]
mov ebx, dword [edi + 0xc]
fadd st(3)
mov esi, dword [ebx + esi*4]
mov edx, dword [ebp - 0x14]
fstp dword [ebp - 0x30]
lea edx, [edx + edx*8 + 0x12]
fld dword [ebp - 0x30]
fstp dword [esi + edx*4]
movzx esi, byte [ecx + 0x20]
mov edx, dword [ebp - 0x20]
fxch st(1)
mov esi, dword [edx + esi*4]
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + esi*4]
fst dword [esi + eax + 0x4c]
movzx esi, byte [ecx + 0x20]
mov esi, dword [edx + esi*4]
fld dword [ebp - 0x34]
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + esi*4]
fst dword [esi + eax + 0x64]
movzx esi, byte [ecx + 0x20]
mov esi, dword [edx + esi*4]
fld dword [ebp - 0x1c]
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + esi*4]
fstp dword [esi + eax + 0x68]
mov esi, dword [ebp - 0x14]
fld dword [ecx + 0xc]
mov ebx, dword [edi + 0xc]
lea esi, [esi + esi*8 + 0x1b]
faddp st(4)
add esi, esi
fxch st(3)
add esi, esi
mov dword [ebp - 0x1c], esi
fstp dword [ebp - 0x34]
movzx esi, byte [ecx + 0x20]
fld dword [ebp - 0x34]
mov esi, dword [edx + esi*4]
mov esi, dword [ebx + esi*4]
mov ebx, dword [ebp - 0x1c]
fstp dword [ebx + esi]
movzx esi, byte [ecx + 0x20]
mov esi, dword [edx + esi*4]
fsub dword [ecx + 0x10]
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + esi*4]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fstp dword [esi + eax + 0x70]
movzx esi, byte [ecx + 0x20]
fxch st(1)
mov esi, dword [edx + esi*4]
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + esi*4]
fstp dword [esi + eax + 0x88]
movzx esi, byte [ecx + 0x20]
mov esi, dword [edx + esi*4]
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + esi*4]
mov ebx, dword [ebp - 0x1c]
fstp dword [esi + eax + 0x8c]
movzx esi, byte [ecx + 0x20]
mov edx, dword [edx + esi*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x14]
lea esi, [esi + esi*8 + 0x24]
fld dword [edx + ebx]
mov ebx, dword [ebp - 0x20]
fstp dword [edx + esi*4]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fld dword [edx + eax + 0x70]
fstp dword [edx + eax + 0x94]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(2)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x10]
mov dword [edx + eax + 0x18], esi
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 8]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0xc]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x10]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x14]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x10]
mov dword [edx + eax + 0x3c], esi
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x2c]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x30]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x34]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fxch st(1)
fst dword [edx + eax + 0x38]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x10]
mov dword [edx + eax + 0x60], esi
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x50]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x54]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x58]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x5c]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x10]
mov dword [edx + eax + 0x84], esi
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x74]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x78]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x7c]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x80]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x10]
mov dword [edx + eax + 0xa8], esi
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x98]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0x9c]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0xa0]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0xa4]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x10]
mov dword [edx + eax + 0xcc], esi
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0xbc]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0xc0]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0xc4]
movzx edx, byte [ecx + 0x20]
mov edx, dword [ebx + edx*4]
fxch st(1)
mov esi, dword [edi + 0xc]
mov edx, dword [esi + edx*4]
fst dword [edx + eax + 0xc8]
movzx eax, byte [ecx + 0x20]
fld dword [ecx + 0x1c]
mov edx, dword [ebx + eax*4]
mov eax, dword [edi + 0x10]
faddp st(3)
add dword [eax + edx*4], 6
fxch st(2)
lea eax, [eax + edx*4]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld dword [edi + 0x14]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x42eda1
fst dword [edi + 0x14]
fld dword [ecx + 0x10]
fadd dword [ecx + 0x18]
fld dword [edi + 0x18]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x42edb8
fstp dword [edi + 0x18]
jmp 0x42edba
fstp st(0)
fxch st(1)
fxch st(2)
fxch st(1)
mov eax, 1
lea esi, [ebp + 0xc]
call fcn.00421560
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x42e888
fstp st(2)
fstp st(0)
mov ecx, dword [ebp - 0x18]
fstp st(0)
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
push ecx
call esi
push ebx
call esi
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14