joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a264
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a4c4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45a2c7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00459d2c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040bd74
cmp al, 1
jne 0x45a2c7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0045a044
test al, al
je 0x45a453
cmp dword [ebp - 8], 0
jge 0x45a2e5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00459d2c
mov eax, dword [ebp - 0x210]
call fcn.0040417c
cmp ebx, eax
jge 0x45a32f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00459d2c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x47dc24]
and eax, 0xff
bt dword [edx], eax
jae 0x45a32f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x45a343
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045a240
cmp ebx, dword [ebp - 8]
je 0x45a445
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x45a36f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403368
and eax, 0x7f
movzx eax, word [eax*2 + 0x47ce70]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x45a432
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403368
and eax, 0x7f
movzx eax, word [eax*2 + 0x47ce70]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043e520
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403368
and eax, 0x7f
movzx eax, word [eax*2 + 0x47ce70]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043e520
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a439
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x45a4a6
cmp dword [ebp - 8], 0
jge 0x45a45e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00459d2c
mov eax, dword [ebp - 0x218]
call fcn.0040417c
cmp eax, dword [ebp - 8]
jg 0x45a498
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00459d2c
mov eax, dword [ebp - 0x21c]
call fcn.0040417c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045a240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a4cb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403ee0
ret
Function at 0x46a564
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46a592
mov eax, ebx
call fcn.0046b018
cmp dword [ebx + 0x40], 0
je 0x46a58b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46a603
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46a5f5
cmp dword [ebx + 8], 0
je 0x46a5b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46a5c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46a5f5
cmp dword [ebx + 8], 0
je 0x46a5a7
cmp eax, 3
je 0x46a5d9
dec eax
jne 0x46a5a7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46a5a7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46a5a7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46a621
cmp dword [ebx + 0x14], 0xcc
je 0x46a621
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046a62c
pop ebx
ret
Function at 0x10046552
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100d3940]
jne 0x1004655c
repz ret
jmp fcn.1004ee11

Function at 0x1004bd0e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1004ba16
sbb byte [eax + ebp - 0x3fba725f], ch
push eax
call fcn.1004ba26
push eax
push esi
push dword [ebp + 8]
call fcn.1004b9db
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1004ba16
bound edx, qword [ecx]
xchg byte [esi - 0x73], bl
inc ebp
call 0x60ed1b0c
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1004ba26
push eax
push esi
push dword [ebp + 8]
invalid
push cs
cld
Function at 0x1004bde3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cwde
pop ss
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1004ba26
push eax
push esi
push dword [ebp + 8]
call fcn.1004b9db
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1004ba26
push eax
push esi
push dword [ebp + 8]
call fcn.1004b9db
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1004ba16
and esi, edx
mul edi
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1004ba16
invalid

Function at 0x1004c107
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1004c0ed
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1004c10b
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
invalid
mov edi, dword [eax + 0x24]
add byte [ebx + 0x448d2478], cl
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
push esp
invalid
invalid
invalid
cmp eax, dword [ebp - 0x44]
ja 0x1004c169
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1004c150
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1004c159
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1004c163
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1004c145
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1004c0cf
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x1004c26f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1004ba26
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1004b9db
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.1004ba26
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1004b9db
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.1004ba26
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1004b9db
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.1004ba16
aam 0xea
loop 0x1004c490
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.1004ba26
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1004b9db
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.1004ba16
push es
push ebx
and eax, 0x9ca5808f
stc
invalid
movsd dword es:[edi], dword [esi]
int 0xfa
invalid
Function at 0x401548
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40155a
mov eax, dword [0x52408b]
shl eax, 2
mov dword [0x52408f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0050342c
pop edx
call fcn.00503390
call fcn.0050346c
push 0
call fcn.00504b00
pop ecx
push 0x524034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x524093], eax
push 0
jmp fcn.0050b190
Function at 0x4029f4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov byte [ebp - 8], dl
test dl, dl
jle 0x402a06
call fcn.0050f95c
mov byte [ebp - 0x2a], cl
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x5256f4
call fcn.00503e60
mov word [ebp - 0x18], 8
mov cl, byte [ebp - 0x2a]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004e476c
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 4]
add edx, 0x34
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ecx], eax
inc dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x38
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ecx], eax
inc dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x3c
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ecx], eax
inc dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4d8104]
call fcn.00401af8
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4d86f0]
call fcn.004024a8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
push 8
call fcn.00502dd8
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
push 0x18
call fcn.00420d10
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
push 0x18
call fcn.00420d10
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x29], 0
je 0x402ad8
call fcn.0050f969
mov esp, ebp
pop ebp
ret

