joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a75f2
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x6648ec
call fcn.00630e8b
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x2cc], ebx
cmp dword [edi + 4], ebx
jne 0x4a76be
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4a766f
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004a7163
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0x28]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00471161
mov edi, dword [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0047f266
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004764c8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00470a88
mov dword [ebp + 8], eax
lea ecx, [edi + 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.004701de
mov ecx, dword [ebp - 0x10]
mov esi, dword [edi + 0x1c]
push 1
mov ecx, dword [ecx + 0x10]
mov edi, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
mov edi, dword [ebp - 0x10]
push eax
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0046cb2d
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.0046c4ca
test bl, bl
je 0x4a76f0
call fcn.004a73ec
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x2c8], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x2c8]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00630e65
ret 4

Function at 0x4ad86c
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x719dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x26
ja 0x4ad917
je 0x4ad8c2
sub esi, 0x21
je 0x4ad8c2
sub esi, 1
je 0x4ad8c2
sub esi, 1
je 0x4ad8c2
sub esi, 1
je 0x4ad8c2
sub esi, 1
jne 0x4ad8c8
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00632c20
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0046c3f4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063024e
leave
ret 0xc
sub esi, 0x27
je 0x4ad8c2
sub esi, 1
je 0x4ad8c2
sub esi, 5
jmp 0x4ad8bb
Function at 0x4adb70
Capabilities:
Hide graphical window

