Function at 0x4922c0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4eec7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor eax, eax
push edi
mov al, byte [esi]
mov byte [esp + 0x13], 0
mov ax, word [eax*8 + 0x54901c]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov eax, dword [eax + esi]
push eax
call sub.WSOCK32.dll_ntohl
xor ecx, ecx
mov edi, eax
mov cl, byte [esi]
mov ax, word [ecx*8 + 0x54901c]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov ax, word [eax + esi + 4]
push eax
call sub.WSOCK32.dll_ntohs
xor edx, edx
mov dword [esp + 0x24], eax
mov dl, byte [esi]
mov ax, word [edx*8 + 0x54901c]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov ax, word [eax + esi + 6]
push eax
call sub.WSOCK32.dll_ntohs
mov ebp, eax
xor eax, eax
mov al, byte [esi]
mov ax, word [eax*8 + 0x54901c]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov ax, word [eax + esi + 8]
push eax
call sub.WSOCK32.dll_ntohs
xor ecx, ecx
mov ebx, eax
mov cl, byte [esi]
mov ax, word [ecx*8 + 0x54901c]
and ax, 0x8000
mov cx, ax
neg cx
sbb ecx, ecx
and ecx, 2
inc ecx
and ecx, 0xffff
mov dl, byte [ecx + esi + 0xa]
mov cx, ax
neg cx
sbb ecx, ecx
mov byte [esp + 0x20], dl
and ecx, 2
inc ecx
and ecx, 0xffff
neg ax
sbb eax, eax
mov cl, byte [ecx + esi + 0xb]
and eax, 2
mov byte [esp + 0x1c], cl
inc eax
and eax, 0xffff
mov ax, word [eax + esi + 0xc]
push eax
call sub.WSOCK32.dll_ntohs
xor edx, edx
mov dword [esp + 0x18], eax
mov dl, byte [esi]
mov ax, word [edx*8 + 0x54901c]
push edi
and ax, 0x8000
mov cx, ax
neg cx
sbb ecx, ecx
and ecx, 2
inc ecx
and ecx, 0xffff
neg ax
sbb eax, eax
mov cl, byte [ecx + esi + 0xe]
and eax, 2
mov byte [esp + 0x18], cl
inc eax
and eax, 0xffff
mov dl, byte [eax + esi + 0xf]
mov byte [esp + 0x54], dl
call fcn.00488740
add esp, 4
test eax, eax
je 0x49243c
mov byte [esp + 0x13], 1
cmp edi, dword [0xcc5058]
je 0x49247d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
and ebx, 0xffff
push eax
and ebp, 0xffff
push ebx
push ebp
push 0
push 0
push ecx
push edi
call fcn.00486e90
add esp, 0x28
jmp 0x49250c
mov ecx, dword [0xcc535c]
test ecx, ecx
je 0x49250c
mov eax, dword [ecx + 0x20]
mov bl, byte [ecx + 0x9c]
test eax, eax
je 0x4924b9
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [0xcc535c]
mov cl, byte [esp + 0x14]
mov byte [eax + 0x9c], cl
mov ecx, dword [0xcc535c]
mov edx, dword [ecx]
call dword [edx + 0x10]
jmp 0x4924c3
mov al, byte [esp + 0x14]
mov byte [ecx + 0x9c], al
mov ecx, dword [0xcc535c]
cmp bl, byte [ecx + 0x9c]
je 0x49250c
mov ebx, dword [0xb6614c]
test ebx, ebx
je 0x49250c
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xe8]
test eax, eax
je 0x492505
mov eax, dword [ebx + 0x38]
mov ecx, dword [0xcc535c]
cmp eax, ecx
jne 0x492505
push 1
push 1
push 1
push 1
mov ecx, ebx
call fcn.004ab830
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x4924db
push edi
call fcn.00488740
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x492552
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test eax, eax
je 0x492546
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x14]
movsx eax, byte [esp + 0x50]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0xa8]
jmp 0x492552
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [esi]
mov ax, word [ecx*8 + 0x54901c]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov eax, dword [eax + esi + 0x10]
push eax
call sub.WSOCK32.dll_ntohl
mov ebx, eax
mov edi, 0x14
test ebx, ebx
je 0x49270f
xor edx, edx
mov dl, byte [esi]
mov ax, word [edx*8 + 0x54901c]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
add eax, edi
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ebp, eax
xor eax, eax
mov al, byte [esi]
add edi, 2
mov cx, word [eax*8 + 0x54901c]
and cx, 0x8000
mov ax, cx
neg ax
sbb eax, eax
and eax, 2
inc eax
and eax, 0xffff
add eax, edi
inc edi
test ebp, 0x8000
mov dl, byte [eax + esi]
mov byte [esp + 0x24], dl
je 0x492612
and ebp, 0x7fff
neg cx
sbb ecx, ecx
and ecx, 2
inc ecx
and ecx, 0xffff
add ecx, edi
mov cx, word [ecx + esi]
push ecx
call sub.WSOCK32.dll_ntohs
mov dword [esp + 0x18], eax
add edi, 2
jmp 0x49261a
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4926d7
push ebx
call fcn.00488740
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
jne 0x4926a0
push ebp
call fcn.00488a10
add esp, 4
test eax, eax
je 0x492688
push 0xc0
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov dword [esp + 0x48], 0
je 0x49267a
push 1
push 0
push ebp
push ebx
mov ecx, eax
call fcn.00484a90
mov dword [esp + 0x48], 0xffffffff
mov ebx, eax
jmp 0x4926ab
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov ebx, eax
jmp 0x4926ab
and ebp, 0xffff
push 0
push ebp
push ebx
call fcn.00482070
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4926a7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x50]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
and eax, 0xffff
push eax
call fcn.00482cc0
mov ecx, dword [esp + 0x18]
mov word [ebx + 0x42], ax
mov eax, dword [esp + 0x28]
add esp, 4
and eax, 0xff
push eax
push ecx
mov ecx, ebx
call fcn.00483a10
xor edx, edx
mov dl, byte [esi]
mov ax, word [edx*8 + 0x54901c]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
add eax, edi
mov eax, dword [eax + esi]
push eax
call sub.WSOCK32.dll_ntohl
mov ebx, eax
add edi, 4
test ebx, ebx
jne 0x492587
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4927e0
mov byte [ebp + 0x73], 1
mov eax, dword [0xb6614c]
push 1
push eax
push 0
push 0
push ebp
call fcn.00457ca0
mov edx, dword [ebp]
add esp, 0x14
mov ecx, ebp
mov esi, eax
mov byte [ebp + 0x70], 0
call dword [edx + 0x10]
test esi, esi
je 0x4927e0
mov eax, dword [esi + 0x38]
mov edi, dword [eax + 0x7c]
mov eax, dword [0x5491bc]
test ah, 0x80
mov byte [esp + 0x30], 0x34
je 0x49276c
lea ecx, [esp + 0x30]
push 3
push ecx
call fcn.004906b0
add esp, 8
jmp 0x492775
mov word [0xd15af0], 1
push 0xedededed
call sub.WSOCK32.dll_htonl
lea edx, [esp + 0x30]
mov esi, eax
push edx
call fcn.00490690
and eax, 0xffff
mov dword [esp + eax + 0x34], esi
add eax, 4
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004906b0
lea ecx, [esp + 0x3c]
push ecx
call fcn.00490690
and eax, 0xffff
lea edx, [esp + 0x40]
mov byte [esp + eax + 0x40], 4
inc eax
push eax
push edx
call fcn.004906b0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.004903f0
add esp, 0x20
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [0xcc516c]
call fcn.004c2f70
mov al, byte [0x5474ff]
test al, al
je 0x492875
test ebp, ebp
je 0x492875
mov al, byte [esp + 0x13]
test al, al
jne 0x492875
test byte [ebp + 0x9c], 0x80
jne 0x492875
cmp word [ebp + 0x3c], 0
je 0x492875
cmp ebp, dword [0xcc535c]
je 0x492875
mov eax, dword [0x549064]
mov ebp, dword [ebp + 0x7c]
test ah, 0x80
mov byte [esp + 0x28], 9
je 0x492830
mov word [esp + 0x29], 3
jmp 0x492839
mov word [0xd15af0], 1
push ebp
call sub.WSOCK32.dll_htonl
lea edx, [esp + 0x28]
mov esi, eax
push edx
call fcn.00490690
and eax, 0xffff
mov dword [esp + eax + 0x2c], esi
add eax, 4
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004906b0
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [0xcc516c]
call fcn.004c2f70
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret