joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b198
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x2b831c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x266771
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00493368
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00494590
mov eax, dword [esi]
call fcn.00481e78
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x49b20a
mov eax, dword [esi]
call fcn.00481e78
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00481e84
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x49b22e
mov eax, dword [esi]
call fcn.00481e84
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00481e6c
cmp eax, dword [ebp - 0x18]
jle 0x49b244
mov eax, dword [esi]
call fcn.00481e6c
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00481e60
cmp eax, dword [ebp - 0xc]
jle 0x49b25a
mov eax, dword [esi]
call fcn.00481e60
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00499b20
push eax
call fcn.004083d8
call fcn.00407938
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x49b321
mov eax, ebx
call fcn.00404fc8
cmp eax, 0x64
jge 0x49b321
cmp dword [0x2b33a4], 0
je 0x49b321
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00408428
cmp dword [ebp - 8], 0
je 0x49b321
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00408428
cmp dword [ebp - 8], 0
je 0x49b2e4
mov bl, 2
jmp 0x49b2ff
lea edx, [ebp - 0x20]
mov eax, dword [0x2c05d4]
call fcn.0049e430
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x49b2fd
xor ebx, ebx
jmp 0x49b2ff
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x2b34ac]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.00499b20
push eax
call dword [0x2b33a4]
mov eax, dword [0x2b814c]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00497254
push 4
mov eax, dword [ebp - 4]
call fcn.00499b20
push eax
call fcn.00408420
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x266778
call fcn.00407938
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x40d7bb
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x59ff60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x840], eax
test edi, edi
je 0x40d8b9
test ecx, ecx
je 0x40d8b9
mov edx, dword [ebp + 0x18]
xor eax, eax
and edx, 0x2e000000
mov dword [ebp - 0x830], 0x824
test dword [ebp + 0x18], 0x90000000
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x844], edx
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
je 0x40d853
cmp dword [edi + 0x30], eax
je 0x40d853
test dword [ebp + 0x18], 0x2000000
je 0x40d849
mov dword [ebp - 0x838], 1
jmp 0x40d853
mov dword [ebp - 0x83c], SysReAllocString
push edx
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x40d8ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40d8b9
push dword [ebp - 0x830]
call fcn.00408de4
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40d8b9
push dword [ebp - 0x844]
lea eax, [ebp - 0x830]
mov dword [ebp - 0x82c], 1
push eax
push ebx
push dword [ebp - 0x834]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x40d8d4
push ebx
call fcn.00408e11
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525164
mov esp, ebp
pop ebp
ret 0x14
lea ebx, [ebp - 0x828]
push edi
push dword [ebp - 0x83c]
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x838], 0
mov dword [ebp - 0x834], eax
je 0x40d935
cmp dword [edi + 0x2c], 0
je 0x40d909
push dword [edi + 0x2c]
call fcn.00527500
pop ecx
cmp eax, 0x824
jae 0x40d957
push 0x2100000
xor eax, eax
push eax
push eax
push dword [edi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
test eax, eax
js 0x40d957
cmp dword [edi + 0x2c], 0
jne 0x40d929
xor eax, eax
jmp 0x40d932
push dword [edi + 0x2c]
call fcn.00527500
pop ecx
mov dword [edi + 0x30], eax
cmp dword [ebp - 0x82c], 0
je 0x40d945
push ebx
call fcn.00408e11
pop ecx
mov ecx, dword [ebp - 0x834]
test ecx, ecx
jne 0x40d969
mov dword [esi], 0x1000
jmp 0x40d9c4
cmp dword [ebp - 0x82c], 0
je 0x40d8b9
jmp 0x40d8b2
mov edx, dword [ebp - 0x840]
mov ax, word [edi + 0x18]
mov word [edx], ax
mov eax, dword [edi + 0xc]
dec eax
je 0x40d9be
dec eax
je 0x40d9b6
dec eax
je 0x40d9ae
dec eax
je 0x40d9a6
dec eax
je 0x40d99e
dec eax
je 0x40d996
dec eax
jne 0x40d94f
mov dword [esi], 0x1002
jmp 0x40d9c4
mov dword [esi], 0x1006
jmp 0x40d9c4
mov dword [esi], 0x1001
jmp 0x40d9c4
mov dword [esi], 0x100b
jmp 0x40d9c4
mov dword [esi], 3
jmp 0x40d9c4
mov dword [esi], 2
jmp 0x40d9c4
mov dword [esi], 1
mov eax, ecx
jmp 0x40d8bb

Function at 0x40f715
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x70
mov ebx, 0x5a0004
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
Function at 0x40fa3d
Capabilities:
Terminate process

Disassembly:
jmp 0x40fa40
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
add al, 0x24
add byte [eax], al
add byte [eax], al
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
nop
nop
nop

Function at 0x40fa57
Capabilities:
Terminate process

Disassembly:
jmp 0x40fa40
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
add al, 0x24
add byte [eax], al
add byte [eax], al
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
nop
nop
nop

Function at 0x415b06
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x415b4b
call fcn.0040f5fa
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x415b4b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x415b67
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00420c47
mov ebx, eax
test edi, edi
je 0x415b65
test esi, esi
je 0x415b65
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41b900
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542086
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0052be60
mov eax, dword [0x59ff60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x41ba34
push ebx
push eax
call fcn.0041ba83
mov ebx, eax
test ebx, ebx
jne 0x41b968
push esi
jmp 0x41ba5c
call fcn.0040a217
push eax
lea ecx, [ebp - 0x1014]
call fcn.00401b80
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x41b9f3
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.004023a0
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.00409ec3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x41ba21
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.00403470
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402420
jmp 0x41ba63
push esi
mov ecx, edi
call fcn.00401bb0
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x41ba1a
test esi, esi
jne 0x41ba3d
mov esi, 0x551d28
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.00401bb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525164
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41cd0a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x59ff60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41cd9c
test esi, esi
je 0x41cd9c
push esi
call fcn.00527500
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.00525c60
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x41cd81
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x41cd81
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41cd89
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525164
mov esp, ebp
pop ebp
ret 8
call fcn.00408ec5
int3
Function at 0x43946e
Capabilities:
Read data from internet
Receive data
Terminate process

Disassembly:
mov eax, dword [sym.imp.WININET.dll_InternetOpenUrlA]
call eax
sub esp, 0x18
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4395da
mov edx, dword [ebx + 8]
lea eax, [ebp - 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.WININET.dll_InternetReadFile]
call eax
sub esp, 0x10
test eax, eax
je 0x4394bc
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4394bc
mov eax, 1
jmp 0x4394c1
mov eax, 0
test al, al
je 0x4394cd
invalid
mov eax, dword [ebp - 0x40]
add dword [ebp - 0xc], eax
jmp 0x439485
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
je 0x4395dd
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x1f
jg 0x43950d
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp - 0x34]
add edx, ecx
mov dword [eax], edx
add dword [ebp - 0x10], 4
jmp 0x4394e8
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4395e0
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [ebp - 0x28]
call eax
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x70]
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 8
cmp dword [ebp - 0x10], 0x7fff
jg 0x43959e
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
add eax, edx
mov edx, dword [ebp - 0x34]
add edx, ecx
mov dword [eax], edx
add dword [ebp - 0x10], 4
jmp 0x439576
mov edx, dword [ebx + 0x58]
mov eax, dword [ebp - 0x20]
add eax, 8
mov dword [eax], edx
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp - 0x20]
add eax, 0xc
mov eax, dword [eax]
add edx, eax
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
jmp 0x4395e1
nop
jmp 0x4395e1
nop
jmp 0x4395e1
nop
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
Function at 0x46959a
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4695e8
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00527500
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x4695dd
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4695cb
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00408ec5
int3