Disassembly:
push 0x14
mov eax, 0x663a72
call fcn.00630e8b
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4adc92
lea eax, [ebp - 0x20]
push eax
call fcn.004ad394
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x20]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00471161
push eax
mov ecx, ebx
call fcn.0047f266
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4adc92
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.004764c8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00470a88
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x1c]
lea eax, [ebp + 8]
push eax
call fcn.004701de
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x1c]
push 1
mov eax, dword [ecx]
mov edi, dword [esi]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
push eax
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x2d2]
push eax
movzx eax, word [ecx + 0x2d0]
mov ecx, ebx
push eax
call fcn.004addff
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004ad6f9
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x14c
push eax
call fcn.0046c581
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046c4ca
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1b0]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.00630e65
ret 4
Function at 0x4b1f82
Capabilities:
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x665288
call fcn.00630ebf
mov ebx, ecx
mov dword [ebp - 0x27c], ebx
mov eax, dword [ebx]
call dword [eax + 0x40]
lea eax, [ebx + 0x2c8]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00471180
mov ecx, eax
call fcn.0046c5f3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.0046cae4
dec eax
lea ecx, [ebp - 0x268]
push eax
call fcn.0046c5ea
cmp ax, 0x5c
je 0x4b1fea
push 0x669428
lea ecx, [ebp - 0x268]
call fcn.0046c6bb
push 0x67d3d0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x268]
call fcn.0046c637
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0045f470
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
mov ebx, eax
call fcn.0046c4ca
cmp ebx, 0xffffffff
je 0x4b21de
jmp 0x4b21c8
lea eax, [ebp - 0x234]
push 0x66cef4
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b21c8
lea eax, [ebp - 0x234]
push 0x67d3d8
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b21c8
test byte [ebp - 0x260], 0x10
jne 0x4b21c8
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.0046c3f4
push 0x2e
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.0046cdc1
mov esi, eax
lea ecx, [ebp - 0x264]
test esi, esi
js 0x4b21bf
call fcn.0046cae4
sub eax, esi
lea ecx, [ebp - 0x264]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0046cde5
push 0x67d3e0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0045f470
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b2128
push 0x67d3e8
lea ecx, [ebp - 0x26c]
call fcn.0045f470
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b2128
push 0x67d3f0
lea ecx, [ebp - 0x26c]
call fcn.0045f470
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
jne 0x4b21ae
push 0x34
call fcn.0063025f
pop ecx
test eax, eax
je 0x4b213f
mov ecx, eax
call fcn.004b05c3
mov edi, eax
jmp 0x4b2141
xor edi, edi
lea eax, [ebp - 0x264]
mov dword [ebp - 0x278], edi
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x268]
call fcn.0046c5f3
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0045f470
push eax
mov ecx, edi
call fcn.004b1ea9
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0046c4ca
test esi, esi
jne 0x4b21a2
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
lea ecx, [ecx + 0x2d4]
call fcn.00474f1c
jmp 0x4b21ae
test edi, edi
je 0x4b21ae
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [ebp - 0x26c]
call fcn.0046c4ca
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call fcn.0046c4ca
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b2039
lea ecx, [ebp - 0x268]
call fcn.0046c4ca
call fcn.00630e7a
ret
Function at 0x4b41d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0x268
mov eax, 0x6654cb
call fcn.00630ebf
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push str.imagepath
push esi
call fcn.0063f316
pop ecx
pop ecx
mov ecx, edi
test eax, eax
jne 0x4b4404
mov eax, dword [edi]
call dword [eax + 0x2fc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
lea eax, [ebp - 0x264]
push ebx
push eax
call fcn.00471180
mov ecx, eax
call fcn.0046c637
and dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0046cae4
dec eax
lea ecx, [ebp - 0x264]
push eax
call fcn.0046c5ea
cmp ax, 0x5c
je 0x4b4253
push 0x669428
lea ecx, [ebp - 0x264]
call fcn.0046c6bb
push 0x67d3d0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x264]
call fcn.0046c637
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0045f470
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
mov ebx, eax
call fcn.0046c4ca
cmp ebx, 0xffffffff
je 0x4b43f7
jmp 0x4b43e1
lea eax, [ebp - 0x234]
push 0x66cef4
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b43e1
lea eax, [ebp - 0x234]
push 0x67d3d8
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b43e1
test byte [ebp - 0x260], 0x10
jne 0x4b43e1
push 0xffffffffffffffff
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.0046c3f4
push 0x2e
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.0046cdc1
mov esi, eax
lea ecx, [ebp - 0x268]
test esi, esi
js 0x4b43d8
call fcn.0046cae4
sub eax, esi
lea ecx, [ebp - 0x268]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0046cde5
push 0x67d3e0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call fcn.0045f470
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b438d
push 0x67d3e8
lea ecx, [ebp - 0x26c]
call fcn.0045f470
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
je 0x4b438d
push 0x67d3f0
lea ecx, [ebp - 0x26c]
call fcn.0045f470
push eax
call fcn.0063f316
pop ecx
pop ecx
test eax, eax
jne 0x4b43c7
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x264]
call fcn.0046c637
mov esi, dword [edi]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0045f470
push eax
mov ecx, edi
call dword [esi + 0x2f8]
lea ecx, [ebp - 0x274]
call fcn.0046c4ca
lea ecx, [ebp - 0x26c]
call fcn.0046c4ca
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call fcn.0046c4ca
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b42a2
lea ecx, [ebp - 0x264]
call fcn.0046c4ca
jmp 0x4b440b
push ebx
push esi
call fcn.004b3ad2
call fcn.00630e7a
ret 8
Function at 0x4bb6f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x198]
mov edx, dword [ebp + 8]
test al, al
jne 0x4bb73b
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x4bb73b
mov ecx, dword [esi + 0xa0]
push edx
test ecx, ecx
je 0x4bb72f
mov eax, dword [ecx]
call dword [eax + 0x200]
jmp 0x4bb870
mov ecx, esi
call fcn.00496ee3
jmp 0x4bb870
push ebx
push edi
mov edi, dword [esi + 0x330]
lea eax, [edi - 0x318]
neg edi
sbb edi, edi
and edi, eax
je 0x4bb866
xor ebx, ebx
cmp dword [esi + 0x334], ebx
je 0x4bb866
cmp dword [edx], 0xd
jne 0x4bb7e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4bb86e
cmp dword [edi + 0x328], ebx
je 0x4bb78f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4bb79a
lea ecx, [edi + 0x318]
call fcn.004c024b
mov ecx, dword [esi + 0x330]
push 1
push dword [esi + 0x334]
call fcn.004c03aa
mov ecx, dword [esi + 0x330]
mov eax, dword [esi + 0x334]
push ebx
mov dword [ecx + 0x4c], eax
mov ecx, dword [esi + 0x330]
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x318]
mov eax, dword [ecx]
push ebx
push ebx
push str.selectchanged
call dword [eax + 8]
jmp 0x4bb86e
cmp dword [edx], 0x13
jne 0x4bb825
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4bb86e
mov ecx, dword [esi + 0x334]
push 1
cmp byte [ecx + 0xa], bl
sete al
mov byte [ecx + 0xa], al
mov ecx, dword [esi + 0x330]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x9c]
push ebx
push ebx
push esi
push str.dbclick
push edi
call fcn.0047407a
jmp 0x4bb86e
cmp dword [edx], 0xb
jne 0x4bb83c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4bb86e
push 1
jmp 0x4bb850
cmp dword [edx], 0xa
jne 0x4bb866
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4bb86e
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x4bb86e
push edx
mov ecx, esi
call fcn.00496ee3
pop edi
pop ebx
pop esi
pop ebp
ret 4
Function at 0x4bbc44
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [esi]
call dword [eax + 0x280]
mov ebx, dword [ebp + 8]
cmp al, bl
je 0x4bbd85
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x1dc]
mov ecx, dword [esi + 0x2e8]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4bbd85
mov esi, dword [ecx + 0x330]
push edi
mov edi, esi
neg edi
lea eax, [esi - 0x318]
sbb edi, edi
and edi, eax
je 0x4bbd84
mov ecx, dword [ecx + 0x334]
test ecx, ecx
je 0x4bbd84
mov eax, dword [ebp - 4]
xor edx, edx
mov eax, dword [eax + 0x2ec]
sub eax, edx
je 0x4bbd5f
sub eax, 1
je 0x4bbd50
sub eax, 1
je 0x4bbcd1
sub eax, 1
jne 0x4bbd84
test bl, bl
je 0x4bbd24
cmp dword [edi + 0x328], edx
je 0x4bbcf6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4bbcf6
test esi, esi
mov eax, 0x318
cmove esi, eax
jmp 0x4bbd03
lea esi, [edi + 0x318]
mov ecx, esi
call fcn.004c024b
push ebx
mov ebx, dword [ebp + 8]
mov ecx, esi
push dword [ebx + 0x334]
call fcn.004c03aa
mov eax, dword [ebx + 0x334]
xor ecx, ecx
mov dword [edi + 0x364], eax
jmp 0x4bbd3b
push edx
lea esi, [edi + 0x318]
push ecx
mov ecx, esi
call fcn.004c03aa
xor ecx, ecx
mov dword [edi + 0x364], ecx
mov eax, dword [edi + 0x318]
push ecx
push ecx
push ecx
push str.selectchanged
mov ecx, esi
call dword [eax + 8]
jmp 0x4bbd53
mov byte [ecx + 9], bl
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1f0]
jmp 0x4bbd84
add ecx, 0x1c
call fcn.00463c20
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x334]
test eax, eax
jle 0x4bbd80
mov byte [ecx + 0xa], bl
mov ecx, edi
call fcn.00476db8
jmp 0x4bbd84
mov byte [ecx + 0xa], 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4bec3a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 4], 0
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x2c], eax
jne 0x4beceb
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004be9b3
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x10]
push 0
sub esp, 0x10
mov eax, 0x40000009
cmp dword [ebx + 0x2c], 1
mov edi, esp
lea edx, [eax - 9]
movsd dword es:[edi], dword [esi]
cmovne eax, edx
push 0
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00471161
push eax
mov ecx, ebx
call fcn.0047f266
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.004764c8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00470a88
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x40]
lea eax, [ebp + 8]
push eax
call fcn.004701de
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x40]
push 1
mov eax, dword [ecx]
mov edi, dword [esi]
call dword [eax + 0x40]
push eax
mov ecx, esi
call dword [edi + 0x18]
push eax
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
push 0x10
call fcn.004af191
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.00632120
mov ecx, dword [ebx + 0x10]
add esp, 0xc
push 0x10
call fcn.004af191
push eax
lea eax, [ebx + 0x30]
push eax
call fcn.00632120
mov ecx, dword [ebx + 0x10]
add esp, 0xc
call fcn.004af191
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 8
Function at 0x4d2a37
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4d2a65
cmp eax, edi
jge 0x4d2a59
push esi
call fcn.004cdecc
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4d2a88
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4d2a6e
mov dword [esi + 8], edx
jmp 0x4d2a9d
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4d2a93
xor dl, dl
jmp 0x4d2a98
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4d2a88
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4d2ad5
push str.zlib_corrupt
call fcn.004cddf1
pop ecx
jmp 0x4d2b15
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4d2ae5
push str.read_past_buffer
jmp 0x4d2acd
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4d2aff
push edi
push ecx
push esi
call fcn.004d5d15
add esp, 0xc
test eax, eax
je 0x4d2b15
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00632120
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x4e1a40
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [0x71dafc], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x4e1ab5
test edi, edi
je 0x4e1ab5
mov eax, dword [0x71db00]
test eax, eax
jne 0x4e1aaf
mov esi, dword [esp + 0x1c]
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.004e1840
add esp, 0x10
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.00639b63
add esp, 4
push eax
call fcn.004e2220
push dword [0x71daf8]
call fcn.00639f41
add esp, 0x18
call fcn.006478cb
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x71db00], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test edi, edi
je 0x4e1ae8
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.RECV__s:_d_recv__lu____ld_n
call fcn.004e1840
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret
Function at 0x4e1b20
Capabilities:
Send data
Send data on socket

Disassembly:
cmp byte [0x71dafc], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x4e1b95
test edi, edi
je 0x4e1b95
mov eax, dword [0x71db00]
test eax, eax
jne 0x4e1b8f
mov esi, dword [esp + 0x1c]
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.004e1840
add esp, 0x10
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.00639b63
add esp, 4
push eax
call fcn.004e2220
push dword [0x71daf8]
call fcn.00639f41
add esp, 0x18
call fcn.006478cb
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x71db00], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test edi, edi
je 0x4e1bc8
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.SEND__s:_d_send__lu____ld_n
call fcn.004e1840
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret
Function at 0x508340
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c4
mov eax, dword [0x719dd4]
xor eax, esp
mov dword [esp + 0x1c0], eax
cmp byte [0x71dcc4], 0
push ebx
mov ebx, dword [esp + 0x1cc]
mov dword [esp + 0x10], ebx
jne 0x508379
call fcn.00575e20
test eax, eax
je 0x508391
mov byte [0x71dcc4], 1
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0063024e
add esp, 0x1c4
ret
mov eax, dword [ebx + 0x9f8]
test eax, eax
je 0x5083b2
push 0x400
push eax
call fcn.00576ae0
add esp, 8
call fcn.00575e20
test eax, eax
jne 0x508379
push ebp
push esi
push edi
nop word [eax + eax]
mov ebx, 2
mov dword [esp + 0x18], 4
lea eax, [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
nop dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.004e9000
push 0
push 1
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x3c], xmm0
movups xmmword [esp + 0x2c], xmm0
call fcn.004f2250
lea eax, [esp + 0x5c]
push eax
call fcn.004e9000
mov esi, dword [eax + 8]
lea eax, [esp + 0x70]
push eax
call fcn.004e9000
add esp, 0x14
lea ebp, [ebx + 1]
mov ecx, eax
mov eax, esi
cdq
push 0
add eax, dword [ecx]
push ebp
adc edx, dword [ecx + 4]
push edx
push eax
call fcn.00630870
movups xmm1, xmmword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edi, eax
mov ebx, edx
dec esi
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd ecx, xmm0
shld ebx, edi, 8
push ecx
push eax
push 0
push esi
shl edi, 8
call fcn.00630870
xor edi, eax
xor ebx, edx
lea eax, [esp + 0x70]
mov dword [esp + 0x20], edi
push eax
mov dword [esp + 0x28], ebx
call fcn.004e9000
lea esi, [eax + 8]
lea eax, [esp + 0x84]
push eax
call fcn.004e9000
mov edx, dword [esp + 0x18]
add esp, 8
mov ebx, ebp
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
add ecx, dword [esi]
lea eax, [edx + 2]
imul edx, dword [esp + 0x28]
imul ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 0x10
xor ecx, edx
mov dword [esp + 0x28], ecx
movups xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
jne 0x5083e0
movsd xmm0, qword [0x68bd68]
lea eax, [esp + 0x90]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.00575c50
add esp, 0x10
call fcn.00575e20
test eax, eax
je 0x5083c0
lea eax, [esp + 0xd0]
mov byte [esp + 0xd0], 0
push 0x100
push eax
call fcn.00576920
add esp, 8
cmp byte [esp + 0xd0], 0
pop edi
pop esi
pop ebp
je 0x508544
lea eax, [esp + 0xc4]
push 0x400
push eax
call fcn.00576ae0
add esp, 8
call fcn.00575e20
test eax, eax
jne 0x508379
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [esp + 0x14]
call fcn.004f2430
add esp, 8
call fcn.00575e20
mov ecx, dword [esp + 0x1c4]
neg eax
pop ebx
sbb eax, eax
xor ecx, esp
and eax, 0xffffffdd
add eax, 0x23
call fcn.0063024e
add esp, 0x1c4
ret
Function at 0x50d430
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x68bd70
push 0x2d
lea esi, [ebp + 1]
push esi
push ebp
call fcn.004e1970
mov edi, eax
add esp, 0x10
test edi, edi
je 0x50d48d
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x50d4ab
cmp esi, ebx
je 0x50d4ab
cmp esi, 0x8000
ja 0x50d4ab
cmp esi, ebx
jb 0x50d4a4
push 0x68bd70
push 0x2d
push esi
push edi
call fcn.004e1970
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x50d450
push 0x68bd70
push 0x2f
push ebp
call fcn.004e1800
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x68bd70
push 0x3a
push edi
call fcn.004e1800
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5d9030
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x5d9044
mov dword [esp + 0x18], fcn.005d7810
jmp fcn.005d0b80
mov dword [esp + 0x18], fcn.005d6ab0
jmp fcn.005d0880