joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448860
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x448867
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x44893d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50be80]
add ecx, 8
sub edx, 8
dec esi
jne 0x448880
pop edi
test edx, edx
je 0x44895a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x50be80]
inc ecx
dec edx
jne 0x448941
not eax
pop esi
ret

Function at 0x448960
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50be80]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x50be80]
mov dword [edx + 8], ecx
ret

Function at 0x4489b0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x50be80]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x50be80]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x44c370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8318
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [0x4fa3a0]
test eax, eax
jne 0x44c3e4
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.00407570
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x44c3d6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00482674
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
push 0x50e55c
push esi
call fcn.00484408
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c418
mov edx, esi
call fcn.00407970
push 0x50e55c
push esi
call fcn.00484408
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c418
lea eax, [edi + 0x6e]
jmp 0x44c43e
mov esi, dword [ebp + 8]
push edi
push esi
push 1
push ebx
call fcn.004845ce
add esp, 0x10
cmp eax, esi
je 0x44c433
mov eax, 0x1d
jmp 0x44c43e
push edi
call fcn.004848f9
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
Function at 0x44c460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee658
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51f584]
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 eax, dword [ebp + 8]
mov esi, ecx
mov ebx, 0x10
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x14], ebx
jb 0x44c4a1
mov eax, dword [esi]
jmp 0x44c4a3
mov eax, esi
push eax
call dword [0x4fa3a0]
test eax, eax
jne 0x44c4f3
cmp dword [esi + 0x14], ebx
jb 0x44c4b7
mov ecx, dword [esi]
jmp 0x44c4b9
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.00407570
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
jb 0x44c4e5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00482674
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], ebx
jb 0x44c4fc
mov eax, dword [esi]
jmp 0x44c4fe
mov eax, esi
push 0x50e55c
push eax
call fcn.00484408
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c542
cmp dword [esi + 0x14], ebx
jb 0x44c51b
mov edx, dword [esi]
jmp 0x44c51d
mov edx, esi
call fcn.00407970
cmp dword [esi + 0x14], ebx
jb 0x44c529
mov esi, dword [esi]
push 0x50e55c
push esi
call fcn.00484408
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c542
lea eax, [edi + 0x6e]
jmp 0x44c572
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], ebx
jb 0x44c54f
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004845ce
add esp, 0x10
cmp eax, esi
je 0x44c567
mov eax, 0x1d
jmp 0x44c572
push edi
call fcn.004848f9
add esp, 4
xor eax, eax
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.004822c9
mov esp, ebp
pop ebp
ret
Function at 0x44c750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x10
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], ebx
jb 0x44c779
mov eax, dword [edi]
jmp 0x44c77b
mov eax, edi
push 0x50e448
push eax
call fcn.00484408
mov esi, eax
add esp, 8
test esi, esi
jne 0x44c7ce
cmp dword [edi + 0x14], ebx
jb 0x44c798
mov edx, dword [edi]
jmp 0x44c79a
mov edx, edi
call fcn.00407970
cmp dword [edi + 0x14], ebx
jb 0x44c7a6
mov edi, dword [edi]
push 0x50e448
push edi
call fcn.00484408
mov esi, eax
add esp, 8
test esi, esi
jne 0x44c7ce
lea eax, [esi + 0x6e]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
push esi
call fcn.00484451
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00483785
add esp, 0xc
test eax, eax
js 0x44c874
push 0x400000
call fcn.00483145
push esi
mov edi, eax
call fcn.00485b46
add esp, 8
test eax, eax
jne 0x44c852
push 0x400000
push 0
push edi
call fcn.004868c0
push esi
push 0x400000
push 1
push edi
call fcn.00485e96
push esi
mov ebx, eax
call fcn.00485b6e
add esp, 0x20
test eax, eax
jne 0x44c845
mov ecx, dword [ebp - 0x40]
push ebx
push edi
call fcn.00404020
push esi
call fcn.00485b46
add esp, 4
test eax, eax
je 0x44c802
jmp 0x44c852
push str.Read_error
call fcn.00485bbe
add esp, 4
push edi
call fcn.00483528
push esi
call fcn.004848f9
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
push esi
call fcn.004848f9
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 0x3ee
pop ebx
call fcn.004822c9
mov esp, ebp
pop ebp
ret
Function at 0x44cac0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0xa8], eax
xor eax, eax
push ebx
push esi
push edi
mov edi, edx
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov byte [esp + 0x6c], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
cmp dword [edi + 0x10], eax
jne 0x44cb6c
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x44cb77
mov ecx, dword [ecx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push ecx
mov eax, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00423480
lea esi, [esp + 0x14]
lea ebx, [esp + 0x94]
call fcn.00423540
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
push ecx
call fcn.004026b0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x44cbd3
mov edi, dword [edi]
lea edx, [esp + 0x6c]
push edx
push edi
call fcn.0048370b
mov ecx, dword [esp + 0xbc]
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.004822c9
mov esp, ebp
pop ebp
ret
Function at 0x44cc00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0xac], eax
xor eax, eax
push ebx
push esi
mov esi, ecx
mov byte [esp + 0x6c], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
cmp edi, eax
je 0x44cd27
mov ecx, edi
lea ebx, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, al
jne 0x44cca0
sub ecx, ebx
je 0x44cd27
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00423480
lea esi, [esp + 0x14]
lea ebx, [esp + 0x70]
call fcn.00423540
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call fcn.004026b0
lea edx, [esp + 0x9c]
push edx
push edi
call fcn.0048370b
add esp, 0x14
neg eax
sbb eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004822c9
mov esp, ebp
pop ebp
ret

Function at 0x44d190
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [0x4fa2d4]
push eax
call dword [0x4fa058]
test eax, eax
je 0x44d21e
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [0x4fa0ac]
test eax, eax
jne 0x44d1e4
mov edx, dword [ebp - 0x18]
push edx
call dword [0x4fa274]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [0x4fa0a8]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4fa274]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004822c9
mov esp, ebp
pop ebp
ret

Function at 0x4565f0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x45660b
mov edx, dword [esi + 0xf4]
push edx
push edi
push ebx
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
js 0x45663f
cmp eax, 2
jg 0x45663f
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x4fad98]
push 2
push edx
call fcn.004845ce
mov eax, dword [esi + 0xf0]
push eax
push 1
push edi
push ebx
call fcn.004845ce
add esp, 0x20
xor eax, eax
ret
Function at 0x45ade0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.0048518e
add esp, 0x18
test eax, eax
je 0x45ae04
cmp eax, 0xffffffff
jne 0x45ae06
xor eax, eax
pop ebp
ret
Function at 0x45f8b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x45f8c1
jmp dword [ecx*4 + 0x45f930]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
Function at 0x465f80
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x465fa2
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x465f96
xor eax, eax
pop edi
ret
mov eax, dword [eax + 8]
push eax
push edi
push 1
push ebx
call ecx
jmp 0x465fd2
cmp dword [esi + 8], 0
jne 0x465fc5
mov ecx, dword [eax + 8]
push 0x50e448
push ecx
call fcn.00484408
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x465fc5
or eax, 0xffffffff
pop edi
ret
mov edx, dword [esi + 8]
push edx
push edi
push 1
push ebx
call fcn.00485e96
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x465ff4
mov eax, dword [esi + 8]
test eax, eax
je 0x465fee
push eax
call fcn.004848f9
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
ret
Function at 0x46a230
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5135e8
push 0x488848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov ecx, dword gs:[0x60]
mov dword [ebp - 0x24], ecx
mov ecx, dword gs:[0x64]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jne 0x46a31e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x30]
jne 0x46a31e
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x2c]
jne 0x46a31e
mov ecx, dword [ebp - 0x30]
add ecx, 0x20
mov edx, dword [ebp - 0x2c]
adc edx, 0
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x34]
je 0x46a31e
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x46a31e
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x40], 0
je 0x46a31c
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x44], 0
jne 0x46a31c
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f680
add esp, 8
movzx edx, al
test edx, edx
je 0x46a31c
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x24], 0
jne 0x46a31a
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x1c], edx
jmp 0x46a31e
jmp 0x46a2c1
mov dword [ebp - 4], 0xffffffff
jmp 0x46a337
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x46a4c4
push 2
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004694d0
add esp, 0x10
test eax, eax
je 0x46a4c4
movzx eax, word [ebp - 4]
cmp eax, 0x5a4d
jne 0x46a4c4
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x3c
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004694d0
add esp, 0x10
test eax, eax
je 0x46a4c4
push 0xf8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004694d0
add esp, 0x10
test eax, eax
je 0x46a4c4
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0x4550
jne 0x46a4c4
mov edx, dword [ebp + 0x10]
movzx eax, word [edx + 0x16]
and eax, 0x2000
jne 0x46a4c4
mov dword [ebp - 0x10], 1
jmp 0x46a4cb
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 9]
test edx, edx
je 0x46a4e4
mov eax, dword [ebp + 0x10]
add eax, 0x78
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x46b350
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xd0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004868c0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x4727e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [0x4fa0e4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4728aa
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [0x4fa1d8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4728a0
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0xc]
push edx
call dword [0x4fa2a8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x472896
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x47288c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0x4550
jne 0x47288c
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x20b
jne 0x47288c
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0x10]
push edx
call dword [0x4fa2a4]
mov eax, dword [ebp - 0xc]
push eax
call dword [0x4fa274]
mov ecx, dword [ebp - 4]
push ecx
call dword [0x4fa274]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x472e50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5136f0
push 0x488848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.00471240
test eax, eax
jne 0x472ec5
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x472ec5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4550
je 0x472ec5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x472ef1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x478920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x4789ff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 0x4550
jne 0x4789ff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x4789ff
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x50]
jae 0x4789ff
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
je 0x4789ff
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4789ff
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
je 0x4789ff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x50]
jae 0x4789ff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x10]
je 0x4789ff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
je 0x4789f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0xc]
jne 0x4789e9
push 4
mov edx, dword [ebp - 0x14]
push edx
call fcn.0046f510
test eax, eax
je 0x4789e9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
jmp 0x4789c0
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x10], eax
jmp 0x478989
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49cd30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, edx
push esi
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49cd40
sub eax, esi
add eax, edx
mov ecx, 0x811c9dc5
cmp edx, eax
je 0x49cd64
movsx esi, byte [edx]
imul ecx, ecx, 0x1000193
inc edx
xor ecx, esi
cmp edx, eax
jne 0x49cd54
and ecx, 0x7fffffff
push 0x1f31d
push ecx
call fcn.004e7b5b
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
pop esi
mov eax, edx
jns 0x49cd90
add eax, 0x7fffffff
pop ebp
ret 4
Function at 0x4a6890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8ca6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x51f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], ebx
mov dword [ebp - 4], ebx
mov byte [esi + 0x20], bl
push 0x14
mov byte [ebp - 4], 1
mov dword [esi + 0x4c], ebx
call fcn.004826d0
add esp, 4
cmp eax, ebx
je 0x4a6944
mov dword [esi + 0x48], eax
mov dword [eax], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x48]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x48]
mov byte [ecx + 0x11], 1
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], 0xf
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], ebx
call fcn.004827e9
push 0x518390
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0048ac5f
int3