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

Disassembly:
push 0xffffffffffffffff
push 0x42bd9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x50]
call fcn.0041c076
xor ebp, ebp
mov dword [esp + 0x64], 0x42db5c
mov dword [esp + 0x88], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0xa
mov eax, dword [0x4388b0]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [edi + 0xe4]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x8c], 7
call fcn.0042115a
push str.component.lst
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 8
call fcn.0042174d
lea ecx, [esp + 0x3c]
call fcn.004218c9
mov ecx, dword [esp + 0x1c]
push ebp
push 0x4040
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 9
call fcn.0042193e
test eax, eax
je 0x402c59
mov edx, dword [0x4388b0]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x8c], 0xa
call fcn.00421b21
test eax, eax
je 0x40271c
lea ecx, [esp + 0x10]
call fcn.0041bc58
lea ecx, [esp + 0x10]
call fcn.0041bc0c
mov ecx, 0x404020
test ecx, ecx
je 0x402706
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
call fcn.0041b744
mov eax, dword [eax]
push 0x4381ec
push eax
call fcn.0040d141
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.004213e5
test bl, bl
jne 0x402706
push 0x4381e8
push ebp
lea ecx, [esp + 0x18]
call fcn.0042178c
push eax
call fcn.0040d1f0
add esp, 8
lea ecx, [esp + 0x30]
push eax
call fcn.0042156e
push 0x4381e8
push ebp
call fcn.0040d1f0
add esp, 8
lea ecx, [esp + 0x2c]
push eax
call fcn.0042156e
push 0x4381e8
push ebp
call fcn.0040d1f0
add esp, 8
lea ecx, [esp + 0x28]
push eax
call fcn.0042156e
push 0x4381e8
push ebp
call fcn.0040d1f0
add esp, 8
lea ecx, [esp + 0x14]
push eax
call fcn.0042156e
push 0x4381e8
push ebp
call fcn.0040d1f0
add esp, 8
lea ecx, [esp + 0x24]
push eax
call fcn.0042156e
push 0x4381e8
push ebp
call fcn.0040d1f0
add esp, 8
lea ecx, [esp + 0x20]
push eax
call fcn.0042156e
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebp
je 0x402706
push 0x20
call fcn.00420062
add esp, 4
cmp eax, ebp
je 0x402679
mov ecx, dword [0x4388b0]
mov esi, eax
mov dword [eax], ecx
mov edx, dword [0x4388b0]
mov dword [eax + 4], edx
mov ecx, dword [0x4388b0]
mov dword [eax + 8], ecx
mov edx, dword [0x4388b0]
mov dword [eax + 0xc], edx
mov ecx, dword [0x4388b0]
mov dword [eax + 0x10], ecx
mov edx, dword [0x4388b0]
mov dword [eax + 0x14], edx
mov ecx, dword [0x4388b0]
mov dword [eax + 0x18], ecx
mov edx, dword [0x4388b0]
mov dword [eax + 0x1c], edx
jmp 0x40267b
xor esi, esi
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0042151e
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0xc]
call fcn.0042151e
lea edx, [esp + 0x28]
lea ecx, [esi + 8]
push edx
call fcn.0042151e
lea eax, [esp + 0x14]
lea ecx, [esi + 4]
push eax
call fcn.0042151e
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x10]
call fcn.0042151e
lea edx, [esp + 0x20]
lea ecx, [esi + 0x14]
push edx
call fcn.0042151e
mov eax, dword [esp + 0x6c]
push ebp
push eax
lea ecx, [esp + 0x6c]
call fcn.00405050
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
je 0x4026e6
mov dword [ecx], eax
jmp 0x4026ea
mov dword [esp + 0x68], eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x74], eax
call fcn.0042115a
mov ecx, edi
call fcn.00402250
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
call fcn.00421b21
test eax, eax
jne 0x402524
lea ecx, [esp + 0x3c]
call fcn.00421c6e
cmp dword [esp + 0x70], ebp
je 0x402855
lea ebx, [edi + 0xf6]
jmp 0x402739
xor ebp, ebp
mov eax, dword [esp + 0x68]
mov ecx, eax
mov esi, dword [eax + 8]
mov eax, dword [eax]
cmp eax, ebp
mov dword [esp + 0x68], eax
je 0x402751
mov dword [eax + 4], ebp
jmp 0x402755
mov dword [esp + 0x6c], ebp
mov edx, dword [esp + 0x74]
mov dword [ecx], edx
mov eax, dword [esp + 0x70]
dec eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
jne 0x402773
lea ecx, [esp + 0x64]
call fcn.00405020
mov eax, dword [0x4388b0]
mov dword [esp + 0x18], eax
lea ecx, [esi + 8]
push esi
lea edx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x94], 0xb
call fcn.00421614
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x90], 0xc
call fcn.0041c5e2
lea ecx, [esp + 0x34]
mov ebp, eax
mov byte [esp + 0x88], 0xb
call fcn.004213e5
test ebp, ebp
je 0x40281f
mov eax, dword [esi + 0x14]
push 0x43824c
push eax
call fcn.0040d141
add esp, 8
test eax, eax
je 0x4027fb
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
push edx
push eax
mov ecx, edi
call fcn.00403440
test eax, eax
jg 0x4027fb
mov eax, dword [edi + 0x1c2]
lea ebp, [edi + 0x1ba]
push 0
push eax
jmp 0x40280a
mov ecx, dword [edi + 0x11a]
lea ebp, [edi + 0x112]
push 0
push ecx
mov ecx, ebp
call fcn.00405050
mov dword [eax + 8], esi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x402830
mov dword [ecx], eax
jmp 0x402833
mov edx, dword [edi + 0x11a]
lea ebp, [edi + 0x112]
push 0
push edx
jmp 0x40280a
mov dword [ebp + 4], eax
lea ecx, [esp + 0x18]
mov dword [ebp + 8], eax
mov byte [esp + 0x88], 0xa
call fcn.004213e5
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x402737
xor ebp, ebp
cmp dword [edi + 0x11e], ebp
je 0x402b1e
mov al, byte [edi + 0xec]
test al, al
jne 0x402a9f
push 0x44
push 0x438240
push 0x438214
mov ecx, edi
call fcn.0041e518
cmp eax, 6
je 0x402a9f
cmp dword [edi + 0x11e], ebp
je 0x402970
lea ebp, [edi + 0x112]
mov eax, dword [ebp + 4]
xor ebx, ebx
mov ecx, dword [eax]
mov esi, dword [eax + 8]
cmp ecx, ebx
mov dword [ebp + 4], ecx
je 0x4028b3
mov dword [ecx + 4], ebx
jmp 0x4028b6
mov dword [ebp + 8], ebx
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jne 0x4028ce
mov ecx, ebp
call fcn.00405020
cmp esi, ebx
mov dword [esp + 0x38], esi
je 0x402962
lea ecx, [esi + 0x1c]
mov byte [esp + 0x88], 0x13
call fcn.004213e5
lea ecx, [esi + 0x18]
mov byte [esp + 0x88], 0x12
call fcn.004213e5
lea ecx, [esi + 0x14]
mov byte [esp + 0x88], 0x11
call fcn.004213e5
lea ecx, [esi + 0x10]
mov byte [esp + 0x88], 0x10
call fcn.004213e5
lea ecx, [esi + 0xc]
mov byte [esp + 0x88], 0xf
call fcn.004213e5
lea ecx, [esi + 8]
mov byte [esp + 0x88], 0xe
call fcn.004213e5
lea ecx, [esi + 4]
mov byte [esp + 0x88], 0xd
call fcn.004213e5
mov ecx, esi
mov byte [esp + 0x88], 0xa
call fcn.004213e5
push esi
call fcn.0042008b
add esp, 4
cmp dword [edi + 0x11e], ebx
jne 0x40289d
xor ebp, ebp
cmp dword [edi + 0x1c6], ebp
je 0x402a93
mov bl, 0x14
mov eax, dword [edi + 0x1be]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
cmp ecx, ebp
mov dword [edi + 0x1be], ecx
je 0x402998
mov dword [ecx + 4], ebp
jmp 0x40299e
mov dword [edi + 0x1c2], ebp
mov edx, dword [edi + 0x1ca]
mov dword [eax], edx
mov dword [edi + 0x1ca], eax
mov eax, dword [edi + 0x1c6]
dec eax
mov dword [edi + 0x1c6], eax
jne 0x4029f4
mov eax, dword [edi + 0x1be]
cmp eax, ebp
je 0x4029cb
mov eax, dword [eax]
cmp eax, ebp
jne 0x4029c5
mov ecx, dword [edi + 0x1ce]
mov dword [edi + 0x1c6], ebp
mov dword [edi + 0x1ca], ebp
mov dword [edi + 0x1c2], ebp
mov dword [edi + 0x1be], ebp
call fcn.0041c060
mov dword [edi + 0x1ce], ebp
cmp esi, ebp
mov dword [esp + 0x38], esi
je 0x402a87
lea ecx, [esi + 0x1c]
mov byte [esp + 0x88], 0x1a
call fcn.004213e5
lea ecx, [esi + 0x18]
mov byte [esp + 0x88], 0x19
call fcn.004213e5
lea ecx, [esi + 0x14]
mov byte [esp + 0x88], 0x18
call fcn.004213e5
lea ecx, [esi + 0x10]
mov byte [esp + 0x88], 0x17
call fcn.004213e5
lea ecx, [esi + 0xc]
mov byte [esp + 0x88], 0x16
call fcn.004213e5
lea ecx, [esi + 8]
mov byte [esp + 0x88], 0x15
call fcn.004213e5
lea ecx, [esi + 4]
mov byte [esp + 0x88], bl
call fcn.004213e5
mov ecx, esi
mov byte [esp + 0x88], 0xa
call fcn.004213e5
push esi
call fcn.0042008b
add esp, 4
cmp dword [edi + 0x1c6], ebp
jne 0x40297e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
jmp 0x402c48
lea esi, [edi + 0x1e6]
push edi
push 0x82
mov ecx, esi
mov dword [edi + 0xf2], 2
call fcn.0042024e
mov eax, dword [edi + 0x11e]
mov ecx, dword [edi + 0x25e]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0xffff
shl eax, 0x10
push eax
push ebp
push 0x401
push ecx
call ebx
mov edx, dword [edi + 0x25e]
push ebp
push 1
push 0x404
push edx
call ebx
push ebp
mov ecx, esi
call fcn.0041ef00
push 1
mov ecx, esi
call fcn.0041f9d3
mov eax, dword [edi + 0x25e]
push ebp
push ebp
push 0x405
push eax
call ebx
mov ecx, edi
call fcn.00404030
jmp 0x402c48
cmp dword [edi + 0x1c6], ebp
je 0x402c41
mov bl, 0x1b
mov eax, dword [edi + 0x1be]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
cmp ecx, ebp
mov dword [edi + 0x1be], ecx
je 0x402b46
mov dword [ecx + 4], ebp
jmp 0x402b4c
mov dword [edi + 0x1c2], ebp
mov ecx, dword [edi + 0x1ca]
mov dword [eax], ecx
mov dword [edi + 0x1ca], eax
mov eax, dword [edi + 0x1c6]
dec eax
mov dword [edi + 0x1c6], eax
jne 0x402ba2
mov eax, dword [edi + 0x1be]
cmp eax, ebp
je 0x402b79
mov eax, dword [eax]
cmp eax, ebp
jne 0x402b73
mov ecx, dword [edi + 0x1ce]
mov dword [edi + 0x1c6], ebp
mov dword [edi + 0x1ca], ebp
mov dword [edi + 0x1c2], ebp
mov dword [edi + 0x1be], ebp
call fcn.0041c060
mov dword [edi + 0x1ce], ebp
cmp esi, ebp
mov dword [esp + 0x38], esi
je 0x402c35
lea ecx, [esi + 0x1c]
mov byte [esp + 0x88], 0x21
call fcn.004213e5
lea ecx, [esi + 0x18]
mov byte [esp + 0x88], 0x20
call fcn.004213e5
lea ecx, [esi + 0x14]
mov byte [esp + 0x88], 0x1f
call fcn.004213e5
lea ecx, [esi + 0x10]
mov byte [esp + 0x88], 0x1e
call fcn.004213e5
lea ecx, [esi + 0xc]
mov byte [esp + 0x88], 0x1d
call fcn.004213e5
lea ecx, [esi + 8]
mov byte [esp + 0x88], 0x1c
call fcn.004213e5
lea ecx, [esi + 4]
mov byte [esp + 0x88], bl
call fcn.004213e5
mov ecx, esi
mov byte [esp + 0x88], 0xa
call fcn.004213e5
push esi
call fcn.0042008b
add esp, 4
cmp dword [edi + 0x1c6], ebp
jne 0x402b2c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x58]
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], 9
call fcn.004213e5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 8
call fcn.004218fb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 7
call fcn.004213e5
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 6
call fcn.004213e5
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 5
call fcn.004213e5
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 4
call fcn.004213e5
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 3
call fcn.004213e5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 2
call fcn.004213e5
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 1
call fcn.004213e5
mov dword [esp + 0x64], 0x42db5c
mov eax, dword [esp + 0x68]
mov byte [esp + 0x88], 0x22
cmp eax, ebp
je 0x402cff
mov eax, dword [eax]
cmp eax, ebp
jne 0x402cf9
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
call fcn.0041c060
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x88], 0xffffffff
call fcn.0041c0a9
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret