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

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x30], edi
call fcn.004263b0
cmp eax, edi
jne 0x424a21
jmp 0x423fb4
xor edi, edi
cmp dword [esi + 0x24], edi
jne 0x424a1f
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, eax
add eax, 1
mov dword [esi + 0x30], eax
mov ebx, ecx
lea eax, [esp + 0x20]
push eax
push ebx
push edx
push edi
push edi
push edi
adc ecx, edi
push edi
mov eax, esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
mov dword [esi + 0x34], ecx
call fcn.00423e50
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp eax, edi
jne 0x424425
cmp dword [esp + 0x20], 0
jne 0x424425
mov edx, dword [esp + 0xc4]
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x60]
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
lea esp, [esp]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x42408c
mov ecx, dword [esi + 0x14]
mov edx, dword [esi]
mov eax, dword [ecx]
add edx, 0x10
call eax
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4242a0
mov ecx, dword [esp + 0x34]
mov dword [eax], 0
test ecx, ecx
je 0x424082
mov dword [ecx], eax
jmp 0x42408c
mov ecx, dword [esp + 0xc4]
mov dword [ecx + 8], eax
mov edi, dword [esp + 0x24]
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
test edi, edi
je 0x4240c2
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x60]
lea ecx, [edx + eax + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], ecx
jmp 0x4241ba
mov ebx, dword [esi]
mov edx, dword [esi + 0xc]
mov ebp, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x14], edx
test ebx, ebx
je 0x424102
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx]
mov edx, ebp
mov dword [esp + 0x14], ebx
call eax
mov ecx, dword [esp + 0x10]
add edi, ecx
add ebp, ecx
sub ebx, ecx
test eax, eax
jne 0x424297
test ecx, ecx
je 0x424102
test ebx, ebx
jne 0x4240d5
mov dword [esp + 0x14], 0
xor eax, eax
add dword [esp + 0x18], edi
adc dword [esp + 0x1c], eax
cmp dword [esp + 0x34], eax
jne 0x42411e
mov dword [esp + 0x48], edi
add dword [esi + 0x68], edi
mov ebx, 1
adc dword [esi + 0x6c], eax
xor ecx, ecx
cmp edi, dword [esi]
setne cl
mov ebp, ecx
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x42413d
mov dword [esi + 0x70], ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x424159
mov ebp, ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x70], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
sbb edx, dword [esp + 0x44]
mov dword [esp + 0xbc], edx
jne 0x424176
cmp eax, ebx
jb 0x4241c3
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x20]
push eax
push ecx
push edx
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00423e50
mov dword [esp + 0x14], eax
test eax, eax
jne 0x424425
cmp dword [esp + 0x20], eax
jne 0x4243d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0x10]
mov ebx, 1
mov eax, dword [esp + 0x38]
xor edx, edx
cmp dword [esp + 0x34], edx
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x18]
sete dl
lea ecx, [esp + 0x88]
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x9c], ebx
push ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + 4]
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x98], ebx
je 0x4242b2
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x90]
test ecx, ecx
je 0x424257
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push ebx
push edx
push eax
call fcn.00427cd0
mov ecx, dword [esp + 0x30]
add esp, 0xc
add dword [esi + 0x60], ebx
mov eax, dword [esp + 0x98]
xor edx, edx
cmp eax, edx
jne 0x4242ed
cmp ebp, edx
jne 0x4242fa
cmp ebx, edi
jne 0x4242e0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
cmp ecx, edx
je 0x424050
xor eax, eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
jmp 0x424045
mov dword [esp + 0x14], eax
jmp 0x42410a
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], eax
jmp 0x4243cb
mov dword [esp + 0x10], ebx
mov dword [esp + 0x64], ebx
xor ebx, ebx
cmp dword [esp + 0x24], ebx
je 0x4242d5
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push edi
push ecx
push edx
call fcn.00427cd0
add esp, 0xc
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x4243cb
mov dword [esp + 0x14], 0xb
jmp 0x424425
cmp eax, 3
jne 0x4242fa
mov dword [esp + 0x10], 1
mov ebp, 1
mov dword [esp + 0x3c], ebp
cmp ebx, edi
jne 0x424312
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
jmp 0x4243cb
cmp eax, 3
jne 0x42434d
mov eax, dword [esp + 0x38]
add eax, ebx
sub edi, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], edi
cmp ecx, edx
je 0x424332
mov dword [esp + 0x80], ebp
sub dword [esp + 0x18], edi
sbb dword [esp + 0x1c], edx
cmp dword [esp + 0x34], edx
jne 0x4243cb
mov dword [esp + 0x48], ebx
jmp 0x4243cb
cmp ecx, edx
je 0x42435b
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
jmp 0x4243b8
mov eax, dword [esi + 0x5c]
cmp eax, edx
jne 0x42437c
mov ecx, dword [esi + 0x14]
mov edx, dword [esi]
mov eax, dword [ecx]
add edx, 0x10
call eax
test eax, eax
je 0x424381
mov ebx, dword [esp + 0x90]
mov dword [esi + 0x5c], eax
add eax, 0x10
jne 0x42438d
mov eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], eax
jmp 0x4243cb
sub edi, ebx
sub dword [esp + 0x18], edi
mov ecx, 0
push edi
sbb dword [esp + 0x20], ecx
add ebx, dword [esp + 0x3c]
mov dword [esi + 0x64], edi
push ebx
push eax
mov dword [esi + 0x60], ecx
call fcn.00427cd0
mov ebx, dword [esp + 0x9c]
add esp, 0xc
cmp dword [esp + 0x34], 0
jne 0x4243c3
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], 0
cmp dword [esp + 0x14], 0
jne 0x424425
lea ebx, [esi + 0xb0]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x88], 0
je 0x42440c
mov edx, dword [esp + 0x50]
cmp edx, dword [esi + 0x94]
jb 0x42440c
ja 0x424402
mov eax, dword [esp + 0x4c]
cmp eax, dword [esi + 0x90]
jbe 0x42440c
mov dword [esp + 0x20], 1
jmp 0x424414
mov dword [esp + 0x20], 0
mov edi, dword [esi + 0x9c]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x14], ebx
jne 0x424466
cmp dword [esp + 0x3c], ebx
je 0x424460
cmp dword [esp + 0x20], ebx
jne 0x424466
mov ecx, dword [esp + 0xc4]
mov eax, dword [esi + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 4]
call eax
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x42446e
mov dword [esp + 0x3c], ebx
jmp 0x424466
cmp dword [esp + 0x20], ebx
je 0x42446e
mov dword [esp + 0x10], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x10], ebx
jne 0x42453b
mov eax, dword [esi + 0x58]
cmp eax, dword [esi + 0x54]
jae 0x42450e
cmp dword [esp + 0x30], ebx
je 0x42450e
lea ecx, [eax + eax*4 + 0x19]
lea edi, [esi + ecx*8]
cmp dword [edi + 0x20], ebx
lea ecx, [edi + 0x20]
je 0x4244a8
call fcn.00426490
jmp 0x4244ad
call fcn.004264f0
cmp eax, ebx
jne 0x4244e0
cmp dword [edi + 0x1c], ebx
lea ecx, [edi + 0x1c]
je 0x4244c0
call fcn.00426490
jmp 0x4244c5
call fcn.004264f0
cmp eax, ebx
jne 0x4244e0
cmp dword [edi + 0x18], ebx
lea ecx, [edi + 0x18]
jne 0x4244f0
push edi
mov edx, fcn.00424ab0
call fcn.00426430
cmp eax, ebx
je 0x4244f0
jle 0x4244ec
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jne 0x4244f5
inc dword [esi + 0x58]
jmp 0x42450e
mov ecx, dword [esi + 0x58]
cmp ecx, 1
jne 0x42450b
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], eax
jmp 0x42453b
mov dword [esi + 0x54], ecx
mov edx, dword [esp + 0xc4]
mov ecx, dword [edx + 4]
inc ecx
cmp ecx, dword [esi + 0x58]
sbb eax, eax
and eax, ecx
lea eax, [eax + eax*4 + 0x19]
lea eax, [esi + eax*8]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x38], eax
call fcn.00426470
cmp eax, ebx
jne 0x424a21
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x14], ecx
jne 0x4246d2
cmp dword [esp + 0x3c], ecx
je 0x4246d2
cmp dword [esp + 0x24], ecx
jne 0x4246d2
mov edx, dword [esp + 0xc4]
mov edx, dword [edx + 8]
mov eax, 1
mov dword [esp + 0x28], edx
cmp eax, ecx
je 0x42459c
mov edx, dword [esp + 0x48]
jmp 0x4245b8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
sub ecx, ebx
sbb eax, ebp
xor edi, edi
cmp edi, eax
jb 0x4245b8
ja 0x4245b6
cmp edx, ecx
jbe 0x4245b8
mov edx, ecx
add ebx, edx
adc ebp, 0
mov eax, 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], eax
cmp ebx, dword [esp + 0x18]
jne 0x4245da
cmp ebp, dword [esp + 0x1c]
je 0x4245dc
xor eax, eax
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
mov eax, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0x3c]
add edx, 0x10
push edx
mov edx, dword [eax + 4]
mov eax, dword [edi + 8]
call eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4246c3
cmp dword [esp + 0x30], eax
jne 0x4246d2
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
cmp ebx, dword [esp + 0x18]
jne 0x424638
cmp ebp, dword [esp + 0x1c]
je 0x4246d2
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov ecx, ebx
sub ecx, dword [esp + 0x40]
mov eax, ebp
sbb eax, dword [esp + 0x44]
sub edx, dword [esp + 0x70]
sbb edi, dword [esp + 0x74]
test eax, eax
ja 0x424668
jb 0x42465f
cmp ecx, 1
jae 0x424668
test edi, edi
jne 0x424668
cmp edx, 1
jb 0x4246b0
lea ebx, [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
push ebx
push edi
push edx
push eax
push ecx
mov eax, esi
call fcn.00423e50
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4246d2
cmp dword [esp + 0x20], eax
jne 0x4246d2
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
xor eax, eax
xor ecx, ecx
jmp 0x424592
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push eax
call fcn.00423f10
mov ecx, dword [esp + 0xc4]
mov ecx, dword [ecx + 0x20]
call fcn.004263b0
xor ebx, ebx
cmp eax, ebx
jne 0x424a21
mov edx, dword [esp + 0x84]
mov ebp, 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x24], ebx
jne 0x424a1f
cmp dword [esi + 0x50], ebx
je 0x424717
mov dword [esp + 0x20], ebp
jmp 0x424760
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42472c
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], eax
mov ecx, ebp
cmp eax, 2
je 0x424730
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x424742
mov dword [esi + 0x50], ebp
mov dword [esi + 0x40], eax
mov dword [esp + 0x2c], ebx
cmp ecx, ebx
je 0x424750
mov dword [esi + 0x50], ebp
mov dword [esi + 0x38], ebp
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x64], ebx
je 0x424760
mov dword [esi + 0x50], ebp
mov dword [esi + 0x3c], ebp
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x3c], ebx
je 0x424844
cmp dword [esp + 0x20], ebx
je 0x424788
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
jmp 0x424798
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x40]
lea ebp, [esi + 0xb0]
sbb eax, dword [esp + 0x44]
sub ebx, dword [esp + 0x70]
push ebp
sbb edx, dword [esp + 0x78]
mov edi, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0xa0], edi
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
adc dword [esi + 0xa4], eax
add dword [esi + 0xa8], ebx
adc dword [esi + 0xac], ecx
cmp dword [esi + 0x9c], 0
jne 0x42482c
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x42482c
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0xa8]
push edx
mov edx, dword [esi + 0xa4]
push eax
mov eax, dword [esi + 0xa0]
push edx
mov edx, dword [ecx]
push eax
call edx
test eax, eax
je 0x42482c
mov dword [esi + 0x9c], 0xa
mov edi, dword [esi + 0x9c]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], edi
mov ebp, 1
xor ebx, ebx
mov edi, dword [esp + 0x10]
xor eax, eax
cmp edi, ebx
sete al
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x84], ebx
je 0x42491c
cmp dword [esp + 0x14], ebx
jne 0x424876
cmp dword [esp + 0x2c], ebx
je 0x424876
cmp dword [esp + 0x20], ebx
jne 0x424876
mov eax, ebp
jmp 0x424878
xor eax, eax
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x78]
push edx
push eax
mov eax, dword [esp + 0xdc]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x4248be
mov dword [esp + 0x28], ebp
mov dword [esi + 0x50], ebp
jmp 0x4248c8
cmp dword [esp + 0x6c], ebx
jne 0x42491c
cmp edi, ebx
jne 0x42491c
lea edi, [esi + 0xb0]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x88], ebx
je 0x4248f7
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esi + 0x94]
ja 0x424911
jb 0x4248f7
mov edx, dword [esp + 0x4c]
cmp edx, dword [esi + 0x90]
jae 0x424911
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
mov dword [esi + 0x88], ebp
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x30], ebx
je 0x424997
cmp dword [esp + 0x3c], ebx
je 0x42494d
cmp dword [esp + 0x14], ebx
jne 0x42494d
cmp dword [esi + 0x50], ebx
jne 0x42494d
cmp dword [esp + 0x24], ebx
jne 0x42494d
cmp dword [esp + 0x20], ebx
jne 0x42494d
cmp dword [esi + 0x84], ebx
jne 0x424965
cmp dword [esp + 0x28], ebx
je 0x424997
cmp dword [esi + 0x84], ebx
jne 0x424965
mov edx, dword [esp + 0xc4]
mov eax, dword [edx + 4]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, eax
or edx, ecx
jne 0x424977
cmp edi, ebx
jne 0x4249ab
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0x48]
mov dword [edx + 0xc], edi
mov edi, dword [esp + 0x10]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
add dword [esi + 0x84], ebp
jmp 0x42499e
mov edx, dword [esp + 0xc4]
cmp edi, ebx
jne 0x4249b2
mov ecx, dword [esp + 0x38]
add ecx, 0x20
jmp 0x4249d7
mov edx, dword [esp + 0xc4]
cmp dword [esp + 0x6c], ebx
je 0x4249c9
lea ecx, [esi + 0xe8]
call fcn.00426470
cmp eax, ebx
jne 0x424a21
jmp 0x4249d1
cmp dword [edx + 4], ebx
je 0x424a1f
mov dword [esi + 0x24], ebp
lea ecx, [esi + 0xe4]
call fcn.00426470
cmp eax, ebx
jne 0x424a21
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x30], ebx
call fcn.004263b0
cmp eax, ebx
je 0x423fb2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4