Function at 0x45e9c0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4d15d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x504530]
push ebx
push ebp
push esi
push edi
push 1
mov edi, 0x4dbae0
mov dword [esp + 0x50], eax
call fcn.0040f610
mov ebp, eax
mov eax, dword [esp + 0x64]
add esp, 4
push 0
mov dword [eax + 0x30], ebp
push 0x10
mov edi, 0x4df9c0
mov eax, ebp
call fcn.004468c0
lea edi, [esp + 0x1c]
mov esi, 0x5118bc
call fcn.00411630
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
push 0x10
lea edx, [esp + 0x40]
push edx
mov ebx, ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
call fcn.00405b60
push 0
push 6
mov edi, 0x4db8a0
mov eax, ebp
call fcn.004468c0
mov eax, dword [0x513e2c]
push eax
call fcn.00416090
xor ecx, ecx
mov cx, word [0x513e2a]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push eax
call fcn.00416000
push 0
push 4
mov edi, 0x4db954
mov eax, ebp
call fcn.004468c0
mov edx, dword [ebp]
push 0
push 0x4db968
mov ecx, ebp
call dword [edx + 0x34]
mov eax, dword [0x513e38]
test eax, eax
je 0x45ead5
mov eax, dword [0x513e2c]
test eax, eax
je 0x45ead5
cmp word [0x513e2a], 0
je 0x45ead5
cmp dword [0x5118fc], 0xffffffff
je 0x45ead5
mov eax, dword [0x5118f4]
test eax, eax
jbe 0x45ead5
mov ecx, 0x505c40
call fcn.004167c0
test eax, eax
jne 0x45eae5
push 0
push 0
mov edi, 0x4e5e84
mov eax, ebp
call fcn.004468c0
push 0
push 0x513e18
lea ecx, [esp + 0x24]
call fcn.004a2dfe
push 0x32
lea ecx, [esp + 0x20]
mov dword [esp + 0x5c], 0
call fcn.004a2d8f
test eax, eax
je 0x45eb8a
mov eax, dword [0x5129a0]
neg eax
sbb eax, eax
mov dword [esp + 0x10], eax
je 0x45eb8a
jmp 0x45eb20
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, 0x512994
call fcn.004be0d6
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x4b8]
mov eax, 2
cmp ecx, eax
je 0x45eb82
cmp dword [esi + 0x488], eax
jne 0x45eb82
push 0
push 6
mov edi, 0x4db8a8
mov eax, ebp
call fcn.004468c0
mov eax, dword [esi + 8]
push eax
mov ebx, ebp
call fcn.00416090
xor ecx, ecx
mov cx, word [esi + 6]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push eax
call fcn.00416000
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45eb20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.004a2da4
mov eax, dword [0x57479c]
test eax, eax
jne 0x45ebb4
push 0
push 0
mov edi, str.UNSTA
mov eax, ebp
call fcn.004468c0
push 0
push 0x574744
lea ecx, [esp + 0x38]
call fcn.004a2dfe
mov eax, 1
mov dword [esp + 0x58], eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], eax
call fcn.004a2d8f
test eax, eax
je 0x45ebf6
mov eax, dword [0x574770]
test eax, eax
jne 0x45ed32
lea ecx, [esp + 0x30]
call fcn.004a2da4
push 0x511880
lea edi, [esp + 0x64]
call fcn.00447dc0
mov bl, 2
mov byte [esp + 0x58], bl
mov esi, dword [esp + 0x60]
mov eax, dword [esi - 0xc]
cmp eax, 0x20
jle 0x45ec57
push 0x20
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00405820
push eax
mov ecx, edi
mov byte [esp + 0x5c], 3
call fcn.00403e70
mov byte [esp + 0x58], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ec53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x60]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x45ec95
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x14]
mov ebx, eax
push 1
lea ecx, [ebx + 6]
push ecx
mov edi, str.UPRO
mov eax, ebp
call fcn.004468c0
push 0
push ebx
mov edi, str.NICK
mov eax, ebp
call fcn.004468c0
mov edx, dword [ebp]
push 0
push esi
mov ecx, ebp
call dword [edx + 0x10]
mov eax, dword [0x53419c]
test eax, eax
je 0x45ecae
push 0
push 0
mov edi, 0x4e5e60
mov eax, ebp
call fcn.004468c0
mov eax, dword [0x5341a0]
test eax, eax
je 0x45ecc7
push 0
push 0
mov edi, 0x4e5e5c
mov eax, ebp
call fcn.004468c0
mov eax, dword [0x534184]
test eax, eax
je 0x45ece0
push 0
push 0
mov edi, 0x4e5e58
mov eax, ebp
call fcn.004468c0
add esi, 0xfffffff0
mov byte [esp + 0x58], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ecff
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call fcn.004a2da4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
pop ebx
call fcn.004ae38e
add esp, 0x4c
ret 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45ee58
mov edx, dword [eax]
mov esi, dword [eax + 8]
push 1
push 0xd
mov edi, 0x4e5e78
mov eax, ebp
mov dword [esp + 0x20], edx
call fcn.004468c0
push 0
push 7
mov edi, 0x4e5e74
mov eax, ebp
call fcn.004468c0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x14]
add ecx, eax
push ecx
mov ebx, ebp
call fcn.00416000
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x68]
lea edi, [esi + 0x68]
mov dword [esp + 0x10], eax
cmp eax, ecx
mov eax, edi
jl 0x45ed8a
lea eax, [esp + 0x10]
mov eax, dword [eax]
push eax
mov ebx, ebp
call fcn.00415fa0
mov eax, dword [esi + 0x14]
mov ecx, dword [edi]
inc eax
cmp ecx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x2c]
jl 0x45edb1
mov ecx, edi
cmp eax, dword [ecx]
jge 0x45edbf
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x45edc3
mov dword [esp + 0x10], ecx
mov ecx, dword [edi]
mov ebx, esi
call fcn.00485be0
mov ecx, dword [esp + 0x10]
xor edx, edx
div dword [ecx]
mov ebx, ebp
shl eax, 3
shr eax, 0xa
push eax
call fcn.00416100
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
inc edx
cmp edx, eax
jbe 0x45ee29
add eax, 0x80
push eax
mov dword [ebp + 0x14], eax
call fcn.004be903
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov ebx, eax
mov eax, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x45ee26
push eax
call fcn.004be908
add esp, 4
mov dword [ebp + 0x10], ebx
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov byte [ecx + edx], 0
inc dword [ebp + 0x18]
mov esi, dword [esp + 0x60]
push esi
mov ebx, ebp
call fcn.00415fa0
mov eax, dword [esp + 0x18]
inc esi
test eax, eax
mov dword [esp + 0x60], esi
jne 0x45ed2e
jmp 0x45ebed
call fcn.004bcac3
int3