joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418164
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x431b90
call fcn.004183c0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4181a4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4181a4
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4181bc
cmp eax, 0x20b
je 0x4181a9
mov dword [ebp - 0x1c], ebx
jmp 0x4181d0
cmp dword [ecx + 0x84], 0xe
jbe 0x4181a4
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4181ca
cmp dword [ecx + 0x74], 0xe
jbe 0x4181a4
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x43daf4], 0xffffffff
or dword [0x43daf8], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x43daec]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x43dae8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x43daf0], eax
call fcn.00418424
call fcn.004184c4
cmp dword [0x43ca90], ebx
jne 0x418230
push fcn.004184c4
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004184b2
push 0x43400c
push 0x434008
call sub.MSVCR71.dll__initterm
push 0x418468
call fcn.004183a8
mov eax, dword [0x43dae4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x43dae0]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x418284
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x434004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x418302
cmp al, bl
je 0x4182ae
cmp dword [ebp - 0x20], ebx
jne 0x418302
mov al, byte [esi]
cmp al, bl
je 0x4182be
cmp al, 0x20
ja 0x4182be
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4182ae
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4182da
movzx eax, word [ebp - 0x54]
jmp 0x4182dd
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00407930
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x4182fa
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x418357
cmp al, 0x22
jne 0x418311
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x418324
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x41829c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004183fb
ret
Function at 0x401ad1
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x406108
call fcn.0040285c
mov edi, 0x94
mov eax, edi
call fcn.004029c0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4082b8], ecx
mov eax, dword [esi + 4]
mov dword [0x4082c4], eax
mov edx, dword [esi + 8]
mov dword [0x4082c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4082bc], esi
cmp ecx, 2
je 0x401b31
or esi, 0x8000
mov dword [0x4082bc], esi
shl eax, 8
add eax, edx
mov dword [0x4082c0], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x401b6c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b6c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401b84
cmp eax, 0x20b
je 0x401b71
mov dword [ebp - 0x1c], esi
jmp 0x401b98
cmp dword [ecx + 0x84], 0xe
jbe 0x401b6c
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x401b92
cmp dword [ecx + 0x74], 0xe
jbe 0x401b6c
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0040280a
pop ecx
test eax, eax
jne 0x401bc4
cmp dword [0x4082a8], 1
jne 0x401bb1
call fcn.00401fbf
push 0x1c
call fcn.00401e48
push 0xff
call fcn.00401cad
pop ecx
pop ecx
call fcn.00402768
mov dword [ebp - 4], esi
call fcn.004025bd
test eax, eax
jge 0x401bdd
push 0x1b
call fcn.00401aac
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x408a14], eax
call fcn.0040249b
mov dword [0x4082a0], eax
call fcn.004023f9
test eax, eax
jge 0x401c03
push 8
call fcn.00401aac
pop ecx
call fcn.004021c6
test eax, eax
jge 0x401c14
push 9
call fcn.00401aac
pop ecx
push 1
call fcn.00401cdd
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x401c2a
push eax
call fcn.00401aac
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402169
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x401c4b
movzx eax, word [ebp - 0x40]
jmp 0x401c4e
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00401050
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x401c6c
push edi
call fcn.00401e08
call fcn.00401e2a
jmp 0x401c9e
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00402897
ret
Function at 0x401d47
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x4082f8], esi
push edi
jne 0x401d67
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x4082f4], esi
mov byte [0x4082f0], al
jne 0x401dcd
mov ecx, dword [0x408a08]
test ecx, ecx
je 0x401dae
mov eax, dword [0x408a04]
sub eax, 4
cmp eax, ecx
jmp 0x401da7
mov eax, dword [eax]
test eax, eax
je 0x401d99
call eax
mov eax, dword [0x408a04]
sub eax, 4
cmp eax, dword [0x408a08]
mov dword [0x408a04], eax
jae 0x401d91
mov eax, 0x40801c
mov esi, 0x408020
cmp eax, esi
mov edi, eax
jae 0x401dcd
mov eax, dword [edi]
test eax, eax
je 0x401dc6
call eax
add edi, 4
cmp edi, esi
jb 0x401dbe
mov eax, 0x408024
mov esi, 0x408028
cmp eax, esi
mov edi, eax
jae 0x401dec
mov eax, dword [edi]
test eax, eax
je 0x401de5
call eax
add edi, 4
cmp edi, esi
jb 0x401ddd
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x401e06
push dword [ebp + 8]
mov dword [0x4082f8], 1
call fcn.00401cad
pop ebp
ret