Function at 0x402f24
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov esi, 0x524f68
lea edi, [ebp - 0x28]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov esi, 0x524f84
lea edi, [ebp - 0x12c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 8], eax
push dword [ebp + 8]
push 4
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x402f74
xor eax, eax
jmp 0x402ffd
mov dword [ebp - 0x28], 0x1c
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_Thread32First
test eax, eax
je 0x402fed
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 8]
jne 0x402fd4
push dword [ebp - 0x20]
push 0
push 2
call sub.KERNEL32.DLL_OpenThread
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402fb4
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x402ffd
cmp dword [ebp + 0xc], 0
je 0x402fc4
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_ResumeThread
jmp 0x402fcc
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_SuspendThread
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_CloseHandle
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_Thread32Next
test eax, eax
jne 0x402f8b
mov dword [ebp - 8], 1
jmp 0x402ff2
xor ecx, ecx
mov dword [ebp - 8], ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa80
push esi
push edi
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], eax
mov eax, 0x52da9c
call fcn.00503e60
mov esi, 0x5266b4
lea edi, [ebp - 0x580]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 0x438]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 0x438]
mov eax, dword [eax + 0x23c]
call fcn.004dc318
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx + 0x438]
mov eax, dword [ecx + 0x23c]
call fcn.004be170
mov dword [ebp - 0x110], eax
push 0
push 0
lea edx, [ebp - 0x580]
push edx
push str.GUI_CONFIG_DICT_TYPE
call fcn.00420670
add esp, 0x10
mov word [ebp - 0xf4], 8
lea edx, [ebp - 0x580]
lea eax, [ebp - 4]
call fcn.0050efe0
inc dword [ebp - 0xe8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x110]
call fcn.004bddf4
dec dword [ebp - 0xe8]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0050f140
mov edx, 0x96
mov eax, dword [ebp - 0x110]
call fcn.004bde90
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 0x438]
mov eax, dword [eax + 0x23c]
call fcn.004be170
mov dword [ebp - 0x110], eax
push 0
push 0
lea edx, [ebp - 0x580]
push edx
push str.GUI_CONFIG_DICT_FILENAME
call fcn.00420670
add esp, 0x10
mov word [ebp - 0xf4], 0x14
lea edx, [ebp - 0x580]
lea eax, [ebp - 8]
call fcn.0050efe0
inc dword [ebp - 0xe8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x110]
call fcn.004bddf4
dec dword [ebp - 0xe8]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0050f140
mov edx, 0xe6
mov eax, dword [ebp - 0x110]
call fcn.004bde90
xor ecx, ecx
mov dword [ebp - 0x114], ecx
push 0
push 0
lea eax, [ebp - 0x580]
push eax
push 0x52bb5f
call fcn.00420670
add esp, 0x10
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx + 0x438]
mov eax, dword [ecx + 0x22c]
call fcn.004bf274
mov dword [ebp - 0x114], eax
mov word [ebp - 0xf4], 0x20
lea edx, [ebp - 0x580]
lea eax, [ebp - 0xc]
call fcn.0050efe0
inc dword [ebp - 0xe8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x114]
call fcn.004beb4c
dec dword [ebp - 0xe8]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0050f140
push dword [ebp - 0x10c]
push 0x104
lea ecx, [ebp - 0x580]
push ecx
push 0x52bb8f
push 0x52bb86
push 0x52bb77
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov eax, dword [ebp - 0x114]
add eax, 8
mov dword [ebp - 0x118], eax
mov word [ebp - 0xf4], 0x2c
lea edx, [ebp - 0x580]
lea eax, [ebp - 0x10]
call fcn.0050efe0
inc dword [ebp - 0xe8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0xe8]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0050f140
push 0
push 0
lea ecx, [ebp - 0x580]
push ecx
push 0x52bb91
add al, ch
mov ebx, 0x830001b1
les edx, [eax]
Function at 0x417ef8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov eax, dword [str.DBMSSOCN]
mov dword [ebp - 0x14], eax
mov eax, dword [0x536184]
mov dword [ebp - 0x10], eax
mov ax, word [0x536188]
mov word [ebp - 0xc], ax
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftMSSQLServerClientConnectTo
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x417f6b
lea eax, [ebp - 0x14]
push eax
call fcn.00503a8c
pop ecx
push eax
lea edx, [ebp - 0x14]
push edx
push 1
push 0
push str.DSQUERY
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret
Function at 0x41cbe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov ax, word [0x53d51d]
mov word [ebp - 0xfe], ax
xor edx, edx
mov dword [ebp - 0x104], edx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call fcn.005038dc
add esp, 0xc
jmp 0x41cc68
inc dword [ebp - 0x108]
mov byte [ebp - 0xfd], 0
mov al, byte [ebp - 0xfe]
cmp al, byte [ebp + 0x14]
je 0x41cc88
mov edx, dword [ebp - 0x108]
cmp edx, dword [ebp + 0x10]
jg 0x41cc88
lea ecx, [ebp - 0xfe]
push ecx
push dword [ebp + 0xc]
call fcn.00503980
add esp, 8
push 5
push 0x53ea46
push dword [ebp + 8]
call fcn.0041fd48
add esp, 0xc
test eax, eax
jge 0x41cc68
or eax, 0xffffffff
jmp 0x41cc8e
push 0
push 1
lea edx, [ebp - 0xfe]
push edx
push dword [ebp + 8]
call sub.WS2_32.DLL_recv
test eax, eax
jle 0x41cc88
cmp byte [0x53d10c], 0
je 0x41cc18
mov eax, dword [ebp - 0x108]
mov esp, ebp
pop ebp
ret

