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

Disassembly:
push 0xffffffffffffffff
push 0x4abf2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0046a6d0
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], edi
call fcn.004a2a72
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call fcn.004a2a72
mov byte [esp + 0x84], 2
mov ecx, ebp
call fcn.0046ab80
push 0x4cd5e0
lea ecx, [esp + 0x28]
call fcn.004a2850
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
mov byte [esp + 0x88], 3
call fcn.0046ac30
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
je 0x46db42
push 1
mov ecx, ebp
call fcn.0046ab30
mov ecx, ebp
call fcn.0046ab80
push 0x4e0874
lea ecx, [esp + 0x7c]
call fcn.004a2a60
push 0x4e0874
lea ecx, [esp + 0x64]
call fcn.004a2a60
push 0x4e0874
lea ecx, [esp + 0x6c]
call fcn.004a2a60
push 0x4e0874
lea ecx, [esp + 0x78]
mov word [esp + 0x68], di
mov dword [esp + 0x60], edi
call fcn.004a2a60
mov ecx, ebp
mov dword [esp + 0x6c], edi
mov word [esp + 0x70], di
mov byte [esp + 0x72], 0
call fcn.0046b480
push 0x4d7fc8
lea ecx, [esp + 0x2c]
call fcn.004a2850
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 4
push ecx
mov ecx, ebp
call fcn.0046ac80
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 2
call fcn.004a2856
push 1
mov ecx, ebp
call fcn.0046ab30
push 0x4d7fc4
lea ecx, [esp + 0x30]
call fcn.004a2850
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
mov byte [esp + 0x88], 5
call fcn.0046ac30
lea ecx, [esp + 0x2c]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
je 0x46dc45
push 0x4d7fc4
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 1
call fcn.004a2850
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
mov byte [esp + 0x88], 6
call fcn.0046ab60
mov byte [esp + 0x84], 2
lea ecx, [esp + 0x30]
jmp 0x46dcb8
push 0x4d7fc0
lea ecx, [esp + 0x38]
call fcn.004a2850
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 7
push ecx
mov ecx, ebp
call fcn.0046ac30
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
je 0x46e342
push 0x4d7fc0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 2
call fcn.004a2850
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
mov byte [esp + 0x88], 8
call fcn.0046ab60
mov byte [esp + 0x84], 2
lea ecx, [esp + 0x38]
call fcn.004a2856
mov ecx, ebp
call fcn.0046ab80
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
call fcn.0046d440
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 9
call fcn.004a2aa8
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
call fcn.004a2856
push 0x4cd31c
lea ecx, [esp + 0x40]
call fcn.004a2850
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 0xa
push ecx
mov ecx, ebp
call fcn.0046ac30
lea ecx, [esp + 0x3c]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
je 0x46dd5f
push 1
mov ecx, ebp
call fcn.0046ab30
lea edx, [esp + 0x4c]
mov ecx, ebp
push edx
call fcn.0046d950
mov eax, dword [eax]
mov esi, dword [0x4b1b0c]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x4c]
mov word [esp + 0x64], ax
call fcn.004a2856
jmp 0x46dd65
mov esi, dword [0x4b1b0c]
mov ecx, ebp
call fcn.0046ab80
push 0x4d7e44
lea ecx, [esp + 0x1c]
call fcn.004a2850
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x88], 0xb
call fcn.0046ac30
lea ecx, [esp + 0x18]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
je 0x46dfcc
push 1
mov ecx, ebp
call fcn.0046ab30
push 0x4e0874
lea ecx, [esp + 0x14]
call fcn.004a2a60
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.0046c070
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 0xc
call fcn.004a2aa8
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 2
call fcn.004a2856
push 0x4d7e40
lea ecx, [esp + 0x44]
call fcn.004a2850
lea edx, [esp + 0x40]
mov ecx, ebp
push edx
mov byte [esp + 0x88], 0xd
call fcn.0046ac30
lea ecx, [esp + 0x40]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
je 0x46de60
push 1
mov ecx, ebp
call fcn.0046ab30
lea eax, [esp + 0x54]
mov ecx, ebp
push eax
call fcn.0046c1c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0xe
call fcn.004a2aa8
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 2
call fcn.004a2856
lea ecx, [esp + 0x14]
call fcn.004a2aea
lea ecx, [esp + 0x14]
call fcn.004a2ae4
lea ecx, [esp + 0x10]
call fcn.004a2aea
mov ecx, dword [esp + 0x14]
mov edi, dword [0x4b1b08]
push str.branch
push ecx
call edi
add esp, 8
test eax, eax
jne 0x46dee5
mov edx, dword [0x4e39c0]
lea ecx, [esp + 0x10]
push edx
call fcn.004a2fac
test eax, eax
je 0x46ded2
mov eax, dword [esp + 0x10]
push 0x4cd3b0
push eax
call edi
add esp, 8
test eax, eax
je 0x46ded2
mov ecx, dword [esp + 0x10]
push 0x4e0874
push ecx
call edi
add esp, 8
test eax, eax
jne 0x46e2ac
lea edx, [esp + 0x10]
lea ecx, [esp + 0x78]
push edx
call fcn.004a2aa8
jmp 0x46df8d
mov eax, dword [esp + 0x14]
push str.maddr
push eax
call edi
add esp, 8
test eax, eax
jne 0x46df0b
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x6c]
call fcn.004a2aa8
jmp 0x46df8d
mov edx, dword [esp + 0x14]
push str.received
push edx
call edi
add esp, 8
test eax, eax
jne 0x46df2e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x74]
push eax
call fcn.004a2aa8
jmp 0x46df8d
mov ecx, dword [esp + 0x14]
push 0x4d7fa0
push ecx
call edi
add esp, 8
test eax, eax
jne 0x46df51
mov edx, dword [esp + 0x10]
push edx
call esi
add esp, 4
mov dword [esp + 0x6c], eax
jmp 0x46df8d
mov eax, dword [esp + 0x14]
push str.hidden
push eax
call edi
add esp, 8
test eax, eax
jne 0x46df6b
mov byte [esp + 0x72], 1
jmp 0x46df8d
mov ecx, dword [esp + 0x14]
push str.rport
push ecx
call edi
add esp, 8
test eax, eax
jne 0x46df8d
mov edx, dword [esp + 0x10]
push edx
call esi
add esp, 4
mov word [esp + 0x70], ax
push 0x4d7e44
lea ecx, [esp + 0x1c]
call fcn.004a2850
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x88], 0xb
call fcn.0046ac30
lea ecx, [esp + 0x18]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
jne 0x46dda9
xor edi, edi
mov eax, dword [ebp + 0x100]
mov ecx, dword [ebp + 0xfc]
mov esi, eax
mov dword [esp + 0x1c], esi
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x46e02e
cmp ecx, edi
je 0x46e01d
mov edi, ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x46e002
lea ebx, [eax + 1]
mov ecx, edi
call fcn.00469790
add edi, 0x20
dec ebx
jne 0x46dff5
mov eax, dword [ebp + 0xfc]
push eax
call fcn.004a297c
add esp, 4
mov dword [ebp + 0xfc], 0
xor edi, edi
mov dword [ebp + 0x104], edi
mov dword [ebp + 0x100], edi
jmp 0x46e200
cmp ecx, edi
jne 0x46e09c
mov edi, ebx
shl edi, 5
push edi
call fcn.004a2b56
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 0xfc], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x20], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x58], esi
test esi, esi
mov byte [esp + 0x84], 0xf
je 0x46e079
mov ecx, esi
call fcn.0046a6d0
add esi, 0x20
dec edi
mov byte [esp + 0x84], 2
mov dword [esp + 0x20], esi
jne 0x46e062
mov dword [ebp + 0x104], ebx
mov dword [ebp + 0x100], ebx
jmp 0x46e1fc
mov edi, dword [ebp + 0x104]
cmp ebx, edi
jg 0x46e14b
cmp eax, ebx
jge 0x46e118
mov edx, ebx
sub edx, eax
shl eax, 5
add eax, ecx
mov ecx, edx
shl ecx, 5
mov esi, ecx
mov edi, eax
xor eax, eax
mov dword [esp + 0x20], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x46e13c
mov esi, dword [esp + 0x20]
lea edi, [edx + 1]
mov dword [esp + 0x58], esi
test esi, esi
mov byte [esp + 0x84], 0x10
je 0x46e0f7
mov ecx, esi
call fcn.0046a6d0
add esi, 0x20
dec edi
mov byte [esp + 0x84], 2
mov dword [esp + 0x20], esi
jne 0x46e0e0
mov esi, dword [esp + 0x1c]
mov dword [ebp + 0x100], ebx
jmp 0x46e200
jle 0x46e140
mov edi, ebx
sub eax, ebx
shl edi, 5
add edi, ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x46e13c
lea esi, [eax + 1]
push 0
mov ecx, edi
call fcn.00474a10
add edi, 0x20
dec esi
jne 0x46e12d
mov esi, dword [esp + 0x1c]
mov dword [ebp + 0x100], ebx
jmp 0x46e200
mov ecx, dword [ebp + 0x108]
test ecx, ecx
jne 0x46e179
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x46e16c
mov ecx, 4
jmp 0x46e179
cmp ecx, 0x400
jle 0x46e179
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebx, eax
mov dword [esp + 0x20], eax
jl 0x46e188
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x20]
shl edx, 5
push edx
call fcn.004a2b56
mov ecx, dword [ebp + 0x100]
mov esi, dword [ebp + 0xfc]
shl ecx, 5
mov edx, eax
mov eax, ecx
mov edi, edx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x58], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x100]
mov ecx, ebx
sub ecx, eax
shl eax, 5
add eax, edx
push ecx
push eax
call fcn.00474b00
mov eax, dword [ebp + 0xfc]
push eax
call fcn.004a297c
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [ebp + 0xfc], edx
mov dword [ebp + 0x100], ebx
mov dword [ebp + 0x104], eax
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0xfc]
mov ecx, dword [esp + 0x5c]
shl esi, 5
add esi, edx
lea edx, [esp + 0x60]
push edx
mov dword [esi], ecx
lea ecx, [esi + 4]
call fcn.004a2aa8
mov ax, word [esp + 0x64]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esi + 0xc]
mov word [esi + 8], ax
call fcn.004a2aa8
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x10], edx
mov ax, word [esp + 0x70]
mov word [esi + 0x14], ax
mov cl, byte [esp + 0x72]
lea edx, [esp + 0x74]
mov byte [esi + 0x16], cl
push edx
lea ecx, [esi + 0x18]
call fcn.004a2aa8
lea eax, [esp + 0x78]
lea ecx, [esi + 0x1c]
push eax
call fcn.004a2aa8
mov ecx, ebp
call fcn.0046ab80
push 0x4cd5e0
lea ecx, [esp + 0x48]
call fcn.004a2850
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 0x11
push ecx
mov ecx, ebp
call fcn.0046ac30
lea ecx, [esp + 0x44]
mov bl, al
mov byte [esp + 0x84], 2
call fcn.004a2856
test bl, bl
je 0x46e2c3
xor edi, edi
jmp 0x46daf2
lea edx, [esp + 0x58]
push 0x4bebf8
push edx
mov dword [esp + 0x60], 6
call fcn.004a36a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call fcn.004a2856
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 0
call fcn.004a2856
lea ecx, [esp + 0x78]
mov dword [esp + 0x84], 0x14
call fcn.004a2856
lea ecx, [esp + 0x74]
mov byte [esp + 0x84], 0x13
call fcn.004a2856
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 0x12
call fcn.004a2856
lea ecx, [esp + 0x60]
mov dword [esp + 0x84], 0xffffffff
call fcn.004a2856
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret
lea eax, [esp + 0x58]
push 0x4bebf8
push eax
mov dword [esp + 0x60], 5
call fcn.004a36a0
nop
nop
nop
nop
nop
nop
nop