Function at 0x401e48
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x408170]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x408038]
je 0x401e7d
inc eax
cmp eax, 0x13
jb 0x401e6e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x408038]
jne 0x401fa3
mov eax, dword [0x4082a8]
cmp eax, 1
je 0x401f7b
cmp eax, edx
jne 0x401ead
cmp dword [0x408034], 1
je 0x401f7b
cmp ecx, 0xfc
je 0x401fa3
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401ee3
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00402bc0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00402df0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x401f17
mov eax, edi
push eax
call fcn.00402df0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x406520
push edi
call fcn.00402cc0
add esp, 0x10
push edi
call fcn.00402df0
push dword [esi + 0x40803c]
mov ebx, eax
call fcn.00402df0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004029c0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00402bc0
push edi
push ebx
call fcn.00402bd0
push 0x406500
push ebx
call fcn.00402bd0
push dword [esi + 0x40803c]
push ebx
call fcn.00402bd0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00402ab9
add esp, 0x2c
jmp 0x401fa3
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x40803c]
push dword [esi]
call fcn.00402df0
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00402eac
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x402ab9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x408414], ebx
push esi
push edi
jne 0x402b39
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x402b74
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4065b4
push edi
call esi
test eax, eax
mov dword [0x408414], eax
je 0x402b74
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x408418], eax
call esi
cmp dword [0x4082b8], 2
mov dword [0x40841c], eax
jne 0x402b39
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x408424], eax
je 0x402b39
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x408420], eax
mov eax, dword [0x408420]
test eax, eax
je 0x402b7e
call eax
test eax, eax
je 0x402b65
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x408424]
test eax, eax
je 0x402b65
test byte [ebp - 8], 1
jne 0x402b7e
cmp dword [0x4082c4], 4
jb 0x402b78
or byte [ebp + 0x12], 0x20
jmp 0x402b9d
xor eax, eax
jmp 0x402bad
or byte [ebp + 0x12], 4
jmp 0x402b9d
mov eax, dword [0x408418]
test eax, eax
je 0x402b9d
call eax
mov ebx, eax
test ebx, ebx
je 0x402b9d
mov eax, dword [0x40841c]
test eax, eax
je 0x402b9d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x408414]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4042fe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40432c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x404333
cmp ebx, dword [eax + 4]
jae 0x404333
xor eax, eax
jmp 0x404523
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x404344
xor eax, eax
inc eax
jmp 0x404522
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40435a
cmp ecx, edx
jae 0x40449f
cmp dword [eax + 4], 0
je 0x404363
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40434b
cmp dword [ebp + 8], 0
je 0x404385
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40449f
cmp eax, esi
jae 0x40449f
mov eax, dword [0x408430]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4043aa
cmp dword [esi*4 + 0x408438], edi
je 0x4044a3
inc esi
cmp esi, eax
jl 0x404398
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40451f
cmp dword [ebp - 8], 0x1000000
jne 0x40451f
test byte [ebp - 0xc], 0xcc
je 0x404428
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40451f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40451f
cmp word [eax + 0x18], 0x10b
jne 0x40451f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40451f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x404428
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x404428
test byte [ecx + 0x27], 0x80
jne 0x40449f
push 1
push 0x408478
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x40433c
mov ecx, dword [0x408430]
test ecx, ecx
mov edx, ecx
jle 0x40445c
lea eax, [ecx*4 + 0x408434]
cmp dword [eax], edi
je 0x40445c
dec edx
sub eax, 4
test edx, edx
jg 0x404450
test edx, edx
jne 0x40448d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x404469
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x404481
lea eax, [edx*4 + 0x408438]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40446f
cmp ecx, 0x10
jge 0x40448d
inc ecx
mov dword [0x408430], ecx
push 0
push 0x408478
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x40433c
xor eax, eax
jmp 0x404522
test esi, esi
jle 0x40433c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x408478
call ebx
test eax, eax
jne 0x40433c
cmp dword [esi*4 + 0x408438], edi
je 0x4044f9
mov eax, dword [0x408430]
lea esi, [eax - 1]
test esi, esi
jl 0x4044e7
cmp dword [esi*4 + 0x408438], edi
je 0x4044e3
dec esi
jns 0x4044d7
test esi, esi
jge 0x4044f7
cmp eax, 0x10
jge 0x4044f2
inc eax
mov dword [0x408430], eax
lea esi, [eax - 1]
jmp 0x4044f9
je 0x404511
xor ecx, ecx
test esi, esi
jl 0x404511
lea eax, [ecx*4 + 0x408438]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4044ff
push 0
push 0x408478
call ebx
jmp 0x40433c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4053ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004029c0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405447
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4082b8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x405447
cmp eax, 1
je 0x405468
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405447
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x405414
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x405443
xor eax, eax
inc eax
jmp 0x405487
cmp edi, eax
jae 0x40544b
xor eax, eax
jmp 0x405487
cmp eax, esi
jae 0x405452
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4082b8]
jmp 0x40546b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433c53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x433cbf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x433d08
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0044d100
add esp, 8
test eax, eax
jne 0x433d06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x433d0a
jmp 0x433cb6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43ff9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x43ffaa
xor eax, eax
jmp 0x440173
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44012b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x470eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x43ffb3
cmp dword [ebp + 0x10], 0
je 0x44016d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x470eac]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x440131
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4b37ea
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
push 0
call dword [ebp + 0x411427]
or eax, eax
je 0x4b3832
mov dword [ebp + 0x411363], eax
mov edx, eax
xor ebx, ebx
cmp ebx, 0x100
je 0x4b3830
mov eax, ebx
mov ecx, 8
test eax, 1
je 0x4b3824
shr eax, 1
xor eax, 0xedb88320
jmp 0x4b3826
shr eax, 1
loop 0x4b3814
mov dword [edx], eax
add edx, 4
inc ebx
jmp 0x4b3805
clc
ret
stc
ret

