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 0x418384
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
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x180]
mov byte [ebp - 4], 0x2c
mov dword [edi + 0x168], eax
mov dword [edi + 0x174], 2
mov dword [edi + 0x178], 0
mov byte [edi + 0x17c], 0
call fcn.004010a0
lea ecx, [edi + 0x188]
mov byte [ebp - 4], 0x2d
call fcn.004010a0
push fcn.004010d0
push fcn.004010a0
push 0x11
push 8
lea eax, [edi + 0x190]
push eax
mov byte [ebp - 4], 0x2e
call fcn.0040e9c2
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
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
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x26c]
mov byte [ebp - 4], 0x37
mov dword [edi + 0x258], eax
mov dword [edi + 0x25c], 0
mov byte [edi + 0x260], 0
mov word [edi + 0x262], 0
mov byte [edi + 0x264], 0
call fcn.004010a0
mov byte [ebp - 4], 0x38
lea ecx, [edi + 0x27c]
mov byte [edi + 0x274], 1
mov dword [edi + 0x278], 0
call fcn.004010a0
lea esi, [edi + 0x284]
mov ecx, esi
mov byte [ebp - 4], 0x39
call fcn.004010a0
mov dword [esi + 8], 0x1000000
mov word [esi + 0xc], 0
lea ecx, [edi + 0x2a4]
mov byte [ebp - 4], 0x3a
mov dword [edi + 0x294], 0xffffffff
mov byte [edi + 0x298], 0
mov dword [edi + 0x29c], 0
mov dword [edi + 0x2a0], 0
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
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
push dword [ebp + 0x14]
lea ecx, [edi + 0x2dc]
mov byte [ebp - 4], 0x41
call fcn.00401070
mov al, byte [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 0x42
mov byte [edi + 0x2e8], 0
mov byte [edi + 0x2ea], al
call fcn.00407670
mov ecx, edi
call fcn.00406310
push 0x10
call fcn.0040e50c
add esp, 4
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x43
test eax, eax
je 0x402bfb
push edi
mov ecx, eax
call fcn.004099d0
jmp 0x402bfd
xor eax, eax
push 4
mov byte [ebp - 4], 0x42
mov dword [edi + 0x16c], eax
call fcn.0040e50c
add esp, 4
test eax, eax
je 0x402c1d
mov dword [eax], 0
jmp 0x402c1f
xor eax, eax
mov ecx, dword [edi + 0x16c]
mov dword [edi + 0x170], eax
call fcn.0040a0d0
mov ecx, edi
call fcn.00407210
mov ecx, dword [edi + 0x16c]
call fcn.00409cc0
test al, al
jns 0x402cc4
sub esp, 8
mov ecx, esp
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
call fcn.004010a0
mov ecx, dword [edi + 0x16c]
push 0x80
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040a530
test al, al
je 0x402cc4
lea ecx, [ebp - 0x18]
call fcn.004010a0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push dword [ebp + 0x10]
mov byte [ebp - 4], 0x44
call fcn.004018b0
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401000
mov ecx, dword [edi + 0x170]
call fcn.0040b800
push dword [ebp + 0x10]
call fcn.0040f851
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x42
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