Function at 0x402730
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4180fa
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4241dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004010a0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call fcn.004010a0
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
call fcn.004010a0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
call fcn.004010a0
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 3
call fcn.004010a0
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 4
call fcn.004010a0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.004010a0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 6
call fcn.004010a0
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 7
call fcn.004010a0
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 8
call fcn.004010a0
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 9
call fcn.004010a0
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 0xa
call fcn.004010a0
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 0xb
call fcn.004010a0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 0xc
call fcn.004010a0
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 0xd
call fcn.004010a0
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 0xe
call fcn.004010a0
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 0xf
call fcn.004010a0
lea ecx, [edi + 0x88]
mov byte [ebp - 4], 0x10
call fcn.004010a0
lea ecx, [edi + 0x90]
mov byte [ebp - 4], 0x11
call fcn.004010a0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 0x12
call fcn.004010a0
lea ecx, [edi + 0xa0]
mov byte [ebp - 4], 0x13
call fcn.004010a0
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 0x14
call fcn.004010a0
lea ecx, [edi + 0xb0]
mov byte [ebp - 4], 0x15
call fcn.004010a0
lea ecx, [edi + 0xb8]
mov byte [ebp - 4], 0x16
call fcn.004010a0
lea ecx, [edi + 0xc0]
mov byte [ebp - 4], 0x17
call fcn.004010a0
lea ecx, [edi + 0xc8]
mov byte [ebp - 4], 0x18
call fcn.004010a0
lea ecx, [edi + 0xd0]
mov byte [ebp - 4], 0x19
call fcn.004010a0
lea ecx, [edi + 0xd8]
mov byte [ebp - 4], 0x1a
call fcn.004010a0
lea ecx, [edi + 0xe0]
mov byte [ebp - 4], 0x1b
call fcn.004010a0
lea ecx, [edi + 0xe8]
mov byte [ebp - 4], 0x1c
call fcn.004010a0
lea ecx, [edi + 0xf0]
mov byte [ebp - 4], 0x1d
call fcn.004010a0
lea ecx, [edi + 0xf8]
mov byte [ebp - 4], 0x1e
call fcn.004010a0
lea ecx, [edi + 0x100]
mov byte [ebp - 4], 0x1f
call fcn.004010a0
lea ecx, [edi + 0x108]
mov byte [ebp - 4], 0x20
call fcn.004010a0
lea ecx, [edi + 0x110]
mov byte [ebp - 4], 0x21
call fcn.004010a0
lea ecx, [edi + 0x118]
mov byte [ebp - 4], 0x22
call fcn.004010a0
lea ecx, [edi + 0x120]
mov byte [ebp - 4], 0x23
call fcn.004010a0
lea ecx, [edi + 0x128]
mov byte [ebp - 4], 0x24
call fcn.004010a0
lea ecx, [edi + 0x130]
mov byte [ebp - 4], 0x25
call fcn.004010a0
lea ecx, [edi + 0x138]
mov byte [ebp - 4], 0x26
call fcn.004010a0
lea ecx, [edi + 0x140]
mov byte [ebp - 4], 0x27
call fcn.004010a0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 0x28
call fcn.004010a0
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x168]
mov byte [ebp - 4], 0x29
mov dword [edi + 0x150], eax
mov dword [edi + 0x15c], 2
mov dword [edi + 0x160], 0
mov byte [edi + 0x164], 0
call fcn.004010a0
lea ecx, [edi + 0x170]
mov byte [ebp - 4], 0x2a
call fcn.004010a0
push fcn.004010d0
push fcn.004010a0
push 0x11
push 8
lea eax, [edi + 0x178]
push eax
mov byte [ebp - 4], 0x2b
call fcn.0040e762
lea ecx, [edi + 0x200]
mov byte [ebp - 4], 0x2c
call fcn.004010a0
lea ecx, [edi + 0x208]
mov byte [ebp - 4], 0x2d
call fcn.004010a0
lea ecx, [edi + 0x210]
mov byte [ebp - 4], 0x2e
call fcn.004010a0
lea ecx, [edi + 0x218]
mov byte [ebp - 4], 0x2f
call fcn.004010a0
lea ecx, [edi + 0x220]
mov byte [ebp - 4], 0x30
call fcn.004010a0
lea ecx, [edi + 0x228]
mov byte [ebp - 4], 0x31
call fcn.004010a0
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0x32
call fcn.004010a0
lea ecx, [edi + 0x238]
mov byte [ebp - 4], 0x33
call fcn.004010a0
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x254]
mov byte [ebp - 4], 0x34
mov dword [edi + 0x240], eax
mov dword [edi + 0x244], 0
mov byte [edi + 0x248], 0
mov word [edi + 0x24a], 0
mov byte [edi + 0x24c], 0
call fcn.004010a0
lea ecx, [edi + 0x264]
mov byte [ebp - 4], 0x35
mov byte [edi + 0x25c], 1
mov dword [edi + 0x260], 0
call fcn.004010a0
lea esi, [edi + 0x26c]
mov ecx, esi
mov byte [ebp - 4], 0x36
call fcn.004010a0
mov dword [esi + 8], 0x1000000
mov word [esi + 0xc], 0
lea ecx, [edi + 0x28c]
mov byte [ebp - 4], 0x37
mov dword [edi + 0x27c], 0xffffffff
mov byte [edi + 0x280], 0
mov dword [edi + 0x284], 0
mov dword [edi + 0x288], 0
call fcn.004010a0
lea ecx, [edi + 0x294]
mov byte [ebp - 4], 0x38
call fcn.004010a0
lea ecx, [edi + 0x29c]
mov byte [ebp - 4], 0x39
call fcn.004010a0
lea ecx, [edi + 0x2a4]
mov byte [ebp - 4], 0x3a
call fcn.004010a0
lea ecx, [edi + 0x2ac]
mov byte [ebp - 4], 0x3b
call fcn.004010a0
lea ecx, [edi + 0x2b4]
mov byte [ebp - 4], 0x3c
call fcn.004010a0
lea ecx, [edi + 0x2bc]
mov byte [ebp - 4], 0x3d
call fcn.004010a0
push dword [ebp + 0x14]
lea ecx, [edi + 0x2c4]
mov byte [ebp - 4], 0x3e
call fcn.00401070
mov al, byte [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 0x3f
mov byte [edi + 0x2d0], 0
mov byte [edi + 0x2d2], al
call fcn.00407420
mov ecx, edi
call fcn.004061a0
push 0x10
call fcn.0040e2ac
add esp, 4
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x40
test eax, eax
je 0x402bce
push edi
mov ecx, eax
call fcn.00409780
jmp 0x402bd0
xor eax, eax
push 4
mov byte [ebp - 4], 0x3f
mov dword [edi + 0x154], eax
call fcn.0040e2ac
add esp, 4
test eax, eax
je 0x402bf0
mov dword [eax], 0
jmp 0x402bf2
xor eax, eax
mov ecx, dword [edi + 0x154]
mov dword [edi + 0x158], eax
call fcn.00409e80
mov ecx, edi
call fcn.00406fc0
mov ecx, dword [edi + 0x154]
call fcn.00409a70
test al, al
jns 0x402c97
sub esp, 8
mov ecx, esp
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
call fcn.004010a0
mov ecx, dword [edi + 0x154]
push 0x80
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040a2e0
test al, al
je 0x402c97
lea ecx, [ebp - 0x18]
call fcn.004010a0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push dword [ebp + 0x10]
mov byte [ebp - 4], 0x41
call fcn.004018b0
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401000
mov ecx, dword [edi + 0x158]
call fcn.0040b5a0
push dword [ebp + 0x10]
call fcn.0040f5f1
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x3f
call fcn.004010d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10