Function at 0x4c5b9f
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x54b0c6
call fcn.00527450
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403470
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push str.__0r
call fcn.004089f0
cmp eax, 0xffffffff
jne 0x4c5c84
push 0
push 0x559804
lea ecx, [ebp - 0x278]
call fcn.004089f0
cmp eax, 0xffffffff
jne 0x4c5c84
push 0
push 0x553348
lea ecx, [ebp - 0x278]
call fcn.004089f0
cmp eax, 0xffffffff
jne 0x4c5c84
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403470
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4c5c60
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402420
jmp 0x4c5cb3
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.004024e0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402420
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4c5caa
mov ebx, dword [ebp - 0x274]
jmp 0x4c5cb3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402420
mov eax, ebx
call fcn.005273ff
ret
Function at 0x4e9966
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x54cbfc
call fcn.00527450
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.00508d08
push 0x1c4
call fcn.00408de4
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4e99a9
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.00509335
jmp 0x4e99ab
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.00508183
call fcn.0040f5fa
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.00527500
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x4e9bc8
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x4e9bc2
xor esi, esi
mov dword [ebp - 0x120], esi
cmp dword [ebx + 4], eax
jle 0x4e9bc2
call fcn.0040a217
push eax
lea ecx, [ebp - 0x118]
call fcn.00401b80
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x4e9ba0
push 0x5622d4
mov esi, 0x5622d8
lea ecx, [ebp - 0x118]
push esi
call fcn.00405eb0
push esi
push 0x559728
lea ecx, [ebp - 0x118]
call fcn.00405eb0
push esi
push 0x5622d4
lea ecx, [ebp - 0x118]
call fcn.00405eb0
call fcn.0040a217
push eax
lea ecx, [ebp - 0x124]
call fcn.00401b80
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4e9acc
push dword [ebp - 0x118]
lea eax, [ebp - 0x124]
push str.https:__www.cs.cmu.edu_._gdead_dead_lyrics_Day_Tripper.txt
push eax
call fcn.00405870
add esp, 0xc
jmp 0x4e9afe
jge 0x4e9aec
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x124]
push str._d__s
push eax
call fcn.00405870
add esp, 0x10
jmp 0x4e9afe
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
call fcn.00403400
push 0x1c4
call fcn.00408de4
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4e9b28
mov ecx, eax
call fcn.004913d0
mov ecx, eax
mov dword [ebp - 0x11c], eax
jmp 0x4e9b30
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x124]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.0041c0c0
mov ecx, dword [ebp - 0x11c]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.00508183
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.00402420
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00402420
inc esi
mov dword [ebp - 0x120], esi
cmp esi, dword [ebx + 4]
jl 0x4e9a21
call fcn.005273ff
ret
call fcn.0052a0a1
int3
Function at 0x403550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a300c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035e8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4035c8
xor eax, eax
push ebp
push 0x4035c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403604
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4035c8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4a300c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a300c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4043b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a504c], 0
je 0x404411
cmp word [0x4a5220], 0xd7b2
jne 0x4043d9
cmp dword [0x4a5228], 0
jbe 0x4043d9
mov eax, 0x4a521c
call dword [0x4a5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a3054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404438
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a301c], 0
jne 0x40442d
push 0
push 0x4a3074
push 0x4a3054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406210
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406334
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406187
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406334
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406187
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406350
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406210
xor eax, eax
push ebp
push 0x406209
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405f4c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4061ee
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406370
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4061ee
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406210
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40632a
cmp byte [ebp - 0xd], 0
jne 0x406257
cmp byte [ebp - 0x12], 0
je 0x40632a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406270
dec ebx
cmp byte [ebx], 0x2e
je 0x40627f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40626f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40632a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4062bc
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40632a
cmp byte [ebp - 0xd], 0
je 0x40632a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40632a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret