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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x5e8
mov esi, esp
mov dword [esi + 0x5d0], ebp
call 0x42b09c
pop eax
mov dword [esi + 0x5d4], esp
mov dword [esi + 0x5e0], 0xffffffff
mov dword [esi + 0x5dc], 0x42f010
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [esi + 0x50], eax
mov eax, dword fs:[0]
lea ebx, [edx + 0x58]
lea ecx, [edx + 0x6c]
mov dword [esi + 0x5d8], eax
lea eax, [esi + 0x5d8]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x48], ecx
lea ebx, [edx + 0x5c]
lea ecx, [edx + 0x18]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 4
mov dword [esi + 0x44], 0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x60], ecx
movzx eax, al
mov dword [esi + 0x64], eax
nop
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 0
mov byte [esi + 0x12], 1
mov byte [esi + 0x13], 1
mov dword [esi + 0x5e0], 0
lea ecx, [esi + 0x78]
push edi
push dword [esi + 0x64]
call fcn.0042c250
add esp, 8
mov edi, dword [esi + 0x78]
push 0x60
lea eax, [esi + 0x7c]
push eax
lea ebx, [esi + 0x3fc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp edi, 3
jne 0x42ba51
mov eax, dword [esi + 0xdc]
mov ebx, dword [esi + 0xe0]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xe4]
mov dword [esi + 0x34], eax
push 0x54
lea eax, [esi + 0xe8]
push eax
lea edi, [esi + 0x2a0]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x60
lea eax, [esi + 0x3fc]
push eax
lea eax, [esi + 0x2f4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x354], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x358], ebx
mov dword [esi + 0x35c], eax
push 0x54
push edi
lea eax, [esi + 0x360]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx edi, word [esi + 0x3b0]
lea eax, [edi - 0x12c]
cmp ax, 0x62
mov eax, dword [esi + 0x28]
ja 0x42b97c
mov eax, dword [eax]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42b97c
mov edx, dword [esi + 0x44]
inc edx
cmp edx, ecx
jae 0x42bac6
mov eax, dword [esi + 0x34c]
mov ecx, dword [esi + 0x350]
mov dword [esi + 0x18], edi
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov dword [esi + 0x5e0], 1
push 8
push str.locationredirect_____
push ecx
push eax
call fcn.0040d640
add esp, 0x10
test eax, eax
je 0x42b97c
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x6c], edx
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov dword [esi + 0x58], ecx
mov dword [esi + 0x88], ecx
push edx
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x190]
push eax
call fcn.004adc00
add esp, 0x10
cmp dword [esi + 0x190], 2
je 0x42bb6c
push 0x48
lea eax, [esi + 0x190]
push eax
lea edi, [esi + 0x3b4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x48
push edi
lea edi, [esi + 0x510]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x48
push edi
lea eax, [esi + 0x148]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx - 0x12d]
cmp eax, 3
jae 0x42b360
mov edx, dword [ebp + 0xc]
mov edi, dword [esi + 0x28]
mov eax, dword [edx + 0x68]
mov ebx, dword [edx + 0x64]
cmp eax, 4
je 0x42b3d6
cmp eax, 3
jne 0x42b31f
movzx ecx, byte [ebx + 2]
mov edi, eax
movzx eax, word [ebx]
xor eax, 0x4547
xor ecx, 0x54
or cx, ax
mov eax, edi
mov edi, dword [esi + 0x28]
je 0x42b3e2
movzx eax, byte [0x5781b1]
push 1
push 3
call fcn.00402ce0
add esp, 8
test eax, eax
je 0x42be21
mov ebx, eax
mov byte [eax + 2], 0x54
mov word [eax], 0x4547
mov cl, 1
mov eax, 3
mov dword [esi + 0x20], 3
mov dword [esi + 0x2c], 0
jmp 0x42b45a
mov edx, dword [ebp + 0xc]
mov edi, dword [esi + 0x28]
cmp ecx, 0x133
je 0x42b398
cmp ecx, 0x134
jne 0x42bdd0
mov eax, dword [edx + 0x68]
add eax, 0xfffffffd
cmp eax, 4
ja 0x42bdd0
mov eax, dword [eax*4 + 0x42c220]
mov ebx, dword [edx + 0x64]
add eax, dword [esi + 0x50]
jmp eax
mov eax, dword [edx + 0x68]
add eax, 0xfffffffd
cmp eax, 4
ja 0x42bdd0
mov eax, dword [eax*4 + 0x42c234]
mov ebx, dword [edx + 0x64]
add eax, dword [esi + 0x50]
jmp eax
cmp dword [ebx], 0x44414548
jne 0x42b31f
mov dword [esi + 0x20], eax
jmp 0x42b450
mov eax, dword [edx + 0x60]
mov cl, 1
mov dword [esi + 0x2c], ecx
xor ecx, ecx
mov edx, dword [edi]
mov dword [esi + 0x34], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ecx
cmp byte [edx + 0x8e], 0
je 0x42b4d0
mov eax, dword [esi + 0x58]
mov byte [esi + 4], cl
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov dword [esi + 0x5e0], 3
mov dword [esi + 0x38], eax
lea eax, [esi + 0x148]
push eax
call fcn.004addf0
add esp, 4
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], edx
mov ecx, dword [esi + 0x168]
mov edi, dword [esi + 0x38]
test ecx, ecx
je 0x42b500
mov edx, dword [esi + 0x160]
mov eax, dword [esi + 0x15c]
cmp ecx, edx
jae 0x42b4da
cmp byte [eax + ecx], 0xbf
jg 0x42b4e0
jmp 0x42be49
mov edi, dword [esi + 0x18]
xor ebx, ebx
jmp 0x42b5ad
jne 0x42be49
cmp ecx, 5
jne 0x42b500
mov ecx, dword [eax]
movzx eax, byte [eax + 4]
mov edx, 0x70747468
xor ecx, edx
xor eax, 0x73
or eax, ecx
sete al
mov dword [esi + 0x4c], eax
jmp 0x42b507
mov dword [esi + 0x4c], 0
mov eax, dword [esi + 8]
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov byte [esi + 4], al
push edi
call fcn.004addf0
add esp, 4
mov ebx, dword [esi + 0x38]
mov edi, dword [ebx + 0x20]
test edi, edi
je 0x42b570
mov ecx, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
cmp edi, ebx
jae 0x42b541
cmp byte [ecx + edi], 0xbf
jg 0x42b547
jmp 0x42be6f
jne 0x42be6f
cmp edi, 5
jne 0x42b570
mov edi, dword [ecx]
movzx ecx, byte [ecx + 4]
mov ebx, 0x70747468
xor edi, ebx
xor ecx, 0x73
or ecx, edi
sete bl
jmp 0x42b572
xor ebx, ebx
test eax, eax
mov edi, dword [esi + 0x18]
sete cl
cmp dword [esi + 0x54], 0
je 0x42b5a5
test eax, eax
je 0x42b59f
mov ecx, dword [esi + 0x5c]
cmp ecx, edx
jne 0x42b5a3
push ecx
push eax
push dword [esi + 0x54]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
sete cl
jmp 0x42b5a5
xor ebx, ebx
jmp 0x42b5ad
xor ecx, ecx
xor bl, 1
or bl, byte [esi + 0x4c]
and bl, cl
mov eax, dword [0x578064]
mov byte [esi + 0x3b4], bl
mov ecx, dword [eax]
xor eax, eax
cmp ecx, 4
mov ecx, 0xff
setne al
cmova eax, ecx
cmp al, 0xff
je 0x42b5d9
movzx eax, al
test eax, eax
jne 0x42b686
lea eax, [esi + 0x190]
mov dword [esi + 0x1d8], 0x5060c0
mov dword [esi + 0x1dc], 3
mov dword [esi + 0x1e8], 0
mov word [esi + 0x190], di
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov dword [esi + 0x5e0], 3
mov dword [esi + 0x78], eax
lea eax, [esi + 0x58]
mov dword [esi + 0x7c], fcn.004e6230
mov dword [esi + 0x80], eax
lea eax, [esi + 0x148]
mov dword [esi + 0x84], 0x41f0e0
mov dword [esi + 0x88], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x8c], 0x403940
mov dword [esi + 0x1e0], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1e4], 3
mov byte [esi + 4], al
sub esp, 4
push 0
push 0xd4
push 0x50613c
push 4
lea eax, [esi + 0x1d8]
push eax
call fcn.004adac0
add esp, 0x18
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [esi + 0x60]
movsd qword [esi + 0x1e0], xmm1
movsd xmm2, qword [eax + 0x28]
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0x1d8], xmm0
movsd qword [esi + 0xa0], xmm2
movsd qword [esi + 0x98], xmm1
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x90], xmm2
movsd qword [esi + 0x88], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 0x3c]
movsd qword [esi + 0x80], xmm1
movsd qword [esi + 0x78], xmm2
jne 0x42b723
mov dword [esi + 0x18], ebx
mov dword [esi + 0x38], edi
mov dword [esi + 0x5e0], 8
push eax
lea eax, [esi + 0x3c]
push eax
call fcn.0041d290
add esp, 8
mov eax, dword [esi + 0x44]
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x40]
movsd xmm0, qword [esi + 0x1d8]
movsd xmm1, qword [esi + 0x1e0]
lea edx, [eax + eax*8]
inc eax
movsd qword [ecx + edx*8 + 8], xmm1
movsd qword [ecx + edx*8], xmm0
mov dword [ecx + edx*8 + 0x10], ebx
mov dword [ecx + edx*8 + 0x14], edi
movsd xmm0, qword [esi + 0x78]
movsd xmm1, qword [esi + 0x80]
movsd qword [ecx + edx*8 + 0x18], xmm0
movsd qword [ecx + edx*8 + 0x20], xmm1
movsd xmm0, qword [esi + 0x88]
movsd qword [ecx + edx*8 + 0x28], xmm0
movsd xmm0, qword [esi + 0x90]
movsd qword [ecx + edx*8 + 0x30], xmm0
movsd xmm0, qword [esi + 0x98]
movsd qword [ecx + edx*8 + 0x38], xmm0
movsd xmm0, qword [esi + 0xa0]
movsd qword [ecx + edx*8 + 0x40], xmm0
mov dword [esi + 0x44], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1d8], connect
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov byte [esi + 7], 0
mov dword [esi + 0x5e0], 3
mov byte [esi + 4], al
lea eax, [esi + 0x1d8]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.004368e0
add esp, 8
movsd xmm0, qword [esi + 0x88]
mov eax, dword [ebp + 0x14]
movsd xmm1, qword [esi + 0x80]
mov ecx, dword [esi + 0x48]
mov byte [esi + 0x1e], 1
mov byte [esi + 0x1f], 0
mov dword [esi + 0x5e0], 4
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x78]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
mov dword [esi + 0x198], eax
mov eax, dword [esi + 8]
movsd qword [esi + 0x190], xmm0
mov byte [esi + 0x1d], al
lea eax, [esi + 0x3b4]
push eax
lea eax, [esi + 0x190]
push eax
call fcn.00422730
add esp, 8
mov eax, dword [esi + 0x198]
mov edx, dword [ebp + 0xc]
mov ebx, dword [esi + 8]
movsd xmm0, qword [esi + 0x190]
mov byte [esi + 0x1e], 0
mov byte [esi + 0x1f], 0
mov dword [esi + 0x1e0], eax
mov eax, dword [edx + 0x4c]
mov ecx, dword [edx + 0x48]
mov edx, dword [edx + 0x50]
movsd qword [esi + 0x1d8], xmm0
mov byte [esi + 0x1d], bl
push edx
push eax
push ecx
push dword [ebp + 0x14]
lea eax, [esi + 0x1d8]
push eax
lea eax, [esi + 0x148]
push eax
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [esi + 0x28]
lea eax, [esi + 0x78]
push eax
call fcn.0042a5e0
add esp, 0x28
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
lock dec dword [eax]
jne 0x42b8c4
mov dword [esi + 0x5e0], 7
push dword [esi + 0x28]
call fcn.00417d10
add esp, 4
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x42b8e1
mov dword [esi + 0x5e0], 6
push ecx
call fcn.004174f0
add esp, 4
cmp byte [esi + 0x2c], 0
mov edi, dword [ebp + 0xc]
jne 0x42b8ff
mov eax, dword [edi + 0x60]
test eax, eax
je 0x42b8ff
push 1
push eax
push dword [edi + 0x64]
call fcn.00402cf0
add esp, 0xc
push 0x80
lea eax, [esi + 0x78]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x42b927
push 1
push ecx
push eax
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x158]
test eax, eax
je 0x42b94c
push 1
push eax
push dword [esi + 0x15c]
call fcn.00402cf0
add esp, 0xc
mov dword [esi + 0x5e0], 0
lea ecx, [esi + 0x2f4]
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 1
mov byte [esi + 0x12], 1
mov byte [esi + 0x13], 1
mov dword [esi + 0x5e0], 0
call fcn.004191c0
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
jmp 0x42b110
lea eax, [esi + 0x4b0]
push 0x60
lea ecx, [esi + 0x3fc]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x45c]
push 0x54
lea ecx, [esi + 0x2a0]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
test ebx, ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x20], ecx
je 0x42b9ec
mov eax, dword [esi + 0x2c]
lea edi, [eax + 0x14]
jmp 0x42b9d6
add edi, 0x48
dec ebx
je 0x42b9ec
mov eax, dword [edi - 4]
test eax, eax
je 0x42b9d0
push 1
push eax
push dword [edi]
call fcn.00402cf0
add esp, 0xc
jmp 0x42b9d0
mov eax, dword [esi + 8]
test eax, eax
je 0x42ba07
shl eax, 3
lea eax, [eax + eax*8]
push 4
push eax
push dword [esi + 0x2c]
call fcn.00402cf0
add esp, 0xc
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x4b0]
lea eax, [edi + 4]
push 0x60
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x45c]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x70]
push 0x54
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi], 3
jmp 0x42bd07
mov eax, dword [esi + 0xdc]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xe0]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xe4]
mov dword [esi + 0x18], eax
push 0x54
lea eax, [esi + 0xe8]
push eax
lea eax, [esi + 0x2a0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebx], edi
lea eax, [ebx + 4]
push 0x60
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x6c], eax
add ebx, 0x70
push 0x54
lea ecx, [esi + 0x2a0]
push ecx
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x42bcbd
add eax, 0x88
lea ecx, [esi + 0x78]
mov dword [esi + 0x78], 0x50616c
mov dword [esi + 0x7c], 2
mov dword [esi + 0x88], 0
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov dword [esi + 0x5e0], 1
mov dword [esi + 0x1d8], eax
lea eax, [esi + 0x1d8]
mov dword [esi + 0x1dc], fcn.004e6420
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 1
lea eax, [esi + 0x13c]
push ecx
push eax
call fcn.004e29d0
add esp, 8
mov ecx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x13c]
mov eax, dword [esi + 0x144]
mov dword [ecx], 2
mov dword [ecx + 4], 2
movsd qword [ecx + 0x4c], xmm0
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x58], 0
mov byte [ecx + 0x60], 5
jmp 0x42bc98
movzx eax, byte [esi + 0x194]
lea ecx, [esi + 0x1d8]
mov dword [esi + str.Bad_redirection:], 0x506190
mov dword [esi + 0x1dc], 1
mov dword [esi + 0x1e8], 0
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov byte [esi + 8], al
lea eax, [esi + 0x68]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x70]
mov dword [esi + 0x74], 0x41f100
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], 1
lea eax, [esi + 0xc4]
push ecx
push eax
call fcn.004e29d0
add esp, 8
movzx eax, byte [esi + 8]
mov dword [esi + 0x7c], 2
mov dword [esi + 0xd0], 0
mov byte [esi + 0xd8], 0
mov dword [esi + 0x78], 2
mov byte [esi + 0xc], 1
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x1d8]
push eax
call fcn.00427090
add esp, 0xc
mov eax, dword [esi + 0x1d8]
mov dword [esi + 8], eax
lea eax, [esi + 0x1dc]
push 0x48
push eax
lea edi, [esi + 0x3b4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x224]
lea ecx, [esi + 0x558]
push 0x78
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x48
push edi
lea ebx, [esi + 0x510]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [edi], eax
lea eax, [edi + 4]
push 0x48
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, 0x4c
push 0x78
lea ecx, [esi + 0x558]
push ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x2f4]
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 0
mov byte [esi + 0x12], 1
mov byte [esi + 0x13], 1
mov dword [esi + 0x5e0], 0
call fcn.004191c0
mov edi, dword [esi + 0x44]
test edi, edi
je 0x42bcec
mov ebx, dword [esi + 0x40]
add ebx, 0x14
jmp 0x42bcd6
add ebx, 0x48
dec edi
je 0x42bcec
mov eax, dword [ebx - 4]
test eax, eax
je 0x42bcd0
push 1
push eax
push dword [ebx]
call fcn.00402cf0
add esp, 0xc
jmp 0x42bcd0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x42bd07
shl eax, 3
lea eax, [eax + eax*8]
push 4
push eax
push dword [esi + 0x40]
call fcn.00402cf0
add esp, 0xc
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x42bd24
mov dword [esi + 0x5e0], 0xa
push ecx
call fcn.00417d10
add esp, 4
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x42bd41
mov dword [esi + 0x5e0], 9
push ecx
call fcn.004174f0
add esp, 4
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x42bd59
push 1
push eax
push dword [edi + 0x64]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42bd6e
push 1
push eax
push dword [edi + 0x14]
call fcn.00402cf0
add esp, 0xc
mov edi, dword [edi + 0x74]
test edi, edi
je 0x42bd9c
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x70]
add ebx, 4
jmp 0x42bd86
add ebx, 0x10
dec edi
je 0x42bd9c
mov eax, dword [ebx - 4]
test eax, eax
je 0x42bd80
push 1
push eax
push dword [ebx]
call fcn.00402cf0
add esp, 0xc
jmp 0x42bd80
mov eax, dword [esi + 0x48]
mov eax, dword [eax]
test eax, eax
je 0x42bdb9
shl eax, 4
push 4
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x70]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x5d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x4b0]
push 0x60
lea ecx, [esi + 0x3fc]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x45c]
push 0x54
lea ecx, [esi + 0x2a0]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x158]
test eax, eax
je 0x42b9ac
push 1
push eax
push dword [esi + 0x15c]
call fcn.00402cf0
jmp 0x42b9a9
mov byte [esi + 0x24], 1
mov byte [esi + 0x25], 0
mov byte [esi + 0x26], 1
mov byte [esi + 0x27], 1
mov dword [esi + 0x5e0], 2
push 3
push 1
call fcn.00500210
add esp, 8
jmp 0x42be93
mov ebx, dword [esi + 8]
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov byte [esi + 4], bl
push 0x505ec8
push ecx
push 0
push edx
push eax
call fcn.005004f0
add esp, 0x14
jmp 0x42be93
mov eax, dword [esi + 8]
mov byte [esi + 5], 0
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov byte [esi + 4], al
push 0x505ec8
push edi
push 0
push ebx
push ecx
call fcn.005004f0
add esp, 0x14
ud2