Function at 0x40e9a0
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x429791
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov ecx, 0x42eb74
lea esi, [esp + 0x14]
mov dword [esp + 0x80], ebp
call fcn.004095f0
cmp eax, 0xe0010020
jne 0x40eac2
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x42eb98
call dword [0x42b1b8]
call fcn.0041e040
add esp, 4
cmp dword [edi + 0x2b4], ebp
je 0x40ea85
push ebp
lea esi, [edi + 0x294]
push 0x408
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x404
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 0x105
push ebp
mov dword [0x43e6d8], 2
mov eax, dword [edi + 0x20]
push ebp
push eax
call dword [0x42b8d4]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40eaaf
push eax
call dword [0x42b100]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop esi
pop ebp
add esp, 0x7c
ret
lea esi, [edi + 0x260]
mov dword [esi], ebp
mov dword [edi + 0x264], ebp
mov dword [edi + 0x268], ebp
mov dword [edi + 0x26c], ebp
mov dword [edi + 0x270], ebp
mov dword [edi + 0x274], ebp
call dword [esp + 0x18]
test eax, eax
je 0x40eaf6
mov dword [esi], 1
call dword [esp + 0x20]
test eax, eax
je 0x40eb08
mov dword [edi + 0x264], 1
push 0x43f06c
push ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x43f288
call dword [0x42b7c8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x80], 1
call dword [0x42b2bc]
push eax
call dword [0x42b6b4]
add esp, 4
xor ecx, ecx
cmp eax, ebp
jle 0x40eb54
mov edx, esi
cmp dword [edx], ebp
jne 0x40ebfd
add ecx, 1
add edx, 4
cmp ecx, eax
jl 0x40eb42
cmp dword [edi + 0x2b4], ebp
je 0x40ebb3
push 5
lea esi, [edi + 0x294]
push 0x408
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push ebp
push 0x404
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push ebp
push 0x445
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push ebp
push 0x44b
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 0x105
push ebp
mov dword [0x43e6d8], 1
mov eax, dword [edi + 0x20]
push ebp
push eax
call dword [0x42b8d4]
lea ecx, [esp + 0xc]
call dword [0x42b63c]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40ebe7
push eax
call dword [0x42b100]
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop esi
pop ebp
add esp, 0x7c
ret
cmp dword [edi + 0x2b4], ebp
je 0x40ec5e
push ebp
lea esi, [edi + 0x294]
push 0x408
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x404
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x445
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 5
push 0x44b
mov ecx, esi
call fcn.0042549a
mov ecx, eax
call fcn.00425740
push 0x105
push ebp
mov dword [0x43e6d8], ebp
mov edx, dword [edi + 0x20]
push ebp
push edx
call dword [0x42b8d4]
lea ecx, [esp + 0xc]
call dword [0x42b63c]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40eaaf
push eax
call dword [0x42b100]
mov ecx, dword [esp + 0x78]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebp
add esp, 0x7c
ret