Function at 0x493770
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x4c
call fcn.005c5c30
mov eax, dword [0x65db30]
xor eax, esp
mov dword [esp + 0x48], eax
mov ecx, dword [str.SERVERINFO_FOR]
mov edx, dword [0x5dd728]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
mov ecx, dword [0x5dd72c]
push ebx
mov dword [esp + 0x40], edx
mov edx, dword [0x5dd730]
mov dword [esp + 0x44], ecx
mov ecx, dword [str.SERVERINFOV2_FOR]
xor ebx, ebx
push ebp
mov dword [esp + 0x4c], edx
mov edx, dword [0x5dd714]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x5dd718]
push esi
mov esi, dword [esp + 0x60]
push edi
mov dword [esp + 0x38], edx
mov edx, dword [0x5dd71c]
mov dword [esp + 0x3c], ecx
mov cx, word [0x5dd720]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], edx
mov word [esp + 0x44], cx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x493ae4
cmp esi, ebx
je 0x493ae4
call fcn.004d7990
push eax
call fcn.00496330
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x49384a
push 0x3a2
push str.ssl_ssl_rsa.c
push 7
jmp 0x493af0
push esi
push 3
push 0x6c
push eax
call fcn.00496cc0
add esp, 0x10
test eax, eax
jg 0x49386d
push 0x3a6
push str.ssl_ssl_rsa.c
push 2
jmp 0x493af0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x38], ebx
call fcn.004db720
add esp, 0x14
test eax, eax
je 0x493a28
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4938a7
sub eax, edx
mov edx, eax
lea eax, [esp + 0x48]
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4938c0
sub eax, esi
cmp edx, eax
jb 0x493a81
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
call sub.MSVCR100.dll_strncmp
add esp, 0xc
test eax, eax
je 0x493a3c
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4938f3
sub eax, edx
mov edx, eax
lea eax, [esp + 0x34]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493905
sub eax, esi
cmp edx, eax
jb 0x493a92
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
call sub.MSVCR100.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x493aa3
mov eax, dword [esp + 0x18]
cmp eax, 8
jl 0x493ad3
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 6]
movzx ecx, byte [ecx + 7]
shl edx, 8
add edx, ecx
lea ecx, [eax - 8]
cmp edx, ecx
jne 0x493ad3
push 0x3e8
lea edx, [eax + ebp]
mov eax, dword [esp + 0x2c]
push str.ssl_ssl_rsa.c
add edx, edi
push edx
push eax
call fcn.004a3310
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x493ac5
mov dword [esp + 0x28], esi
cmp ebp, ebx
jbe 0x493990
mov dword [esi + edi], 0xd0010000
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esi + ebp]
push edx
add eax, edi
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push 0x3fb
add edx, ebp
push str.ssl_ssl_rsa.c
push eax
add edi, edx
call fcn.004a32a0
mov ecx, dword [esp + 0x34]
push 0x3fd
push str.ssl_ssl_rsa.c
push ecx
mov dword [esp + 0x34], ebx
call fcn.004a32a0
mov edx, dword [esp + 0x38]
push 0x3ff
push str.ssl_ssl_rsa.c
push edx
mov dword [esp + 0x4c], ebx
call fcn.004a32a0
inc dword [esp + 0x54]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x58], ebx
call fcn.004db720
add esp, 0x44
test eax, eax
jne 0x4938a0
cmp dword [esp + 0x24], ebx
jne 0x493a67
push 0x3b4
push str.ssl_ssl_rsa.c
push 0x185
jmp 0x493af0
mov eax, dword [esp + 0x18]
cmp eax, 4
jl 0x493ab4
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl edx, 8
add edx, ecx
lea ecx, [eax - 4]
cmp edx, ecx
jne 0x493ab4
mov ebp, 4
jmp 0x49395a
mov edx, dword [esp + 0x30]
push edi
push esi
push 2
push edx
call fcn.00493630
add esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x493aff
push 0x3bb
push str.ssl_ssl_rsa.c
push 0x188
jmp 0x493af0
push 0x3c3
push str.ssl_ssl_rsa.c
push 0x188
jmp 0x493af0
push 0x3c8
push str.ssl_ssl_rsa.c
push 0x187
jmp 0x493af0
push 0x3d5
push str.ssl_ssl_rsa.c
push 0x186
jmp 0x493af0
push 0x3ea
push str.ssl_ssl_rsa.c
push 0x41
jmp 0x493af0
push 0x3e2
push str.ssl_ssl_rsa.c
push 0x186
jmp 0x493af0
push 0x39c
push str.ssl_ssl_rsa.c
push 0x43
push 0x151
push 0x14
call fcn.0049a370
add esp, 0x14
mov eax, dword [esp + 0x10]
push 0x407
push str.ssl_ssl_rsa.c
push eax
call fcn.004a32a0
mov ecx, dword [esp + 0x28]
push 0x408
push str.ssl_ssl_rsa.c
push ecx
call fcn.004a32a0
mov edx, dword [esp + 0x2c]
push 0x409
push str.ssl_ssl_rsa.c
push edx
call fcn.004a32a0
mov eax, dword [esp + 0x4c]
push 0x40a
push str.ssl_ssl_rsa.c
push eax
call fcn.004a32a0
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00496420
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x60]
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c5718
add esp, 0x4c
ret