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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e5828
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
push 0x6408a8
mov dword [esp + 0x54], 0x6408a8
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, 0x63f470
rep stosd dword es:[edi], eax
mov ecx, 0x100
mov edi, 0x63f878
rep stosd dword es:[edi], eax
je 0x42d889
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 0x42d889
mov edi, dword [eax]
push eax
call fcn.005b28f2
add esp, 4
cmp edi, dword [esi + 4]
mov eax, edi
jne 0x42d877
mov eax, dword [ebx + 0x14]
cmp byte [eax + 0xa8], 0
jne 0x42d8ab
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x42e050
mov dword [eax], 0
jmp 0x42e050
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00425ac0
push 1
mov ecx, ebx
mov byte [esp + 0x50], al
call fcn.00425ab0
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 0x42df50
jmp 0x42d8f6
mov esi, dword [esp + 0x3c]
mov edi, edx
cmp esi, eax
jbe 0x42d8ff
call fcn.005b2af7
cmp dword [edi + 0x18], 0x10
jb 0x42d911
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov dword [esp + 0x28], ecx
jmp 0x42d91a
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 0x42d946
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 0x42d9a0
add esi, 1
cmp esi, eax
jbe 0x42d968
call fcn.005b2af7
mov ecx, dword [esp + 0x28]
cmp dword [edi + 0x18], 0x10
jb 0x42d972
mov eax, dword [ecx]
jmp 0x42d974
mov eax, ecx
movsx ax, byte [esi + eax]
movzx eax, ax
cmp ax, 0x100
mov dword [esp + 0x1c], eax
jae 0x42d9a0
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, 0x640918
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 0x42d9db
call fcn.005b2af7
cmp edi, dword [esp + 0x58]
je 0x42df2b
cmp edi, dword [esi + 4]
jne 0x42d9ef
call fcn.005b2af7
mov ebx, dword [edi + 0xc]
mov ecx, dword [ebx + 0x464]
test ecx, ecx
mov eax, dword [esp + 0x14]
fld qword [eax + 0x40]
je 0x42da13
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 0x42df0b
fld qword [0x60bd40]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x42dae5
mov eax, ecx
fstp st(0)
and eax, 0x800000ff
jns 0x42da56
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 0x42dbc3
imul eax, eax, 0x109
add eax, dword [esp + 0x30]
xor cl, cl
mov eax, dword [ebx + eax*4 + 0x1c]
test eax, eax
je 0x42dad0
movzx edx, dl
and edx, 0x800000ff
jns 0x42dacd
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 0x42dbcb
mov ebx, ecx
and ebx, 0x800000ff
jns 0x42daf7
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.005b3030
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.005b3030
mov edx, dword [esp + 0x20]
fild dword [edx + 0x41c]
mov esi, dword [ebp + 0x10]
sub esi, eax
fmul st(1)
call fcn.005b3030
mov ecx, dword [esp + 0x1c]
test cx, cx
mov dword [esp + 0x44], eax
je 0x42dbc1
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 0x42db9e
movzx eax, cl
and eax, 0x800000ff
jns 0x42db9b
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.005b3030
mov dword [esp + 0x28], eax
jmp 0x42dbcb
fstp st(0)
mov dword [esp + 0x28], 0
lea eax, [esp + 0x64]
call fcn.00404920
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 0x42dc34
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 0x42dc3c
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 0x42dc9c
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 0x42dca4
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 0x42dd04
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 0x42dd0c
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 0x42dd6c
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 0x42dd74
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, 0x674918
mov dword [esp + 0x48], eax
jge 0x42df28
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 0x42ddbe
mov dword [esp + 0x24], 0x20
xor edx, edx
movzx ecx, word [esp + 0x24]
and ecx, 0x800000ff
jns 0x42ddd3
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 0x42de59
cmp ebx, 0xff
jge 0x42de6b
xor ecx, ecx
test ebx, ebx
setle cl
sub ecx, 1
and ebx, ecx
mov ecx, dword [esp + 0x20]
jmp 0x42de70
mov ebx, 0xff
mov dword [esp + 0x30], ebx
lea ebx, [ebx*4 + 0x63f470]
mov dword [esp + 0x20], ebx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x42de98
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
mov ebx, dword [esp + 0x30]
mov dword [ebx*4 + 0x63f878], eax
jmp 0x42dea1
mov dword [ebx + 0x30], eax
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x42def1
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.0043fd80
mov ecx, dword [ebp + 0x20]
mov esi, eax
call fcn.0043fdd0
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 0x42df0d
mov dword [esp + 0x38], eax
jmp 0x42df0d
fstp st(0)
mov eax, dword [esp + 0x14]
add eax, 0x30
cmp edi, dword [eax + 4]
jne 0x42df1e
call fcn.005b2af7
mov edi, dword [edi]
mov ebx, dword [ebp + 8]
jmp 0x42d9c4
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 0x42d8f0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x42df5c
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, ebx
call fcn.00425a80
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, 0x63f878
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], eax
mov esi, dword [eax]
test esi, esi
je 0x42e026
mov eax, ebx
call fcn.00425aa0
mov ecx, dword [esi + 0x1c]
cmp ecx, 0xffffffff
mov edi, eax
je 0x42dfa9
mov eax, ebx
call fcn.00425a90
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.00425a50
mov eax, dword [esi]
test eax, eax
je 0x42e00e
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.00425fd0
mov ecx, edi
mov eax, ebx
call fcn.00425a90
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x42df91
mov eax, dword [esp + 0x44]
add eax, 4
cmp eax, 0x63fc78
mov dword [esp + 0x44], eax
jl 0x42df87
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.00425a50
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.00425ab0
push 0x6408a8
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