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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4291
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x508068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax + 8], 0x11
je 0x41d8c7
cmp byte [0x5102e0], 0
je 0x41d8c7
push 0
push 0x4effbc
push 0x4effd0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x4f0000]
movups xmm0, xmmword [0x4efff0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push 0x13
push eax
lea eax, [ebp - 0x77]
mov byte [ebp - 0x78], 0x13
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004af3f0
add esp, 0xc
mov dword [ebp - 0x168], 0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push eax
call fcn.00451830
mov ecx, dword [ebx + 8]
add esp, 4
or byte [ebp - 0x5f], 0x10
or byte [ebp - 0x5d], 5
mov word [ebp - 0x10c], 0x14
cmp byte [ecx + 0x1a], 0
movups xmm0, xmmword [ecx + 0x38e]
mov eax, dword [ecx + 0x39e]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x51052a]
mov dword [ebp - 0x38], eax
mov eax, dword [0x4f0004]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x10a], eax
movups xmm0, xmmword [0x51051a]
mov ax, word [0x4f0008]
mov word [ebp - 0x106], ax
movzx eax, byte [0x4f000a]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x104], al
movups xmm0, xmmword [0x4f0014]
movzx eax, byte [0x4f0024]
mov dword [ebp - 0x103], 0x646d3a31
movups xmmword [ebp - 0xff], xmm0
mov byte [ebp - 0xef], al
je 0x41d9b6
mov ax, word [0x4f0030]
movq xmm0, qword [0x4f0028]
mov word [ebp - 0xe6], ax
mov al, byte [0x4f0032]
jmp 0x41d9d0
mov ax, word [0x4f003c]
movq xmm0, qword [0x4f0034]
mov word [ebp - 0xe6], ax
mov al, byte [0x4f003e]
mov edx, dword [0x510368]
lea ecx, [ebp - 0x17]
mov byte [ebp - 0xe4], al
movq qword [ebp - 0xee], xmm0
mov byte [ebp - 0xe3], 0x65
mov dword [ebp - 0xe2], 0x69703a31
test edx, edx
jns 0x41da0c
neg edx
call fcn.00453fb0
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x41da13
call fcn.00453fb0
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x12c], 0xf
lea eax, [ebp - 0x17]
mov dword [ebp - 0x130], esi
mov byte [ebp - 0x140], 0
cmp ecx, eax
je 0x41da48
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.00407e90
mov esi, dword [ebp - 0x130]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], 0x10
push esi
cmovae eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0xde]
push eax
call fcn.004aee70
mov ax, word [0x4f0050]
lea ecx, [ebp - 0x190]
add esp, 0xc
mov byte [ebp + esi - 0xde], 0x65
mov word [ebp + esi - 0xdd], ax
mov al, byte [0x4f0052]
mov byte [ebp + esi - 0xdb], al
lea eax, [esi + 0x36]
push 7
push 0x4f0054
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
call fcn.00407e90
push 0xa
push 0x4f005c
push ecx
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.00453b70
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x158], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x148], xmm0
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x17c]
cmp edx, 0x10
jb 0x41db49
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41db3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e0ea
push edx
push ecx
call fcn.004ad677
add esp, 8
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0x17]
mov edx, esi
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
call fcn.00453fb0
lea ecx, [ebp - 0x17]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
cmp eax, ecx
je 0x41dbdf
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00407e90
mov edx, dword [ebp - 0x19c]
cmp edx, 0x10
jb 0x41dbdf
mov ecx, dword [ebp - 0x1b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dbd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e0ef
push edx
push ecx
call fcn.004ad677
add esp, 8
mov edx, esi
lea ecx, [ebp - 0x113]
call fcn.00453fb0
lea ecx, [ebp - 0x113]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov edi, 0xf
mov dword [ebp - 0x18], edi
cmp eax, ecx
je 0x41dc18
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407e90
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x1a0]
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp edi, 0x10
lea ecx, [ebp - 0x110]
cmovae eax, esi
push eax
mov eax, dword [ebp - 0x160]
add eax, ecx
push eax
call fcn.004aee70
add esp, 0xc
cmp edi, 0x10
jb 0x41dc70
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x41dc66
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e0f4
push edi
push esi
call fcn.004ad677
add esp, 8
mov esi, dword [ebp - 0x1a0]
lea eax, [ebp - 0x158]
add esi, dword [ebp - 0x160]
mov edi, dword [ebp - 0x148]
push edi
mov byte [ebp + esi - 0x110], 0x3a
inc esi
cmp dword [ebp - 0x144], 0x10
cmovae eax, dword [ebp - 0x158]
push eax
lea eax, [ebp - 0x110]
add eax, esi
push eax
call fcn.004aee70
add esi, edi
add esp, 0xc
mov byte [ebp + esi - 0x110], 0x65
inc esi
lea eax, [esi - 4]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 8]
cmp byte [eax + 0x1b], 0
je 0x41dcdc
xor edi, edi
xor eax, eax
jmp 0x41dd14
cmp dword [eax + 0x120], 0
jne 0x41dd05
cmp byte [0x5102e0], 0
je 0x41dd05
push 0
push 0x4f0070
push 0x4f0084
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebx + 8]
mov edi, dword [eax + 0x120]
add edi, 7
shr edi, 3
lea eax, [edi + 5]
add eax, 0x58
mov dword [ebp - 0x168], edi
add eax, esi
push eax
mov dword [ebp - 0x178], eax
call fcn.004b5cd0
add esp, 4
mov dword [ebp - 0x160], eax
test eax, eax
je 0x41e03f
push 0x44
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [eax + 0x14]
push ecx
call fcn.004aee70
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push eax
mov eax, dword [ebp - 0x160]
add eax, 0x58
push eax
call fcn.004aee70
mov eax, dword [ebx + 8]
add esp, 0xc
cmp byte [eax + 0x1b], 0
jne 0x41df2d
mov eax, dword [ebp - 0x160]
add eax, 0x58
add esi, eax
lea eax, [edi + 1]
push eax
mov dword [ebp - 0x194], esi
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi], eax
mov byte [esi + 4], 5
mov dword [ebp - 0x170], 0
test edi, edi
je 0x41df2d
mov edi, 2
mov dword [ebp - 0x16c], edi
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x15c], 1
mov eax, dword [eax + 0x3b4]
mov dword [ebp - 0x164], eax
lea esi, [edx + 4]
lea eax, [edi - 2]
add edx, 5
mov ecx, eax
add edi, 3
shr eax, 5
and ecx, 0x1f
shl dword [ebp - 0x15c], cl
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x174], edi
mov edi, dword [ebp - 0x164]
and ecx, dword [edi + eax*4]
mov eax, 1
neg ecx
sbb cl, cl
and ecx, 0xffffff80
mov dword [ebp - 0x15c], ecx
mov ecx, edx
and ecx, 0x1f
shr edx, 5
shl eax, cl
mov ecx, edi
test dword [ecx + edx*4], eax
mov ecx, esi
mov edx, dword [ebp - 0x15c]
setne al
and ecx, 0x1f
or dl, al
shr esi, 5
mov eax, 1
shl eax, cl
mov ecx, edi
mov edi, dword [ebp - 0x174]
and eax, dword [ecx + esi*4]
mov ecx, edi
mov esi, dword [ebp - 0x164]
neg eax
sbb al, al
and ecx, 0x1f
and al, 2
shr edi, 5
or dl, al
mov eax, 1
shl eax, cl
and eax, dword [esi + edi*4]
mov edi, dword [ebp - 0x16c]
neg eax
sbb al, al
and al, 4
or dl, al
mov eax, 1
mov dword [ebp - 0x15c], edx
lea edx, [edi + 2]
mov ecx, edx
shr edx, 5
and ecx, 0x1f
shl eax, cl
and eax, dword [esi + edx*4]
lea edx, [edi + 1]
neg eax
mov ecx, edx
sbb al, al
shr edx, 5
and al, 8
and ecx, 0x1f
or byte [ebp - 0x15c], al
mov eax, 1
shl eax, cl
and eax, dword [esi + edx*4]
lea edx, [edi - 1]
neg eax
mov ecx, edx
sbb al, al
and al, 0x10
or byte [ebp - 0x15c], al
and ecx, 0x1f
shr edx, 5
mov eax, 1
shl eax, cl
mov ecx, edi
and eax, dword [esi + edx*4]
mov edx, 1
neg eax
sbb al, al
and ecx, 0x1f
and al, 0x40
shl edx, cl
or byte [ebp - 0x15c], al
mov eax, edi
mov ecx, dword [ebp - 0x194]
shr eax, 5
and edx, dword [esi + eax*4]
mov eax, dword [ebp - 0x15c]
neg edx
sbb dl, dl
add edi, 8
and dl, 0x20
mov dword [ebp - 0x16c], edi
or al, dl
mov edx, dword [ebp - 0x170]
mov byte [ecx + edx + 5], al
inc edx
mov dword [ebp - 0x170], edx
cmp edx, dword [ebp - 0x168]
jb 0x41ddb3
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x18], 0xc350
mov esi, dword [ebx + 0xc]
push dword [esi + 0x5a]
mov edi, dword [esi + 0x6a]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 0xf8]
cmp dword [ecx + 0x78], 0x19c8
jne 0x41df74
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x41df68
test eax, eax
jne 0x41df64
xor edi, edi
jmp 0x41df7d
sub edi, eax
jmp 0x41df7d
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
lea edi, [eax + 1]
jmp 0x41df7d
xor ecx, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
mov eax, dword [ebx + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov word [0x50e5dc], 1
movzx eax, word [eax + 0x14]
push eax
call esi
push edi
mov word [0x50e5de], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [0x50e5e4], eax
mov eax, dword [ebx + 0xc]
cmp byte [eax + 0x12], 0
je 0x41dfc0
movzx eax, word [eax + 0x1c]
push eax
call esi
mov word [0x50e5ec], ax
jmp 0x41dfdd
cmp byte [0x5102e0], 0
je 0x41dfdd
push 0
push 0x4f0090
push 0x4f00b8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
movups xmm0, xmmword [0x50e5dc]
mov edx, dword [ebp - 0x160]
movups xmmword [edx], xmm0
mov eax, dword [0x50e5ec]
mov dword [edx + 0x10], eax
mov ecx, dword [ebx + 0xc]
movups xmm0, xmmword [0x50e5dc]
movups xmmword [ecx + 0x2c], xmm0
mov eax, dword [0x50e5ec]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x178]
mov byte [eax + 0x4c], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x52], edx
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x48], ecx
mov eax, dword [ebx + 0xc]
lea ecx, [eax + 0x2c]
push ecx
lea ecx, [eax + 0xc0]
call fcn.004456b0
mov eax, dword [ebx + 0xc]
inc word [eax + 0x1c]
jmp 0x41e05c
cmp byte [0x5102e0], 0
je 0x41e05c
push 0
push str.send_hand_ext_map__
push 0x4f0100
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x144]
cmp eax, 0x10
jb 0x41e094
mov ecx, dword [ebp - 0x158]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e08a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e0f9
push edx
push ecx
call fcn.004ad677
add esp, 8
mov eax, dword [ebp - 0x12c]
cmp eax, 0x10
jb 0x41e0cc
mov edx, dword [ebp - 0x140]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e0c2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e0fe
push ecx
push edx
call fcn.004ad677
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ad19c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004b5c80
call fcn.004b5c80
call fcn.004b5c80
call fcn.004b5c80
call fcn.004b5c80
int3