joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002af77
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002b0c2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1002afda
mov dword [ebp - 0xc], 1
jmp 0x1002afde
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jge 0x1002aff9
mov dword [ebp - 0x10], 1
jmp 0x1002affd
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jge 0x1002b010
mov dword [ebp - 0x14], 1
jmp 0x1002b014
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 7
je 0x1002b023
mov dword [ebp - 0x18], 1
jmp 0x1002b027
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1002b04e
mov eax, 0x779a7b44
test eax, eax
je 0x1002b04e
mov dword [ebp - 0x20], 1
jmp 0x1002b052
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x61780eec
jne 0x1002b064
mov dword [ebp - 0x24], 1
jmp 0x1002b068
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jg 0x1002b07b
mov dword [ebp - 0x2c], 1
jmp 0x1002b07f
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
sub edx, dword [ecx]
add edx, dword [eax]
imul edx, dword [ebp - 0x2c]
cmp edx, 0x3cf8
jg 0x1002b0af
mov dword [ebp - 0x30], 1
jmp 0x1002b0b3
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x1002b0d6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002b0d6
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esp, ebp
pop ebp
ret
Function at 0x1002d0bf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100774fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002d167
push 1
lea ecx, [ebp - 0x34]
call fcn.10023f9c
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x1002d10b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1002d124
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.1002403a
mov dword [eax], 5
jmp 0x1002d104
mov dword [ebp - 0x18], 0
jmp 0x1002d134
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1002d159
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002d157
push 0x9d
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x1002d12d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1002401e
jmp 0x1002d192
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002f79b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002f7bf
xor eax, eax
jmp 0x1002f8fb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002f7dd
xor eax, eax
jmp 0x1002f8fb
push 0x4371
push 0x36cd
push dword [ebp - 8]
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.1002f22c
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002f805
xor eax, eax
jmp 0x1002f8fb
lea eax, [ebp - 0x24]
push eax
push 0x3093
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.1002f495
add esp, 0x1c
push 0x5101
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x4b26
call fcn.1002f60c
add esp, 0x18
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002f6b2
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1002f87e
push 1
push 0x5876
push 0x62ef
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002f710
add esp, 0x14
push dword [ebp - 4]
call fcn.1002f117
pop ecx
test eax, eax
jne 0x1002f88f
xor eax, eax
jmp 0x1002f8fb
push 0
push dword [ebp - 4]
push 0x6cc3
call fcn.1002dcdb
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002f8e3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002f8c0
xor eax, eax
jmp 0x1002f8fb
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002f8d9
xor eax, eax
jmp 0x1002f8fb
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002f8f4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002f8f8
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1006acc1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007c38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10061fec
mov dword [ebp - 0x14], eax
cmp dword [0x1072bbc0], esi
jne 0x1006adb4
push 0x800
push esi
push 0x10006194
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006ad41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006ae94
push esi
push esi
push 0x10006194
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006ae94
push 0x100061ac
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006ae94
push eax
call ebx
push 0x100061b8
push edi
mov dword [0x1072bbc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100061c8
push edi
mov dword [0x1072bbc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100061dc
push edi
mov dword [0x1072bbc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1072bbd0], eax
test eax, eax
je 0x1006adb1
push 0x100061f8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1072bbcc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006add9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006adcc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006adee
push 4
pop eax
jmp 0x1006ae96
cmp dword [ebp - 0x14], esi
je 0x1006adee
push dword [0x1072bbc0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006add3
mov eax, dword [0x1072bbcc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006ae4c
cmp dword [0x1072bbd0], edi
je 0x1006ae4c
push eax
call ebx
push dword [0x1072bbd0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006ae4c
test eax, eax
je 0x1006ae4c
call ecx
test eax, eax
je 0x1006ae41
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006ae41
test byte [ebp - 8], 1
jne 0x1006ae4c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006ae7c
mov eax, dword [0x1072bbc4]
cmp eax, edi
je 0x1006ae79
push eax
call ebx
test eax, eax
je 0x1006ae79
call eax
mov esi, eax
test esi, esi
je 0x1006ae79
mov eax, dword [0x1072bbc8]
cmp eax, edi
je 0x1006ae79
push eax
call ebx
test eax, eax
je 0x1006ae79
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1072bbc0]
call ebx
test eax, eax
je 0x1006ae94
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006ae96
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x402160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [0x4336a8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov bl, 3
push str._TITLE_
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00417fdb
push eax
push 0
lea ecx, [esp + 0x30]
call fcn.00417d12
push str.__TITLE_
lea ecx, [esp + 0x2c]
call fcn.00417fdb
sub eax, 7
lea ecx, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push 7
push eax
call fcn.00417ecd
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 4
call fcn.0041aaf9
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0041a9c0
push str._AUTHOR_
lea ecx, [esp + 0x2c]
call fcn.00417fdb
push eax
push 0
lea ecx, [esp + 0x30]
call fcn.00417d12
push str.__AUTHOR_
lea ecx, [esp + 0x2c]
call fcn.00417fdb
sub eax, 8
lea ecx, [esp + 0x14]
push eax
push 8
push ecx
lea ecx, [esp + 0x34]
call fcn.00417ecd
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call fcn.0041aaf9
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0041a9c0
push 0x433418
lea ecx, [esp + 0x2c]
call fcn.00417fdb
sub eax, 5
lea ecx, [esp + 0x28]
push eax
push 0
call fcn.00417d12
push 0x433414
lea ecx, [esp + 0x2c]
call fcn.00417fdb
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.00417f63
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 6
call fcn.0041aaf9
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.0041a9c0
push 0x4356a0
push 0x433410
lea ecx, [esp + 0x10]
call fcn.00417d6a
push 0x4356a0
push 0x43340c
lea ecx, [esp + 0x10]
call fcn.00417d6a
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 0x3f0
call fcn.0041dabb
mov ecx, dword [esp + 0xc]
push ecx
push 0x3ef
mov ecx, esi
call fcn.0041dabb
mov edx, dword [esp + 8]
mov ecx, esi
push edx
push 0x3f1
call fcn.0041dabb
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.0041a9c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.0041a9c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0041a9c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041a9c0
mov ecx, dword [esp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x40eded
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x434940
cmp edx, dword [eax]
je 0x40ee0f
add eax, 8
inc ecx
cmp eax, 0x4349d0
jl 0x40ee00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x434940]
jne 0x40ef3d
mov eax, dword [0x437744]
cmp eax, 1
je 0x40ef17
test eax, eax
jne 0x40ee40
cmp dword [0x434464], 1
je 0x40ef17
cmp edx, 0xfc
je 0x40ef3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40ee77
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040ef40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040f030
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40eeba
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f030
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42b674
push edi
call fcn.004125f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040ef40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040ef50
lea eax, [ebp - 0xa0]
push 0x42b654
push eax
call fcn.0040ef50
push dword [esi + 0x434944]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040ef50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041255d
add esp, 0x2c
pop edi
jmp 0x40ef3d
lea eax, [ebp + 8]
lea esi, [esi + 0x434944]
push 0
push eax
push dword [esi]
call fcn.0040f030
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x417670
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040c0d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41773b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41773b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4176ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4176f9
or bh, 8
and edi, 0x8000000
je 0x417714
mov eax, dword [0x438edc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41773b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x417b3b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x417b5f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x417b7a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x41bd74
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41bdac
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041ae40
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041ae18
jmp 0x41bdb8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x41bdbc
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x435758
mov ecx, edi
call fcn.0041ab49
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x41be0f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x41be22
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0041ae40
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0041ae18
jmp 0x41be22
mov ecx, esi
call fcn.0041da63
test eax, eax
je 0x41be22
push edi
mov ecx, eax
call fcn.0041bd74
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x41d363
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41d3a5
call fcn.0042307d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41d3a5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41d39c
xor eax, eax
jmp 0x41d3ad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041d3b3
pop edi
pop esi
pop ebx
ret 4

Function at 0x421695
Capabilities:
Create http request

Disassembly:
mov eax, 0x4265a0
call fcn.0040aea0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4216cd
call fcn.0042307d
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4216f2
push eax
push dword [esi + 4]
call fcn.004222d5
jmp 0x4216fe
push esi
push eax
mov ecx, 0x435760
call fcn.0042170f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4219c0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4265ff
call fcn.0040aea0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0041ed95
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4336a8]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.0041ab49
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0041ab49
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x733a0691
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4463410c
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x531901
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
cmp eax, dword [ebp + 0x10]
jge 0x531941
mov cl, byte [ebp + 0x14]
xor byte [edx + eax], cl
mov cl, byte [edx + eax]
and cl, 0xf
xor ebx, ebx
mov bl, byte [edx + eax]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
mov byte [edx + eax], cl
mov ecx, esi
add cl, al
xor byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x531913
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x531947
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
cmp eax, dword [ebp + 0x10]
jge 0x531984
mov ecx, esi
add cl, al
xor byte [edx + eax], cl
mov cl, byte [edx + eax]
and cl, 0xf
xor ebx, ebx
mov bl, byte [edx + eax]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
xor cl, byte [ebp + 0x14]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x531959
pop esi
pop ebx
pop ebp
ret 0x10