joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40214c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00401379
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], 0x44
push esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 0xa
mov word [ebp - 0x22], si
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
pop esi
leave
ret

Function at 0x40256a
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x220]
sub esp, 0x2a0
mov eax, dword [0x418420]
xor eax, ebp
mov dword [ebp + 0x21c], eax
mov ecx, dword [0x41aa08]
inc dword [0x41aa08]
test ecx, ecx
mov eax, dword [ebp + 0x228]
push ebx
push esi
push edi
je 0x4025a6
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x22c]
mov ecx, 0x7d4
push eax
call fcn.00402748
push eax
mov ebx, 0x191
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0040951d
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4025de
push 0xc89
push str.sfxhead.c
call fcn.0040256a
push 0x30
mov ecx, 0x7d0
call fcn.00402748
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [0x41a9f0]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
mov esi, 0x104
lea eax, [ebp + 0x118]
push esi
push eax
call fcn.00401c51
lea eax, [ebp + 0x118]
push eax
call fcn.00409910
add esp, 0x10
test eax, eax
je 0x402637
push 0x414348
lea eax, [ebp + 0x118]
push esi
push eax
call fcn.004093fb
add esp, 0xc
mov edi, str.WZSFX32.RPT
push edi
lea eax, [ebp + 0x118]
push esi
push eax
call fcn.004093fb
add esp, 0xc
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40259e
push 0x4143a8
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.004093fb
push eax
call section..text
add esp, 0x10
test al, al
jne 0x40269f
push 0xc9a
push str.sfxhead.c
call fcn.0040256a
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00409910
pop ecx
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.00401ce6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov ecx, 0x7d1
call fcn.00402748
push eax
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0040951d
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4026f6
push 0xca2
push str.sfxhead.c
call fcn.0040256a
push 0x30
mov ecx, 0x7d0
call fcn.00402748
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [0x41a9f0]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40259e
Function at 0x402a67
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x418420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00409910
cmp eax, 2
pop ecx
je 0x402a92
push 0x494
push str.sfxhead.c
call fcn.0040256a
push esi
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.00409539
push eax
call section..text
add esp, 0x10
test al, al
jne 0x402ab2
push 0x495
jmp 0x402a88
push 0x414348
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.00409539
push eax
call section..text
add esp, 0x10
test al, al
jne 0x402ad6
push 0x496
jmp 0x402a88
lea eax, [ebp - 0xc]
push eax
call fcn.00409910
cmp eax, 8
pop ecx
jae 0x402b74
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x20
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x402b16
or ax, 0xffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409326
leave
ret
push 7
lea eax, [ebp - 0x2c]
push str.PKBACK
push eax
call fcn.0040134e
add esp, 0xc
test eax, eax
jne 0x402b05
mov al, byte [ebp - 0x2c]
cmp al, bl
lea ecx, [ebp - 0x2c]
je 0x402b05
cmp al, 0x2e
je 0x402b46
cmp al, 0x20
je 0x402b46
inc ecx
mov al, byte [ecx]
cmp al, bl
jne 0x402b37
cmp byte [ecx], bl
je 0x402b05
mov al, byte [ecx]
cmp al, 0x30
jb 0x402b54
cmp al, 0x39
jbe 0x402b57
inc ecx
jmp 0x402b4a
xor eax, eax
jmp 0x402b6c
movzx edx, dl
imul eax, eax, 0xa
sub edx, 0x30
cmp edx, 9
ja 0x402b09
add eax, edx
inc ecx
mov dl, byte [ecx]
cmp dl, bl
jne 0x402b5b
jmp 0x402b09
push 0x497
push dword [0x41801c]
jmp 0x402a8d
Function at 0x40414d
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x418420]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
mov eax, dword [ebp + 0x5ac]
push ebx
mov ebx, dword [ebp + 0x5b4]
push esi
push edi
mov edi, dword [ebp + 0x5b0]
push eax
mov dword [ebp - 0x2c], eax
mov esi, 0x2e3
lea eax, [ebp + 0x2bc]
push esi
push eax
call fcn.00409539
push eax
call section..text
add esp, 0x10
test al, al
jne 0x4041af
push 0xe3a
push str.sfxhead.c
call fcn.0040256a
cmp byte [edi], 0
je 0x4041fc
push 0x414468
lea eax, [ebp + 0x2bc]
push esi
push eax
call fcn.004093fb
push eax
call section..text
add esp, 0x10
test al, al
jne 0x4041da
push 0xe3d
jmp 0x4041a5
push edi
lea eax, [ebp + 0x2bc]
push esi
push eax
call fcn.004093fb
push eax
call section..text
add esp, 0x10
test al, al
jne 0x4041fc
push 0xe3e
jmp 0x4041a5
xor edi, edi
cmp ebx, 0xffffffff
jne 0x40424d
push 0x10
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00401379
push 0x44
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00401379
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp + 0x2bc]
push eax
push edi
mov dword [ebp - 0x70], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40424d
mov eax, dword [ebp - 0x80]
jmp 0x404362
mov eax, dword [0x418064]
test eax, 0x10000
je 0x4042b2
test eax, 0x20000
je 0x4042b2
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00401379
mov eax, dword [0x41a9f0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 0x640
mov dword [ebp - 0x5c], str.Install
mov dword [ebp - 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp - 0x48]
xor edi, edi
test ebx, ebx
je 0x4042cc
mov ecx, dword [ebp - 0x30]
mov dword [ebx], ecx
jmp 0x4042cc
lea eax, [ebp + 0x2bc]
push eax
call fcn.0040214c
cmp eax, edi
pop ecx
je 0x40431e
cmp ebx, edi
je 0x4042c9
mov dword [ebx], eax
push 0x21
pop eax
cmp eax, 0x20
ja 0x404362
push dword [ebp - 0x2c]
mov ecx, 0x400
push eax
call fcn.00402748
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0040951d
add esp, 0x14
cmp eax, 0xffffffff
jne 0x404300
push 0xea7
jmp 0x4041a5
push edi
mov ecx, 0x7d0
call fcn.00402748
push eax
lea eax, [ebp - 0x28]
push eax
push dword [0x41a9f0]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404360
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push edi
mov ecx, 0x7d0
call fcn.00402748
push eax
push dword [ebp - 0x2c]
push dword [0x41a9f0]
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp + 0x5a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409326
add ebp, 0x5a4
leave
ret
Function at 0x40437a
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, 0x7000
push esi
push 0
push dword [0x419404]
call fcn.00401379
mov eax, dword [0x419596]
add esp, 0xc
test eax, eax
jg 0x4043a5
and dword [0x41a964], 0
xor eax, eax
pop esi
ret
cmp eax, esi
ja 0x4043ab
mov esi, eax
push esi
push dword [0x419404]
push dword [0x418004]
call fcn.004090f2
add esp, 0xc
cmp dword [0x41a990], 0
mov dword [0x41a964], eax
je 0x404417
cmp eax, 0xffffffff
je 0x404417
cmp eax, esi
je 0x404423
test eax, eax
jl 0x404417
mov ecx, dword [0x41800c]
mov edx, dword [0x41a994]
inc ecx
call fcn.00402b84
mov eax, dword [0x41a964]
test eax, eax
jne 0x404410
push esi
push dword [0x419404]
push dword [0x418004]
call fcn.004090f2
add esp, 0xc
mov dword [0x41a964], eax
cmp eax, 0xffffffff
je 0x404417
mov esi, eax
cmp eax, esi
je 0x404423
push 2
pop ecx
jmp fcn.00403b75
mov esi, dword [0x419404]
mov ecx, dword [0x418044]
mov dword [0x41a960], esi
test byte [ecx + 0x28], 1
je 0x404475
mov byte [0x41a95f], 1
test word [ecx + 0x28], 0x1300
jne 0x404481
push edi
mov edi, eax
test edi, edi
je 0x40446d
dec edi
call fcn.00408d3e
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.00408d58
inc esi
test edi, edi
pop ecx
jne 0x404451
mov eax, dword [0x41a964]
mov byte [0x41a95f], 0
pop edi
mov ecx, eax
dec eax
mov dword [0x41a964], eax
mov eax, ecx
pop esi
ret
push 0xf71
push dword [0x41801c]
call fcn.0040256a
int3
Function at 0x408d58
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x424a98]
mov ecx, eax
xor ecx, dword [esp + 4]
shr eax, 8
mov edx, 0xff
and ecx, edx
xor eax, dword [ecx*4 + 0x4195a8]
mov ecx, dword [0x424aa0]
mov dword [0x424a98], eax
movzx eax, al
add eax, dword [0x424a9c]
imul eax, eax, 0x8088405
inc eax
mov dword [0x424a9c], eax
shr eax, 0x18
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x4195a8]
mov eax, dword [esp + 4]
mov dword [0x424aa0], ecx
ret