Function at 0x4b3834
Capabilities:
Encode data using xor

Disassembly:
or edx, edx
je 0x4b3857
jecxz 0x4b3857
push esi
push ebx
mov esi, dword [ebp + 0x411363]
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
and eax, 0xffffff
xor eax, dword [esi + ebx]
inc edx
loop 0x4b3842
pop ebx
pop esi
ret
Function at 0x401740
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0x104
mov eax, dword [ebp + 8]
push eax
push str.CommonProgramFiles
call dword [0x40703c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401777
push str.PPLiveNetworkPPAP.exe
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4071bc]
jmp 0x40179d
push 0x104
mov edx, dword [ebp + 8]
push edx
push str.ProgramFiles
call dword [0x40703c]
mov dword [ebp - 4], eax
push str.Common_FilesPPLiveNetworkPPAP.exe
mov eax, dword [ebp + 8]
push eax
call dword [0x4071bc]
cmp dword [ebp - 4], 0
jne 0x4017a7
xor eax, eax
jmp 0x4017ac
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4017c0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405f32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x60]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
lea edx, [ebp - 0x168]
push edx
call fcn.00401740
add esp, 4
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x16c], al
mov eax, dword [ebp - 0x16c]
and eax, 0xff
test eax, eax
je 0x4018bf
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x168]
push edx
push str.__s___LoadModule_MngModule.dll__T_2__A___s__
lea eax, [ebp - 0x64]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x64]
call fcn.00401410
push eax
call dword [0x407040]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.00401410
push eax
push 0
call dword [0x407038]
mov byte [ebp - 0x170], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x170]
jmp 0x4018e7
mov byte [ebp - 0x174], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x174]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret