Function at 0x42fd80
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x497c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x44]
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x1c], ecx
cmp dword [ebp + 4], ecx
je 0x43021d
cmp dword [ebp], ecx
je 0x43021d
cmp dword [ebp + 8], ecx
je 0x43021d
mov eax, 0xffffdfcc
sub eax, ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ecx
lea esi, [ebp + 0x2034]
mov dword [esp + 0x24], eax
cmp ecx, 2
je 0x42ff7d
cmp dword [esi + 0x18], 0
je 0x42ff68
mov eax, dword [esi]
test eax, eax
je 0x42ff68
cmp dword [esi + 4], 0
je 0x42ff68
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ebx, ebx
cmp eax, ebx
jne 0x42fe27
mov eax, dword [esi]
push eax
call fcn.004097c0
cmp eax, ebx
jne 0x42fe27
mov dword [esp + 0x10], ebx
jmp 0x42ff68
mov ecx, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
jne 0x42fe41
mov dword [esp + 0x10], ebx
jmp 0x42ff68
mov al, byte [edi]
cmp al, 0xff
jne 0x42fe4d
cmp byte [edi + 1], 0x25
je 0x42fe55
cmp al, 0xe9
je 0x42fe55
cmp al, 0xeb
jne 0x42fe5e
mov dword [esp + 0x10], ebx
jmp 0x42ff68
push edi
mov eax, ebp
call fcn.0042ed50
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x42feab
mov dword [esp + 0x18], 1
mov edx, 5
lea ecx, [edi + 5]
sub eax, edi
mov bl, byte [ecx]
cmp bl, byte [eax + ecx]
jne 0x42fe94
inc edx
inc ecx
cmp edx, 0xa
jl 0x42fe80
mov ebx, dword [esp + 0x18]
jmp 0x42fe96
xor ebx, ebx
mov edx, dword [esp + 0x20]
push edx
call fcn.00472c50
add esp, 4
test ebx, ebx
je 0x42ff68
mov eax, dword [esi + 0x18]
mov dword [esi + 0xc], edi
mov ecx, dword [ebp + 8]
sub eax, 0x42de70
lea ebx, [ecx + eax + 4]
push edi
mov dword [esi + 0x10], ebx
call fcn.0042dd70
add esp, 4
cmp eax, 5
jne 0x42ff5c
lea ebp, [esi + 0x3c]
mov dword [esi + 0x14], eax
mov edx, edi
xor eax, eax
sub edx, ebp
mov ecx, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x20]
mov dl, byte [edx + ecx]
mov byte [ecx], dl
mov byte [esi + eax + 0x5c], dl
inc eax
inc ecx
cmp eax, 5
jb 0x42fee4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
lea edx, [eax + esi]
mov eax, dword [ecx + 8]
lea ecx, [eax + edx + 0x2049]
mov byte [ebp + 5], 0xe9
lea eax, [edi + 5]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
add ebp, 5
sub eax, 5
mov dword [ebp + 1], eax
mov eax, dword [ecx + 8]
lea ecx, [eax + edx + 0x2044]
mov dword [esi + 8], ecx
sub ebx, edi
mov byte [esi + 0x1c], 0xe9
sub ebx, 5
mov dword [esi + 0x1d], ebx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
add edx, 0xc
push edx
call fcn.0042b290
jmp 0x42ff64
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
inc ecx
sub esi, 0xffffff80
mov dword [esp + 0x14], ecx
cmp ecx, 2
jb 0x42fde7
cmp dword [esp + 0x10], 0
je 0x43021d
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp + 0x2364]
mov dword [esp + 0x10], eax
lea ebx, [ebx]
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
test ebx, ebx
je 0x42ffae
cmp ebx, eax
je 0x42ffb3
call fcn.004726ec
cmp esi, edi
je 0x43003e
test ebx, ebx
jne 0x42fff8
call fcn.004726ec
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x42ffd0
call fcn.004726ec
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42ffdd
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
add dword [esp + 0x10], 4
test ebx, ebx
jne 0x42ffeb
call fcn.004726ec
cmp byte [esi + 0x11], 0
je 0x42fffc
call fcn.004726ec
jmp 0x42ffa0
mov eax, dword [ebx]
jmp 0x42ffc6
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x11], 0
jne 0x43001e
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
jne 0x43001a
lea ecx, [ecx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
je 0x430010
mov esi, ecx
jmp 0x42ffa0
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x430037
cmp esi, dword [eax + 8]
jne 0x430037
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x430027
mov esi, eax
jmp 0x42ffa0
mov eax, 0x42ec60
sub eax, 0x42de70
push eax
lea edx, [ebp + 0x30]
push 0x42de70
lea edi, [ebp + 0x2c]
push edx
mov dword [edi], 0x7a7a7a7a
mov dword [esp + 0x20], 0
call fcn.00478590
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push edx
mov eax, 0x23b8
call fcn.004292c0
add esp, 0x10
test eax, eax
jne 0x430204
cmp dword [esp + 0x14], 0x23b8
jne 0x430204
mov eax, dword [ebp + 8]
mov esi, dword [ebp]
push eax
mov ecx, 0x23b8
call fcn.00429480
xor esi, esi
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], esi
mov ecx, dword [ebp + 4]
push edi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0042da90
xor eax, eax
mov dword [esp + 0x18], eax
lea ebx, [ebp + 0x2034]
cmp eax, 2
je 0x4301c0
cmp dword [ebx + 0x18], 0
je 0x4301ab
cmp dword [ebx], 0
je 0x4301ab
cmp dword [ebx + 4], 0
je 0x4301ab
cmp dword [ebx + 0x14], 0
je 0x4301ab
cmp dword [ebx + 0xc], 0
lea ebp, [ebx + 0xc]
je 0x4301ab
cmp dword [ebx + 0x10], 0
je 0x4301ab
cmp dword [ebx + 8], 0
je 0x4301ab
mov eax, dword [esp + 0x4c]
mov edi, dword [eax]
push ebp
lea esi, [esp + 0x14]
mov edx, 0x40
lea ecx, [ebx + 0x14]
mov dword [esp + 0x14], 0
call fcn.004293b0
add esp, 4
test eax, eax
jne 0x430196
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [ebx + 0x1c]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [ebx + 0x14]
push edx
call fcn.004292c0
add esp, 0x10
test eax, eax
jne 0x43017c
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
mov edi, dword [eax]
push ebp
lea esi, [esp + 0x14]
lea ecx, [ebx + 0x14]
call fcn.004293b0
add esp, 4
mov ecx, dword [ebp]
mov edx, dword [esp + 0x4c]
mov esi, dword [edx]
push ecx
mov ecx, dword [ebx + 0x14]
call fcn.00429480
add esp, 4
mov eax, dword [esp + 0x18]
inc eax
sub ebx, 0xffffff80
mov dword [esp + 0x18], eax
cmp eax, 2
jb 0x4300e2
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
xor esi, esi
test ebx, ebx
jbe 0x4301e9
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [edi + esi*4]
push eax
call ebp
mov ecx, dword [edi + esi*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jb 0x4301d4
push edi
call fcn.00472c50
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4