Function at 0x402950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426875
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x433014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.varproj_v1
push 0x433fd0
call fcn.00406510
add esp, 8
mov dword [ebp - 0x5c], eax
push 0x406850
mov ecx, dword [ebp - 0x5c]
call fcn.004030c0
mov dword [ebp - 0x60], eax
push 0x406850
mov ecx, dword [ebp - 0x60]
call fcn.004030c0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
jmp 0x4029f0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0xc]
add edx, 0x14
cmp dword [ebp - 0x54], edx
je 0x402b9e
mov eax, dword [ebp - 0x54]
sub eax, 8
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x28], 0
je 0x402b99
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403270
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x45]
call fcn.00403650
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00403170
mov edx, dword [eax]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004031e0
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406890
mov byte [ebp - 4], 1
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00406990
add esp, 8
movzx eax, al
test eax, eax
je 0x402b7e
push str._tModule_name_
push 0x433fd0
call fcn.00406510
add esp, 8
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004069b0
add esp, 8
mov dword [ebp - 0x78], eax
push 0x406850
mov ecx, dword [ebp - 0x78]
call fcn.004030c0
push str._tDll_base__0x
push 0x433fd0
call fcn.00406510
add esp, 8
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.00402cc0
mov dword [ebp - 0x84], eax
push 0x406850
mov ecx, dword [ebp - 0x84]
call fcn.004030c0
push str._tGetModuleHandle_NULL___0x
push 0x433fd0
call fcn.00406510
add esp, 8
mov dword [ebp - 0x8c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.00402cc0
mov dword [ebp - 0x90], eax
push 0x406850
mov ecx, dword [ebp - 0x90]
call fcn.004030c0
mov dword [ebp - 0x94], eax
push 0x406850
mov ecx, dword [ebp - 0x94]
call fcn.004030c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004033f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403230
jmp 0x4029e2
push str._tCount_arguments_
push 0x433fd0
call fcn.00406510
add esp, 8
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
call fcn.00402ea0
mov dword [ebp - 0x9c], eax
push 0x406850
mov ecx, dword [ebp - 0x9c]
call fcn.004030c0
mov dword [ebp - 0x44], 0
jmp 0x402bed
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 8]
je 0x402c70
push str._tArgument
push 0x433fd0
call fcn.00406510
add esp, 8
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.00402ea0
push 0x42fb50
push eax
call fcn.00406510
add esp, 8
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
call fcn.00406510
add esp, 8
mov dword [ebp - 0xac], eax
push 0x406850
mov ecx, dword [ebp - 0xac]
call fcn.004030c0
jmp 0x402be4
push 0x42fb60
push 0x433fd0
call fcn.00406510
add esp, 8
mov dword [ebp - 0xb0], eax
push 0x406850
mov ecx, dword [ebp - 0xb0]
call fcn.004030c0
call fcn.00411413
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ab6f
mov esp, ebp
pop ebp
ret