Function at 0x408de8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x418420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [0x41a98c]
mov esi, ecx
call fcn.00408db0
push 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00401329
add esp, 0x10
xor esi, esi
lea edx, [ebp + esi - 0x10]
call fcn.00408d3e
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.00408d58
inc esi
cmp esi, 0xc
pop ecx
jl 0x408e17
cmp dword [0x41a988], 0
movzx ax, byte [ebp - 5]
movzx eax, ax
pop esi
je 0x408e56
movzx cx, byte [0x41958f]
cmp ax, cx
je 0x408e60
or eax, 0xffffffff
jmp 0x408e62
movzx cx, byte [0x419595]
jmp 0x408e4c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409326
leave
ret

Function at 0x409326
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418420]
jne 0x409330
repz ret
jmp fcn.0040af28
Function at 0x40ea4f
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x418d70]
je 0x40ea6a
inc edi
cmp edi, 0x17
jb 0x40ea5b
cmp edi, 0x17
jae 0x40ebea
push ebp
push 3
call fcn.00412560
cmp eax, 1
pop ecx
je 0x40ebb6
push 3
call fcn.00412560
test eax, eax
pop ecx
jne 0x40ea9e
cmp dword [0x418460], 1
je 0x40ebb6
cmp ebx, 0xfc
je 0x40ebe9
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x424fe8
push ebp
call fcn.00409539
add esp, 0xc
test eax, eax
je 0x40ead4
push esi
push esi
push esi
push esi
push esi
call fcn.0040abb9
add esp, 0x14
push 0x104
mov esi, 0x425001
push esi
push 0
mov byte [0x425105], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40eb18
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00409539
add esp, 0xc
test eax, eax
je 0x40eb18
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040abb9
add esp, 0x14
push esi
call fcn.00409910
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40eb5d
push esi
call fcn.00409910
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4252fc
push 0x414cc4
sub ecx, eax
push ecx
push eax
call fcn.00409f77
add esp, 0x14
test eax, eax
je 0x40eb5d
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040abb9
add esp, 0x14
jmp 0x40eb5f
xor esi, esi
push 0x414cc0
push ebx
push ebp
call fcn.004093fb
add esp, 0xc
test eax, eax
je 0x40eb7f
push esi
push esi
push esi
push esi
push esi
call fcn.0040abb9
add esp, 0x14
push dword [edi*8 + 0x418d74]
push ebx
push ebp
call fcn.004093fb
add esp, 0xc
test eax, eax
je 0x40eba1
push esi
push esi
push esi
push esi
push esi
call fcn.0040abb9
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004123a3
add esp, 0xc
jmp 0x40ebe9
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40ebe9
cmp ebp, 0xffffffff
je 0x40ebe9
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x418d74]
push dword [esi]
call fcn.00409910
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4123a3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040bac9
xor ebx, ebx
cmp dword [0x425518], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x412479
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x412559
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x415764
push edi
call esi
cmp eax, ebx
je 0x412559
push eax
call fcn.0040ba5b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425518], eax
call esi
push eax
call fcn.0040ba5b
mov dword [esp], 0x415740
push edi
mov dword [0x42551c], eax
call esi
push eax
call fcn.0040ba5b
mov dword [0x425520], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040d770
test eax, eax
pop ecx
pop ecx
je 0x412447
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040abb9
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x412479
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040ba5b
cmp eax, ebx
pop ecx
mov dword [0x425528], eax
je 0x412479
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ba5b
pop ecx
mov dword [0x425524], eax
mov eax, dword [0x425524]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4124fe
cmp dword [0x425528], ecx
je 0x4124fe
push eax
call fcn.0040bad2
push dword [0x425528]
mov esi, eax
call fcn.0040bad2
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4124fe
cmp edi, ebx
je 0x4124fe
call esi
cmp eax, ebx
je 0x4124cb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4124cb
test byte [ebp - 0x18], 1
jne 0x4124fe
lea eax, [ebp - 0x10]
push eax
call fcn.0040d7a7
test eax, eax
pop ecx
je 0x4124e6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040abb9
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4124f5
or dword [ebp + 0x10], 0x200000
jmp 0x412539
or dword [ebp + 0x10], 0x40000
jmp 0x412539
mov eax, dword [0x42551c]
cmp eax, dword [ebp - 8]
je 0x412539
push eax
call fcn.0040bad2
cmp eax, ebx
pop ecx
je 0x412539
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x412539
mov eax, dword [0x425520]
cmp eax, dword [ebp - 8]
je 0x412539
push eax
call fcn.0040bad2
cmp eax, ebx
pop ecx
je 0x412539
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425518]
call fcn.0040bad2
cmp eax, ebx
pop ecx
je 0x412559
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41255b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5438b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4cc015
lea edi, [esi - 0xcb015]
lea eax, [edi + 0xec4a0]
push dword [eax]
mov dword [eax], 0x29aaf5e7
push eax
push edi
or ebp, 0xffffffff
jmp 0x5438e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5438e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5438d8
mov eax, 1
add ebx, ebx
jne 0x5438fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54390c
jne 0x54392b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54392b
dec eax
add ebx, ebx
jne 0x543918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5438f0
add ebx, ebx
jne 0x543927
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54397d
xor ecx, ecx
sub eax, 3
jb 0x543943
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5439b2
sar eax, 1
mov ebp, eax
jmp 0x54394e
add ebx, ebx
jne 0x54394e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54391c
inc ecx
add ebx, ebx
jne 0x54395c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54391c
add ebx, ebx
jne 0x543969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54395e
jne 0x54397a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54395e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54399c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54398e
jmp 0x5438de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54399c
add edi, ecx
jmp 0x5438de
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x4e5f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5439be
cmp byte [edi], 0x22
jne 0x5439be
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5439c3
lea edi, [esi + 0x140000]
mov eax, dword [edi]
or eax, eax
je 0x543a32
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1434a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14357c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5439f0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x143584]
or eax, eax
je 0x543a2c
mov dword [ebx], eax
add ebx, 4
jmp 0x543a0d
call dword [esi + 0x143580]
mov ebp, dword [esi + 0x143588]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x143a8d]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x543a7e
sub esp, 0xffffff80
jmp 0x401ed0
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x4015f2
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, 0x1054
call fcn.0040c3d8
sub esp, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.User__Agent
call sym._InternetOpenA_20
sub esp, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._InternetOpenUrlA_24
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401724
lea eax, [ebp - 0x2c]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1000
lea eax, [ebp - 0x1030]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._InternetReadFile_16
sub esp, 0x10
test eax, eax
je 0x4016c0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4016c0
mov eax, 1
jmp 0x4016c5
mov eax, 0
test al, al
je 0x4016e8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov dword [esp + 4], edx
lea edx, [ebp - 0x1030]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::append_char_const__unsigned_int_
sub esp, 8
jmp 0x401687
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._InternetCloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._InternetCloseHandle_4
sub esp, 4
lea eax, [ebp - 0x2c]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
sub esp, 4
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.0040b7a0
jmp 0x4017a4
mov dword [esp + 4], str.Failed_to_connect_to_the_API.
mov dword [esp], sym.imp.libstdc_6.dll_std::cerr
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
lea eax, [ebp - 0x11]
mov ecx, eax
call fcn.0040b808
lea eax, [ebp - 0x11]
mov dword [esp + 4], eax
mov dword [esp], 0x4100cd
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x11]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x4017a4
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x40af59
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x40af86
mov eax, dword [ebp + 8]
shr eax, 8
mov edx, eax
mov eax, dword [ebp + 8]
movzx eax, al
mov eax, dword [eax*4 + 0x410e20]
xor eax, edx
mov dword [ebp + 8], eax
add dword [ebp - 4], 1
cmp dword [ebp - 4], 3
jle 0x40af68
mov eax, dword [ebp + 8]
leave
ret