Function at 0x45e500
Capabilities:
Access peb ldr_data
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ce940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov ebx, dword [ebp + 0x30]
push esi
push edi
mov esi, ecx
mov edi, 0xa
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x3c]
test eax, eax
mov ecx, dword [esi + 0x20]
je 0x45e55a
test ecx, ecx
je 0x45e565
mov edi, 0x3e
jmp 0x45e56e
test ecx, ecx
je 0x45e565
mov edi, 0x28
jmp 0x45e56e
test eax, eax
je 0x45e56e
mov edi, 0x2b
mov eax, dword [esi + 0x74]
test eax, eax
je 0x45e578
add edi, 0x1a
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x45e585
add edi, 0x1e
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x45e5a1
mov eax, dword [esi + 0xc]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x14]
lea edi, [edi + eax + 8]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x45e698
mov ecx, dword [eax + 0x84]
add edi, 5
test ecx, ecx
je 0x45e698
mov eax, dword [esi + 0x100]
test eax, eax
je 0x45e698
mov eax, dword [0x513e2c]
test eax, eax
je 0x45e698
lea eax, [esi + 0x90]
push eax
lea ecx, [esp + 0x28]
push ecx
xor ecx, ecx
call fcn.0049ac40
mov ebp, eax
lea edx, [esi + 0x260]
push edx
lea eax, [esp + 0x2c]
push eax
xor ecx, ecx
mov byte [esp + 0x40], 1
call fcn.0049ac40
add esp, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 2
mov ecx, dword [0x513e2c]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x20]
call fcn.00409e90
mov edx, dword [esp + 0x14]
mov byte [esp + 0x30], 3
mov ecx, dword [ebp]
mov ebp, dword [eax]
mov edx, dword [edx]
xor eax, eax
mov ax, word [0x513e2a]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
push ecx
push ebp
lea edx, [esp + 0x20]
push str.btc:___s:_i__s__s_
push edx
call fcn.004058b0
add esp, 0x18
lea ecx, [esp + 0x1c]
call fcn.00403b90
lea ecx, [esp + 0x20]
call fcn.00403b90
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0
call fcn.00403b90
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov ebp, dword [esp + 0x38]
add edi, eax
push 1
push edi
mov edi, 0x4e5ed4
mov eax, ebx
call fcn.004468c0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45e70f
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x45e6e6
push 0
push 0x2f
mov edi, 0x4e5ed0
mov eax, ebx
call fcn.004468c0
mov edx, dword [ebx]
push 1
push 0x4e5ecc
mov ecx, ebx
call dword [edx + 0x34]
push 0x14
lea eax, [esi + 0x24]
push eax
call fcn.00405b60
push 0x18
lea ecx, [esi + 0x40]
push ecx
jmp 0x45e73a
test eax, eax
je 0x45e70f
push 0
push 0x1c
mov edi, 0x4e5ed0
mov eax, ebx
call fcn.004468c0
mov edx, dword [ebx]
push 1
push 0x4e5ec8
mov ecx, ebx
call dword [edx + 0x34]
push 0x18
lea eax, [esi + 0x40]
jmp 0x45e739
mov eax, dword [esi + 0x20]
test eax, eax
je 0x45e73f
push 0
push 0x19
mov edi, 0x4e5ed0
mov eax, ebx
call fcn.004468c0
mov edx, dword [ebx]
push 1
push 0x4dabf4
mov ecx, ebx
call dword [edx + 0x34]
push 0x14
lea eax, [esi + 0x24]
push eax
call fcn.00405b60
mov eax, dword [esi + 0x74]
test eax, eax
je 0x45e76f
push 0
push 0x15
mov edi, 0x4e5ed0
mov eax, ebx
call fcn.004468c0
mov edx, dword [ebx]
push 1
push 0x4dabec
mov ecx, ebx
call dword [edx + 0x34]
push 0x10
lea eax, [esi + 0x78]
push eax
call fcn.00405b60
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x45e7a5
push 0
push 0x19
mov edi, 0x4e5ed0
mov eax, ebx
call fcn.004468c0
mov edx, dword [ebx]
push 1
push 0x4e5e90
mov ecx, ebx
call dword [edx + 0x34]
push 0x14
lea eax, [esi + 0x90]
push eax
call fcn.00405b60
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x45e82e
mov eax, dword [esi + 0x1c]
test eax, eax
ja 0x45e7e9
jb 0x45e7c1
cmp dword [esi + 0x18], 0xffffffff
ja 0x45e7e9
mov eax, dword [esi + 0xc]
mov edx, dword [ebx]
push 0
push eax
mov ecx, ebx
call dword [edx + 0x14]
add eax, 4
push eax
mov edi, 0x4e5ec4
mov eax, ebx
call fcn.004468c0
mov eax, dword [esi + 0x18]
push eax
call fcn.00416100
jmp 0x45e821
push 0
push 8
mov edi, 0x4e5ec0
mov eax, ebx
call fcn.004468c0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
push ecx
push ebx
call fcn.0045d160
mov eax, dword [esi + 0xc]
mov edx, dword [ebx]
push 0
push eax
mov ecx, ebx
call dword [edx + 0x14]
push eax
mov edi, 0x4e5ec4
mov eax, ebx
call fcn.004468c0
mov eax, dword [esi + 0xc]
mov edx, dword [ebx]
push 0
mov ecx, ebx
push eax
call dword [edx + 0x10]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x45e877
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp - 0xc]
test eax, eax
push 0
jle 0x45e869
mov edx, dword [ebx]
push ebp
mov ecx, ebx
call dword [edx + 0x14]
push eax
mov edi, 0x4e5eb0
mov eax, ebx
call fcn.004468c0
mov eax, dword [ebx]
push 0
push ebp
mov ecx, ebx
call dword [eax + 0x10]
jmp 0x45e877
push 0
mov edi, 0x4e5eb0
mov eax, ebx
call fcn.004468c0
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x45e8ad
mov edx, dword [eax + 0x34]
test edx, edx
mov ecx, dword [eax + 0x30]
ja 0x45e88f
test ecx, ecx
jbe 0x45e8a5
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x2c]
sub ecx, esi
sbb edx, eax
mov ebp, ecx
mov esi, edx
jmp 0x45e8b3
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x45e8be
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
test esi, esi
ja 0x45e8d6
jb 0x45e8be
cmp ebp, 0xffffffff
ja 0x45e8d6
push 0
push 4
mov edi, str.PART
mov eax, ebx
call fcn.004468c0
push ebp
call fcn.00416100
jmp 0x45e8ee
push 0
push 8
mov edi, str.PART
mov eax, ebx
call fcn.004468c0
push esi
push ebp
push ebx
call fcn.0045d160
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x45e918
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4