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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x593b78
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5d5de8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
push 0x5dd038
mov dword [esp + 0x54], 0x5dd038
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 0x20]
xor edx, edx
xor eax, eax
cmp esi, edx
mov dword [esp + 0x90], edx
mov ecx, 0x100
mov edi, 0x5dbc00
rep stosd dword es:[edi], eax
mov ecx, 0x100
mov edi, 0x5dc008
rep stosd dword es:[edi], eax
je 0x42d7a9
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 4]
mov dword [esi + 8], edx
je 0x42d7a9
mov edi, dword [eax]
push eax
call fcn.00569095
add esp, 4
cmp edi, dword [esi + 4]
mov eax, edi
jne 0x42d797
mov eax, dword [ebx + 0x14]
cmp byte [eax + 0xa8], 0
jne 0x42d7cb
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x42df70
mov dword [eax], 0
jmp 0x42df70
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00425aa0
push 1
mov ecx, ebx
mov byte [esp + 0x50], al
call fcn.00425a90
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], esi
jbe 0x42de70
jmp 0x42d816
mov esi, dword [esp + 0x3c]
mov edi, edx
cmp esi, eax
jbe 0x42d81f
call fcn.0056999e
cmp dword [edi + 0x18], 0x10
jb 0x42d831
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov dword [esp + 0x28], ecx
jmp 0x42d83a
lea eax, [edi + 4]
mov dword [esp + 0x28], eax
mov ecx, eax
movsx dx, byte [eax + esi]
movzx eax, dx
cmp ax, 0x100
mov dword [esp + 0x24], eax
jae 0x42d866
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x14]
movzx eax, ax
movsx ax, byte [eax + edx + 0xb8]
movzx edx, ax
mov dword [esp + 0x24], edx
mov eax, dword [edi + 0x14]
lea edx, [eax - 1]
cmp esi, edx
mov dword [esp + 0x1c], 0
jae 0x42d8c0
add esi, 1
cmp esi, eax
jbe 0x42d888
call fcn.0056999e
mov ecx, dword [esp + 0x28]
cmp dword [edi + 0x18], 0x10
jb 0x42d892
mov eax, dword [ecx]
jmp 0x42d894
mov eax, ecx
movsx ax, byte [esi + eax]
movzx eax, ax
cmp ax, 0x100
mov dword [esp + 0x1c], eax
jae 0x42d8c0
mov edx, dword [esp + 0x14]
movzx ecx, ax
mov eax, dword [edx + 0x14]
movsx cx, byte [ecx + eax + 0xb8]
movzx edx, cx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x34]
mov edi, dword [ecx]
add eax, 0x30
mov eax, dword [esp + 0x2c]
imul eax, eax, 0x34
add eax, 0x5dd0a8
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x34]
add esi, 0x30
cmp esi, esi
mov dword [esp + 0x58], edx
je 0x42d8fb
call fcn.0056999e
cmp edi, dword [esp + 0x58]
je 0x42de4b
cmp edi, dword [esi + 4]
jne 0x42d90f
call fcn.0056999e
mov ebx, dword [edi + 0xc]
mov ecx, dword [ebx + 0x464]
test ecx, ecx
mov eax, dword [esp + 0x14]
fld qword [eax + 0x40]
je 0x42d933
mov eax, dword [eax + 0x18]
cdq
idiv ecx
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmulp st(1)
movzx ecx, word [esp + 0x24]
mov eax, ecx
shr eax, 8
mov ebx, dword [ebx + eax*4 + 0x28]
test ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebx
je 0x42de2b
fld qword [0x5aa7f0]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x42da05
mov eax, ecx
fstp st(0)
and eax, 0x800000ff
jns 0x42d976
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [edi + 0xc]
mov ecx, eax
imul ecx, ecx, 0x424
lea esi, [ecx + ebx]
mov ecx, dword [esi + 0x14]
add ecx, dword [edx + 0x450]
mov dword [esp + 0x20], esi
mov esi, dword [esi + 0x18]
sub esi, dword [edx + 0x468]
add ecx, dword [esp + 0x18]
add esi, dword [edx + 0x454]
mov edx, dword [esp + 0x20]
add esi, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 0x41c]
mov edx, dword [esp + 0x1c]
test dx, dx
mov dword [esp + 0x44], ecx
je 0x42dae3
imul eax, eax, 0x109
add eax, dword [esp + 0x30]
xor cl, cl
mov eax, dword [ebx + eax*4 + 0x1c]
test eax, eax
je 0x42d9f0
movzx edx, dl
and edx, 0x800000ff
jns 0x42d9ed
dec edx
or edx, 0xffffff00
inc edx
mov cl, byte [edx + eax]
movsx eax, cl
mov ecx, dword [edi + 0xc]
add eax, dword [ecx + 0x458]
mov dword [esp + 0x28], eax
jmp 0x42daeb
mov ebx, ecx
and ebx, 0x800000ff
jns 0x42da17
dec ebx
or ebx, 0xffffff00
inc ebx
mov ecx, dword [esp + 0x28]
mov esi, dword [edi + 0xc]
mov eax, ebx
imul eax, eax, 0x424
mov edx, dword [eax + ecx + 0x14]
add edx, dword [esi + 0x450]
add eax, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x44]
fmul st(1)
call fcn.005690a0
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x468]
sub eax, dword [ecx + 0x18]
sub eax, dword [esi + 0x454]
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmul st(1)
call fcn.005690a0
mov edx, dword [esp + 0x20]
fild dword [edx + 0x41c]
mov esi, dword [ebp + 0x10]
sub esi, eax
fmul st(1)
call fcn.005690a0
mov ecx, dword [esp + 0x1c]
test cx, cx
mov dword [esp + 0x44], eax
je 0x42dae1
mov edx, dword [esp + 0x28]
imul ebx, ebx, 0x109
add ebx, dword [esp + 0x30]
xor al, al
mov ebx, dword [edx + ebx*4 + 0x1c]
test ebx, ebx
je 0x42dabe
movzx eax, cl
and eax, 0x800000ff
jns 0x42dabb
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [eax + ebx]
movsx ecx, al
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x458]
add edx, ecx
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmulp st(1)
call fcn.005690a0
mov dword [esp + 0x28], eax
jmp 0x42daeb
fstp st(0)
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x64]
call fcn.00404980
mov ebx, dword [edi + 0xc]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x428]
imul ecx, eax
mov dword [esp + 0x48], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, dword [ebx + 0x438]
cmp ecx, 0xff
jge 0x42db54
mov ecx, dword [ebx + 0x428]
imul ecx, dword [esp + 0x48]
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x438]
mov dword [esp + 0x64], eax
jmp 0x42db5c
mov dword [esp + 0x64], 0xff
mov ebx, dword [edi + 0xc]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 0x42c]
imul ecx, eax
mov dword [esp + 0x48], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x43c]
cmp eax, 0xff
jge 0x42dbbc
mov ecx, dword [ebx + 0x42c]
imul ecx, dword [esp + 0x48]
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x43c]
mov dword [esp + 0x68], eax
jmp 0x42dbc4
mov dword [esp + 0x68], 0xff
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
mov ebx, dword [edi + 0xc]
mov ecx, dword [ebx + 0x430]
imul ecx, eax
mov dword [esp + 0x48], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x440]
cmp eax, 0xff
jge 0x42dc24
mov ecx, dword [ebx + 0x430]
imul ecx, dword [esp + 0x48]
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x440]
mov dword [esp + 0x6c], eax
jmp 0x42dc2c
mov dword [esp + 0x6c], 0xff
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0xc]
mov ebx, dword [edi + 0xc]
mov ecx, dword [ebx + 0x434]
imul ecx, eax
mov dword [esp + 0x48], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x444]
cmp eax, 0xff
jge 0x42dc8c
mov ecx, dword [ebx + 0x434]
imul ecx, dword [esp + 0x48]
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 0x444]
mov dword [esp + 0x70], eax
jmp 0x42dc94
mov dword [esp + 0x70], 0xff
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x420]
mov ecx, dword [edi + 0xc]
add eax, dword [ecx + 0x47c]
mov ecx, dword [esp + 0x40]
cmp ecx, 0x6110a8
mov dword [esp + 0x48], eax
jge 0x42de48
mov edx, dword [esp + 0x30]
add dword [esp + 0x2c], 1
mov eax, ecx
add ecx, 0x34
cmp dword [edi + edx*4 + 0x18], 0
mov dword [esp + 0x40], ecx
jne 0x42dcde
mov dword [esp + 0x24], 0x20
xor edx, edx
movzx ecx, word [esp + 0x24]
and ecx, 0x800000ff
jns 0x42dcf3
dec ecx
or ecx, 0xffffff00
inc ecx
mov ebx, dword [edi + 0x10]
mov dword [eax], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 0x20], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 0x24], ebx
mov ebx, dword [esp + 0x6c]
mov dword [eax + 0x28], ebx
mov ebx, dword [esp + 0x70]
mov dword [eax + 0x2c], ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov ebx, dword [edi + edx*4 + 0x18]
shl ecx, 4
mov ebx, dword [ecx + ebx]
mov dword [eax + 0xc], ebx
mov ebx, dword [edi + edx*4 + 0x18]
mov ebx, dword [ebx + ecx + 4]
mov dword [eax + 0x10], ebx
mov ebx, dword [edi + edx*4 + 0x18]
mov ebx, dword [ebx + ecx + 8]
mov dword [eax + 0x14], ebx
mov ebx, dword [edi + edx*4 + 0x18]
mov ebx, dword [ebx + ecx + 0xc]
mov dword [eax + 0x18], ebx
mov ebx, dword [edi + 0xc]
mov ebx, dword [ebx + 0x44c]
mov dword [eax + 0x1c], ebx
mov ebx, dword [esp + 0x48]
add ebx, 0x80
test ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [eax + 0x30], 0
jle 0x42dd79
cmp ebx, 0xff
jge 0x42dd8b
xor ecx, ecx
test ebx, ebx
setle cl
sub ecx, 1
and ebx, ecx
mov ecx, dword [esp + 0x20]
jmp 0x42dd90
mov ebx, 0xff
mov dword [esp + 0x30], ebx
lea ebx, [ebx*4 + 0x5dbc00]
mov dword [esp + 0x20], ebx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x42ddb8
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
mov ebx, dword [esp + 0x30]
mov dword [ebx*4 + 0x5dc008], eax
jmp 0x42ddc1
mov dword [ebx + 0x30], eax
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x42de11
mov edx, dword [edi + edx*4 + 0x18]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 4]
add edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
push eax
mov dword [esp + 0x7c], esi
push ebx
lea esi, [esp + 0x7c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
call fcn.0043fba0
mov ecx, dword [ebp + 0x20]
mov esi, eax
call fcn.0043fbf0
mov dword [ebx + 4], esi
mov ecx, dword [esi + 4]
mov dword [ecx], esi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
add eax, edx
add eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x38]
jle 0x42de2d
mov dword [esp + 0x38], eax
jmp 0x42de2d
fstp st(0)
mov eax, dword [esp + 0x14]
add eax, 0x30
cmp edi, dword [eax + 4]
jne 0x42de3e
call fcn.0056999e
mov edi, dword [edi]
mov ebx, dword [ebp + 8]
jmp 0x42d8e4
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jb 0x42d810
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x42de7c
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, ebx
call fcn.00425a60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xc]
mov eax, 0x5dc008
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], eax
mov esi, dword [eax]
test esi, esi
je 0x42df46
mov eax, ebx
call fcn.00425a80
mov ecx, dword [esi + 0x1c]
cmp ecx, 0xffffffff
mov edi, eax
je 0x42dec9
mov eax, ebx
call fcn.00425a70
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
call fcn.00425a30
mov eax, dword [esi]
test eax, eax
je 0x42df2e
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x64]
push edx
mov edx, dword [esi + 4]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00425fa0
mov ecx, edi
mov eax, ebx
call fcn.00425a70
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x42deb1
mov eax, dword [esp + 0x44]
add eax, 4
cmp eax, 0x5dc408
mov dword [esp + 0x44], eax
jl 0x42dea7
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.00425a30
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.00425a90
push 0x5dd038
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20