Function at 0x41f9a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
mov word [ebp - 2], 0x202
lea eax, [ebp - 0x198]
push eax
mov dx, word [ebp - 2]
push edx
call sub.WS2_32.DLL_WSAStartup
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4202a8
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff08
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 0x10], 0x3e8
jae 0x4202cb
imul eax, dword [ebp + 0x10], 0x3e8
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x10], 0xffffffff
push 6
push 1
push 2
call sub.WS2_32.DLL_socket
mov dword [ebp - 0x10], eax
test eax, eax
jge 0x420306
call sub.WS2_32.DLL_WSAGetLastError
push eax
push 0x540f19
lea edx, [ebp - 0xf8]
push edx
call fcn.00506898
add esp, 0xc
or eax, 0xffffffff
jmp 0x42048a
push 0x10
push 0
lea edx, [ebp - 0x30]
push edx
call fcn.005038dc
add esp, 0xc
push dword [ebp + 8]
call sub.WS2_32.DLL_inet_addr
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42037e
push dword [ebp + 8]
call sub.WS2_32.DLL_gethostbyname
mov dword [ebp - 4], eax
test eax, eax
jne 0x420360
call sub.WS2_32.DLL_WSAGetLastError
push eax
push 0x540f31
lea edx, [ebp - 0xf8]
push edx
call fcn.00506898
add esp, 0xc
push dword [ebp - 0x10]
call sub.WS2_32.DLL_closesocket
or eax, 0xffffffff
jmp 0x42048a
mov edx, dword [ebp - 4]
movsx ecx, word [edx + 0xa]
push ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
push dword [edx]
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0050386c
add esp, 0xc
jmp 0x420384
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x30], 2
mov dx, word [ebp + 0xc]
push edx
call sub.WS2_32.DLL_htons
mov word [ebp - 0x2e], ax
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x4203ca
lea ecx, [ebp - 0xc]
push ecx
push 0x8004667e
push dword [ebp - 0x10]
call sub.WS2_32.DLL_ioctlsocket
test eax, eax
jge 0x4203ca
push dword [ebp - 0x10]
call sub.WS2_32.DLL_closesocket
or eax, 0xffffffff
jmp 0x42048a
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x18], eax
jmp 0x420434
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x10]
jbe 0x4203f7
push dword [ebp - 0x10]
call sub.WS2_32.DLL_closesocket
or eax, 0xffffffff
jmp 0x42048a
call fcn.004205b0
call sub.WS2_32.DLL_WSAGetLastError
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x420415
cmp dword [ebp - 0x20], 0x2748
je 0x420449
jmp 0x420434
cmp dword [ebp - 0x20], 0x2733
je 0x420434
cmp dword [ebp - 0x20], 0x2735
je 0x420434
push dword [ebp - 0x10]
call sub.WS2_32.DLL_closesocket
or eax, 0xffffffff
jmp 0x42048a
push 0x10
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x10]
call sub.WS2_32.DLL_connect
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4203d4
push dword [ebp + 0x10]
push 0x540f5e
push dword [ebp - 0x10]
call fcn.0041fd48
add esp, 0xc
test eax, eax
jge 0x420487
call sub.WS2_32.DLL_WSAGetLastError
push eax
push str.status:_connect___failed__error_code:__d_n
lea edx, [ebp - 0xf8]
push edx
call fcn.00506898
add esp, 0xc
push dword [ebp - 0x10]
call sub.WS2_32.DLL_closesocket
or eax, 0xffffffff
jmp 0x42048a
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret