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 0x418662
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
lea ecx, [edi + 0x150]
mov byte [ebp - 4], 0x29
call fcn.004010a0
lea ecx, [edi + 0x158]
mov byte [ebp - 4], 0x2a
call fcn.004010a0
lea ecx, [edi + 0x160]
mov byte [ebp - 4], 0x2b
call fcn.004010a0
lea ecx, [edi + 0x168]
mov byte [ebp - 4], 0x2c
call fcn.004010a0
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x188]
mov byte [ebp - 4], 0x2d
mov dword [edi + 0x170], eax
mov dword [edi + 0x17c], 2
mov dword [edi + 0x180], 0
mov byte [edi + 0x184], 0
call fcn.004010a0
lea ecx, [edi + 0x190]
mov byte [ebp - 4], 0x2e
call fcn.004010a0
push fcn.004010d0
push fcn.004010a0
push 0x11
push 8
lea eax, [edi + 0x198]
push eax
mov byte [ebp - 4], 0x2f
call fcn.0040ec92
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
lea ecx, [edi + 0x240]
mov byte [ebp - 4], 0x34
call fcn.004010a0
lea ecx, [edi + 0x248]
mov byte [ebp - 4], 0x35
call fcn.004010a0
lea ecx, [edi + 0x250]
mov byte [ebp - 4], 0x36
call fcn.004010a0
lea ecx, [edi + 0x258]
mov byte [ebp - 4], 0x37
call fcn.004010a0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x38
mov dword [edi + 0x260], eax
mov dword [edi + 0x264], 0
mov byte [edi + 0x268], 0
mov word [edi + 0x26a], 0
mov byte [edi + 0x26c], 0
lea ecx, [edi + 0x274]
call fcn.004010a0
lea ecx, [edi + 0x284]
mov byte [ebp - 4], 0x39
mov byte [edi + 0x27c], 1
mov dword [edi + 0x280], 0
call fcn.004010a0
lea esi, [edi + 0x28c]
mov ecx, esi
mov byte [ebp - 4], 0x3a
call fcn.004010a0
mov dword [esi + 8], 0x1000000
mov word [esi + 0xc], 0
lea ecx, [edi + 0x2ac]
mov byte [ebp - 4], 0x3b
mov dword [edi + 0x29c], 0xffffffff
mov byte [edi + 0x2a0], 0
mov dword [edi + 0x2a4], 0
mov dword [edi + 0x2a8], 0
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
lea ecx, [edi + 0x2c4]
mov byte [ebp - 4], 0x3e
call fcn.004010a0
lea ecx, [edi + 0x2cc]
mov byte [ebp - 4], 0x3f
call fcn.004010a0
lea ecx, [edi + 0x2d4]
mov byte [ebp - 4], 0x40
call fcn.004010a0
lea ecx, [edi + 0x2dc]
mov byte [ebp - 4], 0x41
call fcn.004010a0
push dword [ebp + 0x14]
lea ecx, [edi + 0x2e4]
mov byte [ebp - 4], 0x42
call fcn.00401070
mov al, byte [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 0x43
mov byte [edi + 0x2f0], 0
mov byte [edi + 0x2f2], al
call fcn.00407950
mov ecx, edi
call fcn.004065d0
push 0x10
call fcn.0040e7dc
add esp, 4
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x44
test eax, eax
je 0x402c0a
push edi
mov ecx, eax
call fcn.00409cb0
jmp 0x402c0c
xor eax, eax
push 4
mov byte [ebp - 4], 0x43
mov dword [edi + 0x174], eax
call fcn.0040e7dc
add esp, 4
test eax, eax
je 0x402c2c
mov dword [eax], 0
jmp 0x402c2e
xor eax, eax
mov ecx, dword [edi + 0x174]
mov dword [edi + 0x178], eax
call fcn.0040a3b0
mov ecx, edi
call fcn.004074f0
mov ecx, dword [edi + 0x174]
call fcn.00409fa0
test al, al
jns 0x402cd3
sub esp, 8
mov ecx, esp
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
call fcn.004010a0
mov ecx, dword [edi + 0x174]
push 0x80
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040a810
test al, al
je 0x402cd3
lea ecx, [ebp - 0x18]
call fcn.004010a0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push dword [ebp + 0x10]
mov byte [ebp - 4], 0x45
call fcn.004018b0
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401000
mov ecx, dword [edi + 0x178]
call fcn.0040bad0
push dword [ebp + 0x10]
call fcn.0040fb21
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x43
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