Function at 0x4023c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51b1b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [esp + 0xe4]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 0
call fcn.00507da8
mov ecx, dword [0x569c90]
mov ebp, 1
mov dword [esp + 0xe8], ebp
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0xec], 2
call fcn.00507aaf
mov eax, dword [0x569c90]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
push 0x20
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 7
call fcn.00508201
test eax, eax
jge 0x40246c
mov esi, dword [esp + 0xf0]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00507aaf
mov dword [esp + 0x34], ebp
jmp 0x4030a6
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
test esi, esi
jl 0x403086
mov bl, 0x1f
lea ecx, [esp + 0x78]
push esi
push ecx
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.00505091
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 8
call fcn.00507e73
lea ecx, [esp + 0x78]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
inc esi
lea edx, [esp + 0x40]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 9
call fcn.00507e73
lea ecx, [esp + 0x40]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
lea ecx, [esp + 0x10]
call fcn.005056c4
push str.port:
lea ecx, [esp + 0x14]
call fcn.00505156
test eax, eax
jne 0x4025e3
lea eax, [esp + 0x90]
push 5
push eax
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0xa
call fcn.00507e73
lea ecx, [esp + 0x90]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x4025d3
lea ecx, [esp + 0x48]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00505091
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 0xb
call fcn.00507e73
lea ecx, [esp + 0x48]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
inc esi
lea edx, [esp + 0xb8]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0xc
call fcn.00507e73
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
jmp 0x4025e1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.00507e73
mov edi, ebp
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x55d10c
lea ecx, [esp + 0x14]
call fcn.00505156
test eax, eax
jne 0x4026c9
lea ecx, [esp + 0x50]
push 2
push ecx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0xd
call fcn.00507e73
lea ecx, [esp + 0x50]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
lea ecx, [esp + 0x10]
cmp esi, 0xffffffff
je 0x4026bd
lea edx, [esp + 0x98]
push esi
push edx
call fcn.00505091
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 0xe
call fcn.00507e73
lea ecx, [esp + 0x98]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
inc esi
lea eax, [esp + 0x58]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0xf
call fcn.00507e73
lea ecx, [esp + 0x58]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
jmp 0x4026c7
push ecx
lea ecx, [esp + 0x1c]
call fcn.00507e73
mov edi, ebp
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x55d108
lea ecx, [esp + 0x14]
call fcn.00505156
test eax, eax
jne 0x4027b9
lea edx, [esp + 0xd8]
push 2
push edx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x10
call fcn.00507e73
lea ecx, [esp + 0xd8]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x4027a9
lea eax, [esp + 0x60]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00505091
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 0x11
call fcn.00507e73
lea ecx, [esp + 0x60]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
inc esi
lea ecx, [esp + 0xa0]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x12
call fcn.00507e73
lea ecx, [esp + 0xa0]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
jmp 0x4027b7
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call fcn.00507e73
mov edi, ebp
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x55d10c
lea ecx, [esp + 0x14]
call fcn.00505156
test eax, eax
jne 0x4028a3
lea eax, [esp + 0x68]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x13
call fcn.00507e73
lea ecx, [esp + 0x68]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x402893
lea ecx, [esp + 0xc0]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00505091
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 0x14
call fcn.00507e73
lea ecx, [esp + 0xc0]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
inc esi
lea edx, [esp + 0x70]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x15
call fcn.00507e73
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
jmp 0x4028a1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.00507e73
mov edi, ebp
lea ecx, [esp + 0x10]
call fcn.005056c4
push str.l_p:
lea ecx, [esp + 0x14]
call fcn.00505156
test eax, eax
jne 0x402b27
mov ecx, dword [0x569c90]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0xa8]
push 4
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 0x16
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x17
call fcn.00507e73
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe8], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x10]
call fcn.005056c4
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x402995
lea eax, [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00505091
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 0x18
call fcn.00507e73
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 0x16
call fcn.00507d3a
inc esi
lea ecx, [esp + 0xd0]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x19
call fcn.00507e73
lea ecx, [esp + 0xd0]
mov byte [esp + 0xe8], 0x16
call fcn.00507d3a
jmp 0x4029a3
lea edx, [esp + 0x10]
lea ecx, [esp + 0x28]
push edx
call fcn.00507e73
lea eax, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
call fcn.00507e73
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
call fcn.00507e73
push 0x2f
lea ecx, [esp + 0x2c]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x402a3a
lea edx, [esp + 0x80]
push esi
push edx
lea ecx, [esp + 0x30]
call fcn.00505091
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 0x1a
call fcn.00507e73
lea ecx, [esp + 0x80]
mov byte [esp + 0xe8], 0x16
call fcn.00507d3a
inc esi
lea eax, [esp + 0xb0]
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 0x1b
call fcn.00507e73
lea ecx, [esp + 0xb0]
jmp 0x402b07
push str.and
lea ecx, [esp + 0x14]
call fcn.00505156
test eax, eax
jne 0x402b14
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
call fcn.00507e73
lea edx, [esp + 0x88]
push 4
push edx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x1c
call fcn.00507e73
lea ecx, [esp + 0x88]
mov byte [esp + 0xe8], 0x16
call fcn.00507d3a
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x402b14
lea eax, [esp + 0xc8]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00505091
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 0x1d
call fcn.00507e73
lea ecx, [esp + 0xc8]
mov byte [esp + 0xe8], 0x16
call fcn.00507d3a
inc esi
lea ecx, [esp + 0x3c]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xec], 0x1e
call fcn.00507e73
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
jmp 0x402b2f
test edi, edi
je 0x403138
mov edx, dword [0x569c90]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
mov byte [esp + 0xe8], bl
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x402d2b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x402d2b
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 8]
test eax, eax
jne 0x402d2b
push 0x3a
lea ecx, [esp + 0x18]
call fcn.00508201
push 0x2f
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00508201
cmp esi, eax
jle 0x402cf0
lea eax, [esi + 1]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 0x2c
call fcn.00507e73
lea ecx, [esp + 0x44]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
lea edx, [esp + 0x4c]
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00505091
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x2d
call fcn.00507e73
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x402c66
lea eax, [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 0x2e
call fcn.00507e73
lea ecx, [esp + 0x54]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
lea ecx, [esp + 0x5c]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00505091
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x2f
call fcn.00507e73
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
lea edx, [esp + 0x14]
push 0x3a
lea eax, [esp + 0x78]
push edx
push eax
call fcn.00504b16
lea ecx, [esp + 0x18]
lea edx, [esp + 0x6c]
push ecx
push eax
push edx
mov byte [esp + 0xf4], 0x30
call fcn.00507f69
lea ecx, [esp + 0x30]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0xf4], 0x31
call fcn.00507f69
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 0x32
call fcn.00508152
lea ecx, [esp + 0x64]
mov byte [esp + 0xe8], 0x31
call fcn.00507d3a
lea ecx, [esp + 0x6c]
mov byte [esp + 0xe8], 0x30
call fcn.00507d3a
lea ecx, [esp + 0x74]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
jmp 0x403060
lea eax, [esp + 0x14]
lea ecx, [esp + 0x7c]
push eax
push 0x55d0f4
push ecx
call fcn.00508043
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 0x33
call fcn.00508152
lea ecx, [esp + 0x7c]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
jmp 0x403060
push 0x55d0f0
lea ecx, [esp + 0x18]
call fcn.00505156
test eax, eax
jl 0x402e02
push 0x55d0f0
lea ecx, [esp + 0x18]
call fcn.00505156
add eax, 3
lea edx, [esp + 0x8c]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00505091
push eax
lea eax, [esp + 0x88]
push 0x55d0f4
push eax
mov byte [esp + 0xf4], 0x20
call fcn.00508043
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 0x21
call fcn.00508152
lea ecx, [esp + 0x84]
mov byte [esp + 0xe8], 0x20
call fcn.00507d3a
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
push 0x55d0f0
lea ecx, [esp + 0x18]
call fcn.00505156
add eax, 3
lea ecx, [esp + 0x94]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x22
call fcn.00507e73
lea ecx, [esp + 0x94]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
jmp 0x402e10
push 0x55d0f4
lea ecx, [esp + 0x20]
call fcn.00508116
push 0x3a
lea ecx, [esp + 0x18]
call fcn.00505134
mov esi, eax
cmp esi, 0xffffffff
je 0x402ecb
push 0x40
lea ecx, [esp + 0x18]
call fcn.00508201
cmp eax, esi
jge 0x402ecb
mov ecx, dword [esp + 0x14]
lea edi, [esi + 1]
mov eax, dword [ecx - 8]
cmp edi, eax
jge 0x402ecb
movsx edx, byte [esi + ecx + 1]
push edx
call fcn.0048d720
add esp, 4
test eax, eax
je 0x402ecb
lea eax, [esp + 0x9c]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 0x23
call fcn.00507e73
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
lea ecx, [esp + 0xa4]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00505091
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x24
call fcn.00507e73
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00508201
mov esi, eax
cmp esi, 0xffffffff
je 0x402f4b
lea edx, [esp + 0xac]
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 0x25
call fcn.00507e73
lea ecx, [esp + 0xac]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
lea eax, [esp + 0xb4]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00505091
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 0x26
call fcn.00507e73
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
lea ecx, [esp + 0x24]
push 0x3a
lea edx, [esp + 0xd8]
push ecx
push edx
call fcn.00504b16
lea ecx, [esp + 0x20]
lea edx, [esp + 0xcc]
push ecx
push eax
push edx
mov byte [esp + 0xf4], 0x27
call fcn.00507f69
push 0x40
push eax
lea eax, [esp + 0xcc]
mov byte [esp + 0xf0], 0x28
push eax
call fcn.00504b16
lea ecx, [esp + 0x14]
lea edx, [esp + 0xbc]
push ecx
push eax
push edx
mov byte [esp + 0xf4], 0x29
call fcn.00507f69
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 0x2a
call fcn.00508152
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe8], 0x29
call fcn.00507d3a
lea ecx, [esp + 0xc4]
mov byte [esp + 0xe8], 0x28
call fcn.00507d3a
lea ecx, [esp + 0xcc]
mov byte [esp + 0xe8], 0x27
call fcn.00507d3a
lea ecx, [esp + 0xd4]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x403052
lea ecx, [esp + 0x18]
lea edx, [esp + 0xdc]
push ecx
push 0x3a
push edx
call fcn.00504b78
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 0x2b
call fcn.00508152
lea ecx, [esp + 0xdc]
mov byte [esp + 0xe8], bl
call fcn.00507d3a
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
call fcn.00508152
lea ecx, [esp + 0x30]
mov byte [esp + 0xe8], 7
call fcn.00507d3a
push 0x20
lea ecx, [esp + 0x14]
call fcn.00508201
mov esi, eax
test esi, esi
jge 0x40248c
lea ecx, [esp + 0x1c]
call fcn.005056c4
lea edx, [esp + 0x1c]
push edx
mov esi, dword [esp + 0xf4]
mov ecx, esi
call fcn.00507aaf
mov dword [esp + 0x34], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8], 6
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov byte [esp + 0xe8], 5
call fcn.00507d3a
lea ecx, [esp + 0x24]
mov byte [esp + 0xe8], 4
call fcn.00507d3a
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 3
call fcn.00507d3a
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.00507d3a
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.00507d3a
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe8], 0
call fcn.00507d3a
mov ecx, dword [esp + 0xe0]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret
lea ecx, [esp + 0x2c]
push ecx
jmp 0x403094