joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dac0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x41e038]
test eax, eax
je 0x40db53
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 2
jb 0x40dae6
cmp dword [eax + 4], 0
je 0x40dae6
add eax, 8
pop esi
ret
mov eax, dword [0x41e038]
test eax, eax
je 0x40db62
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x40db4f
mov esi, eax
test eax, eax
jne 0x40db38
movzx eax, byte [0x41e0a8]
mov ecx, 0x10
call fcn.004050b0
test eax, eax
je 0x40db7a
mov dword [eax], 0x41e038
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x41e038]
test eax, eax
je 0x40db6e
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
ret
xor eax, eax
pop esi
ret
mov ecx, 0x41e038
call fcn.00416dd0
jmp 0x40dacf
mov ecx, 0x41e038
call fcn.00416dd0
jmp 0x40daf0
mov ecx, 0x41e038
call fcn.00416dd0
jmp 0x40db30
mov ecx, 4
mov edx, 0x10
call fcn.00416270
int3
Function at 0x416dd0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x416e41
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x416e78
cmp dword [esp + 4], 0
je 0x416e5f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x416e8b
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x41e128]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x41e128], esi
jne 0x416e20
mov byte [0x41e124], 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x416e6f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x416ecc
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x416e63
mov edi, dword [esp]
jmp 0x416e6f
mov edi, dword [esi]
jmp 0x416e6e
mov edi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00416f00
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x41b754
mov dword [esp + 8], 0x41b71c
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x419f24
mov dword [esp + 0x14], 0
call fcn.00416310
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x41b71c
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x419f24
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00416f30
int3
Function at 0x402e74
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x501008], 0x8088405
inc edx
mov dword [ebx + 0x501008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x427af8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x427afe
ret

Function at 0x433c04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x433db5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404af0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x433dcc
call fcn.0040474c
mov eax, ebx
call fcn.004259c4
mov edi, eax
dec edi
test edi, edi
jl 0x433cbc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00425998
mov edx, dword [0x447d88]
call fcn.0040377c
test al, al
je 0x433cb8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00425998
lea edx, [ebp - 0x14]
call fcn.00451e50
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404af0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047c0
inc esi
dec edi
jne 0x433c6a
mov al, byte [0x433dd0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x433ddc
mov eax, dword [ebp - 0xc]
call fcn.0040f86c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004044d8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00451e50
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x433dcc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00451e50
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x433dcc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x433dcc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x433de8
call fcn.0040af58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433dbc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404464
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404464
lea eax, [ebp - 0x14]
call fcn.00404440
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404464
ret
Function at 0x459ca4
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 [0x505ad8]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x459e7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00451e80
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004530a8
mov eax, dword [esi]
call fcn.0046fd94
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x459d16
mov eax, dword [esi]
call fcn.0046fd94
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0046fda0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x459d3a
mov eax, dword [esi]
call fcn.0046fda0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046fd88
cmp eax, dword [ebp - 0x18]
jle 0x459d50
mov eax, dword [esi]
call fcn.0046fd88
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046fd7c
cmp eax, dword [ebp - 0xc]
jle 0x459d66
mov eax, dword [esi]
call fcn.0046fd7c
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.00458670
push eax
call fcn.00407a44
call fcn.00407084
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x459e2d
mov eax, ebx
call fcn.00404700
cmp eax, 0x64
jge 0x459e2d
cmp dword [0x501c90], 0
je 0x459e2d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407a94
cmp dword [ebp - 8], 0
je 0x459e2d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407a94
cmp dword [ebp - 8], 0
je 0x459df0
mov bl, 2
jmp 0x459e0b
lea edx, [ebp - 0x20]
mov eax, dword [0x506b54]
call fcn.0045cf3c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x459e09
xor ebx, ebx
jmp 0x459e0b
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x501d98]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.00458670
push eax
call dword [0x501c90]
mov eax, dword [0x505870]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00455d6c
push 4
mov eax, dword [ebp - 4]
call fcn.00458670
push eax
call fcn.00407a8c
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 0x459e84
call fcn.00407084
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4737d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
test eax, eax
jbe 0x473832
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov edx, dword [ebp - 0xc]
and edx, 0x800000ff
jns 0x473813
dec edx
or edx, 0xffffff00
inc edx
xor eax, edx
cmp eax, 0xff
jbe 0x473821
call fcn.00403528
mov edx, dword [ebp - 0x10]
mov byte [edx], al
add dword [ebp - 0x10], 1
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x4737fa
mov esp, ebp
pop ebp
ret

Function at 0x484f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
je 0x484f7b
cmp dword [ebp - 8], 0
jle 0x484f7b
xor dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
jle 0x484f77
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
xor al, byte [edx]
and eax, 0xff
mov eax, dword [eax*4 + 0x503364]
mov edx, dword [ebp - 0x10]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x10], eax
add dword [ebp - 0x18], 1
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x484f4c
xor dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x485040
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov byte [ebp - 9], 1
cmp dword [ebp - 4], 0xffffffff
je 0x4851b1
xor eax, eax
push ebp
push 0x4851a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409f04
lea edx, [ebp - 0x64]
mov ecx, 0x40
mov eax, dword [ebp - 4]
call fcn.00409eac
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x40
jne 0x485199
cmp word [ebp - 0x64], 0x5a4d
jne 0x485199
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00409f04
test eax, eax
jl 0x485199
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.00409eac
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jne 0x485199
cmp dword [ebp - 0x14], 0x4550
jne 0x485199
lea edx, [ebp - 0x78]
mov ecx, 0x14
mov eax, dword [ebp - 4]
call fcn.00409eac
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x14
jne 0x485199
cmp word [ebp - 0x78], 0x14c
jne 0x485199
movzx eax, word [ebp - 0x76]
mov dword [ebp - 0x1c], eax
mov ecx, 1
mov edx, 0xe0
mov eax, dword [ebp - 4]
call fcn.00409f04
test eax, eax
jl 0x485199
mov byte [ebp - 9], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x48507c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 1
lea edx, [ebp - 0xa0]
mov ecx, 0x28
mov eax, dword [ebp - 4]
call fcn.00409eac
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x28
je 0x485168
mov byte [ebp - 9], 1
jmp 0x48507c
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x90]
jae 0x48517b
call fcn.00403530
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 8]
jbe 0x48518c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x485143
jmp 0x48507c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4851b1
cmp byte [ebp - 9], 0
je 0x4851bc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4959ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x5c]
mov ecx, 0x40
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x40
jne 0x4959ec
cmp word [ebp - 0x5c], 0x5a4d
je 0x495a04
push 1
mov ecx, 0x2a96
mov dl, 1
mov eax, dword [0x4a10e4]
call fcn.004a1278
call fcn.00403dbc
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x154]
mov ecx, 0xf8
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0xf8
jne 0x495a37
cmp dword [ebp - 0x154], 0x4550
je 0x495a4f
push 1
mov ecx, 0x2a96
mov dl, 1
mov eax, dword [0x4a10e4]
call fcn.004a1278
call fcn.00403dbc
cmp dword [ebp - 0xcc], 0
je 0x495a61
cmp dword [ebp - 0xc8], 0
jne 0x495a7b
push 1
mov ecx, 0x2a9b
mov dl, 1
mov eax, dword [0x4a10e4]
call fcn.004a1278
call fcn.00403dbc
jmp 0x495a84
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0x14e]
sub eax, 1
jno 0x495a95
call fcn.00403530
test eax, eax
jl 0x495aea
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 8]
mov ecx, 0x28
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x28
je 0x495ad1
push 1
mov ecx, 0x2a9c
mov dl, 1
mov eax, dword [0x4a10e4]
call fcn.004a1278
call fcn.00403dbc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x495ae2
mov byte [ebp - 0xd], 1
jmp 0x495aea
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x495aa4
cmp byte [ebp - 0xd], 0
jne 0x495b08
push 1
mov ecx, 0x2a9b
mov dl, 1
mov eax, dword [0x4a10e4]
call fcn.004a1278
call fcn.00403dbc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x14]
test edx, edx
jns 0x495b17
call fcn.00403528
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.004957d0
test al, al
jne 0x495b51
push 1
mov ecx, 0x2a9d
mov dl, 1
mov eax, dword [0x4a10e4]
call fcn.004a1278
call fcn.00403dbc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x496588
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 0
je 0x4966ba
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4965bb
cmp eax, 0x2ee0
jbe 0x4966ba
jmp 0x4965c1
jle 0x4966ba
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp word [eax], 0x5a4d
jne 0x4966ba
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
jne 0x4966ba
add dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov dword [ebp - 0x14], eax
add dword [ebp - 0x18], 0xf4
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x49665b
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x28]
add eax, dword [edx + 0x10]
jae 0x496634
call fcn.00403530
cmp eax, dword [ebp - 0x20]
jbe 0x49664f
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x28]
add eax, dword [edx + 0x10]
jae 0x49664c
call fcn.00403530
mov dword [ebp - 0x20], eax
add dword [ebp - 0x18], 0x28
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x49661b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xc005a44
jne 0x4966ba
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
add dword [ebp - 0x20], eax
jae 0x49668c
call fcn.00403530
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x2014b50
jne 0x4966ba
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.0041edd8
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x4966c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x4967ee
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4966f8
cmp eax, 0x2ee0
jbe 0x4967ee
jmp 0x4966fe
jle 0x4967ee
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp word [eax], 0x5a4d
jne 0x4967ee
mov dword [ebp - 0xc], 0xffffd4ce
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
jne 0x4967ee
add dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov dword [ebp - 0x14], eax
add dword [ebp - 0x18], 0xf4
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x49679f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x28]
add eax, dword [edx + 0x10]
jae 0x496778
call fcn.00403530
cmp eax, dword [ebp - 0x20]
jbe 0x496793
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x28]
add eax, dword [edx + 0x10]
jae 0x496790
call fcn.00403530
mov dword [ebp - 0x20], eax
add dword [ebp - 0x18], 0x28
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x49675f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xc005a44
jne 0x4967d2
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00496cf8
mov dword [ebp - 0xc], eax
jmp 0x4967ee
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x1005a44
jne 0x4967ee
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049691c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4b83d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x58
call fcn.00402e54
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret
Function at 0x4c580c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4c5814
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c5a06
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4c5a1c
mov eax, esi
call fcn.004c359c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404494
lea ecx, [ebp - 0x10]
mov edx, 0x4c5a30
mov eax, esi
call fcn.004c359c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404494
lea ecx, [ebp - 0x14]
mov edx, 0x4c5a48
mov eax, esi
call fcn.004c359c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404494
lea ecx, [ebp - 0x18]
mov edx, 0x4c5a64
mov eax, esi
call fcn.004c359c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404494
lea ecx, [ebp - 0x1c]
mov edx, 0x4c5a80
mov eax, esi
call fcn.004c359c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404494
lea ecx, [ebp - 0x24]
mov edx, 0x4c5a98
mov eax, esi
call fcn.004c359c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409308
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409b38
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4c5ab0
mov eax, esi
call fcn.004c359c
mov eax, dword [ebp - 0x28]
call fcn.004c26b4
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4c5ac0
mov eax, esi
call fcn.004c359c
mov eax, dword [ebp - 0x2c]
call fcn.004c26b4
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4c5ad8
mov eax, esi
call fcn.004c359c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409b38
inc eax
je 0x4c59a9
lea ecx, [ebp - 0x34]
mov edx, 0x4c5ad8
mov eax, esi
call fcn.004c359c
mov eax, dword [ebp - 0x34]
call fcn.00409afc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040c0b0
fstp qword [ebp - 0x3c]
wait
call fcn.0040c4c4
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4c59c4
lea ecx, [ebp - 0x40]
mov edx, 0x4c5ad8
mov eax, esi
call fcn.004c359c
mov eax, dword [ebp - 0x40]
call fcn.004c26b4
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4c5ae8
mov eax, esi
call fcn.004c359c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5a0d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404464
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404464
ret
Function at 0x4d1ca4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4d1cfe
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004d1c94
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004c1224
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004c0e24
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1d05
lea eax, [ebp - 4]
call fcn.00404440
ret

Function at 0x4d78b0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor ebx, ebx
mov ecx, 0x507574
mov eax, ebx
test eax, eax
jns 0x4d78c4
call fcn.00403528
mov edx, 8
mov esi, eax
and esi, 1
cmp esi, 1
jne 0x4d78dc
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d78de
shr eax, 1
dec edx
jne 0x4d78c9
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x4d78b9
pop esi
pop ebx
ret

Function at 0x4d78f4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
mov eax, ecx
test edx, edx
jle 0x4d7921
mov ecx, eax
and ecx, 0xff
xor cl, byte [esi]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x507574]
shr eax, 8
xor ecx, eax
mov eax, ecx
add esi, 1
dec edx
jne 0x4d78fd
pop esi
ret