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

Disassembly:
push 0xffffffffffffffff
push 0x5d08c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x78], 0
push 0x5c
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0051d400
mov ecx, dword [0x66e6e8]
mov edx, dword fs:[0x2c]
mov esi, dword [edx + ecx*4]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0xc
cmp dword [esi + 8], 0
je 0x476f3c
mov edi, dword [esi + 0x20]
jmp 0x476f47
call ebx
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp dword [esi + 8], 0
mov ebp, eax
jne 0x476f65
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x84]
push 0x48
test edi, edi
jge 0x476f7f
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push edi
call ebp
jmp 0x476f8b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
call ebp
neg eax
mov ecx, dword [esp + 0x88]
xor ebx, ebx
cmp dword [esp + 0x8c], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
setne dl
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x18], eax
setne al
cmp dword [esp + 0x9c], ebx
mov dword [esp + 0x24], ecx
setne cl
cmp dword [esp + 0xa4], ebx
mov byte [esp + 0x2a], cl
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x2d], al
push str.segoue
setne al
mov byte [esp + 0x30], dl
mov dl, byte [0x658d40]
add al, 4
push str.SoftwareMail.RuAgent
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], bl
mov dword [esp + 0x20], ebx
call fcn.0047be00
mov eax, dword [esp + 0xa4]
add esp, 0x10
mov edx, str.Tahoma
mov ecx, eax
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x477056
cmp si, bx
je 0x477052
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x477056
add ecx, 4
add edx, 4
cmp si, bx
jne 0x477030
xor ecx, ecx
jmp 0x47705b
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x477092
cmp dword [0x65c584], ebx
je 0x477092
cmp dword [esp + 0x10], ebx
je 0x477092
xor eax, eax
nop
movzx ecx, word [eax + str.Segoe_UI]
mov word [esp + eax + 0x30], cx
add eax, 2
cmp cx, bx
jne 0x477070
push 0x48
push 0x60
dec edi
push edi
call ebp
mov dword [esp + 0x14], eax
jmp 0x4770ff
mov edx, str.TahomaConst
mov ecx, eax
lea esp, [esp]
mov si, word [ecx]
cmp si, word [edx]
jne 0x4770c6
cmp si, bx
je 0x4770c2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4770c6
add ecx, 4
add edx, 4
cmp si, bx
jne 0x4770a0
xor ecx, ecx
jmp 0x4770cb
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x4770e7
xor eax, eax
movzx ecx, word [eax + 0x5e54c8]
mov word [esp + eax + 0x30], cx
add eax, 2
cmp cx, bx
jne 0x4770d1
jmp 0x4770ff
lea edx, [esp + 0x30]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4770f0
mov ebx, dword [esp + 0x80]
mov ecx, 0x17
lea esi, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x94]
call fcn.004381e0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret