joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409764
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
jmp 0x40980d
cmp dword [esi + 0x10], 0x1000
jne 0x4097f9
test byte [esi + 0x15], 1
jne 0x4097f9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4097b8
cmp eax, 2
je 0x4097b8
cmp eax, 0x10
je 0x4097b8
cmp eax, 0x20
jne 0x4097cd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4097cd
mov bl, 1
xor ebp, ebp
jmp 0x4097de
mov eax, dword [esi]
add eax, ebp
call fcn.0040975c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4097d1
test bl, bl
je 0x4097f9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409790
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
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
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x402880
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or eax, 0xffffffff
mov word [ebp - 0xc], ax
push ebx
xor ecx, ecx
mov eax, 0x65
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov edx, 2
mul edx
seto cl
push esi
push edi
mov dword [ebp - 0x20], ebx
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
add esp, 4
xor ecx, ecx
push 4
mov dword [ebp - 0x24], eax
mov word [eax], cx
call fcn.004115d7
add esp, 4
test eax, eax
je 0x427d2c
mov dword [eax], 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], ebx
jbe 0x40290f
xor edi, edi
mov eax, edx
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x402909
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x4029d2
push esi
call fcn.004111dc
mov eax, dword [ebp + 0x10]
add esp, 4
inc edi
cmp edi, dword [eax + 8]
jb 0x4028e5
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], ebx
cmp word [eax], bx
je 0x402aff
cmp ax, 0x30
jl 0x4028fd
mov ecx, dword [esi]
test ecx, ecx
je 0x4028fd
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], ecx
cmp dword [edx], ebx
je 0x427d34
mov ecx, dword [ebp - 8]
push ecx
call fcn.004111dc
add esp, 4
jmp 0x4028fd
test byte [edi], 0x9f
ret 0x748d
Function at 0x40f5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422240
xor eax, eax
nop
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40f5d0
lea eax, [ebp - 8]
push 0x488140
push eax
call fcn.00413650
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00410e60
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.00414d04
add esp, 0x10
cmp eax, 0x18
jl 0x40f691
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f660
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f67e
cmp ecx, 0x14
je 0x425d1e
inc edx
cmp edx, esi
jl 0x40f640
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.004150d1
add esp, 0xc
jmp 0x40f614
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f69f
inc ecx
jmp 0x40f652
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x40f6b4
add ecx, 2
jmp 0x40f652
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425d16
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x425d05
add ecx, 4
jmp 0x40f652
clc
ror byte [ebx + 0x88bfc45], cl

Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x4182cb
Capabilities:
Parse credit card information

Disassembly:
or byte [esi + 0x39], ah
sbb byte [edi], cl
test dh, bl
add dword [eax], eax
add byte [ebx + 0xaeb0c4d], cl
lea esp, [esp]
lea ecx, [ecx]

Function at 0x41eb94
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xec]
cmp eax, 0xf3c
jge 0x443161
inc eax
mov dword [esp + 0x24], edi
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x41ef34
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x41ed3a
lea ebx, [ebx]
mov esi, edi
call fcn.004262f4
jmp 0x41ebca
push 0xffffffffffffffff
push 0x9a
push edi
mov byte [0x4974e2], 0
call fcn.004740eb
mov eax, 1
jmp 0x41ed59
Function at 0x41ee60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
cmp word [eax + 8], 0x7f
jne 0x4439b9
lea esi, [esp + 0xb8]
call fcn.0041e8f4
jmp 0x41ed2d
movsx ecx, word [eax + 0xa]
push ecx
push 0x72
push edi
call fcn.004740eb
jmp 0x41ee72

Function at 0x41f054
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
push esi
push edi
mov edi, eax
mov eax, dword [edi]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov esi, dword [eax]
push esi
call fcn.00426b75
add esp, 4
mov dword [esp + 0x34], eax
inc eax
je 0x43f13e
add eax, 7
shr eax, 3
add eax, eax
add eax, eax
add eax, eax
xor ecx, ecx
mov dword [esp + 0x38], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426f8b
mov ecx, dword [esp + 0x38]
add esp, 4
lea edx, [ecx + ecx + 2]
push edx
push esi
push eax
mov dword [esp + 0x3c], eax
call fcn.00426814
add esp, 0xc
push 4
call fcn.00426f8b
add esp, 4
test eax, eax
je 0x43f148
mov dword [eax], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x140], 0
mov dword [esp + 0x3c], eax
je 0x43f21e
cmp dword [eax], 1
jg 0x43f14f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [0x482644]
mov eax, dword [ebp + 8]
inc ebp
or byte [ebx + 0x13cb0], cl
add byte [ebp - 0x677af00a], al
add byte [edx], al
invalid
mov esi, dword [eax + 0x134]
test esi, esi
je 0x43f21e
mov dword [esp + 0x1c], esi
lea esp, [esp]
mov eax, 8
jmp 0x41f094
xor eax, eax
jmp 0x41f0e0
mov eax, dword [esp + 0x3c]
dec dword [eax]
lea esi, [esp + 0x30]
call fcn.00416d54
mov edx, dword [esp + 0x34]
inc edx
push edx
call fcn.0045bfcc
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x38], esi
neg ecx
or ecx, eax
push ecx
call fcn.00426f8b
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x38]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push edx
push esi
call fcn.00426814
add esp, 0xc
mov dword [esp + 0x30], esi
jmp 0x41f0fd
mov eax, dword [eax + 0x140]
dec eax
js 0x43f21e
mov dword [esp + 0x5c], 0
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x70]
lea eax, [eax + edx]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esi + eax*4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
call fcn.00421674
test eax, eax
jns 0x43f205
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x70], eax
jmp 0x43f214
jle 0x43f23b
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x70]
cmp dword [esp + 0x5c], edx
jle 0x43f1cf
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x5c], eax
jg 0x43f21e
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi + ecx*4]
lea ecx, [esp + 0x30]
call fcn.00417c04
jmp 0x41f18f

Function at 0x4251d4
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004288f4
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x447a22
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x447a53
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.00429c6a
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
pop ebp
ret 4

Function at 0x447a58
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov dl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
cmp dword [esi + 0x460], 0x10000
jne 0x447aa7
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.00429c6a
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
pop ebp
ret 8

Function at 0x447c35
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x4a7540], eax
mov edx, 1
mov eax, 0x4a7540
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a7efc
jl 0x447c4b
mov dword [0x49205c], 1
mov dword [0x4a7f10], 1
pop edi
pop ebp
ret

Function at 0x457d8e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
push edi
push 0x488154
push eax
mov dword [ebp - 4], fcn.00414a46
call fcn.0042a376
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
jne 0x457de2
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.00457c7f
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.004471fc
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 1
jmp 0x457dee
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push 0x400
lea edx, [ebp - 0x408]
push edx
push eax
call dword [0x482748]
test eax, eax
je 0x457e60
mov eax, dword [ebp + 8]
test eax, eax
je 0x457e34
push edi
push 1
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.00429c6a
mov eax, dword [ebp + 8]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x457dee
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x457e85
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.00457c7f
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.004471fc
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.00457c7f
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.004471fc
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push 0
push esi
call fcn.00457c7f
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.004471fc
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4587c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a7f10], 0
push esi
push edi
mov esi, 0x4a7540
jne 0x4587e0
push 0
call fcn.0042a267
push eax
call fcn.00447c35
add esp, 8
mov dword [0x49205c], 0x270
mov dword [0x4a753c], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x4587f5
mov edx, 0x18c
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x458830
mov ecx, dword [0x4a7540]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret

Function at 0x45963b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov byte [0x4974ee], 0
test edi, edi
je 0x459680
mov byte [0x4974ef], 1
call dword [0x482160]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0x443b61
push esi
push esi
mov dword [ebp - 4], edi
call fcn.00429733
add esp, 0x18
mov esi, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [0x482684]
mov edi, eax
test esi, esi
je 0x4596b3
push 0xffffffffffffffff
push esi
mov byte [0x4974ef], 0
call dword [0x4822fc]
push esi
call dword [0x48230c]
cmp byte [0x4974ee], 1
jne 0x4596c5
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45a4ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426f8b
mov ebx, eax
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.00426814
lea eax, [edi + edi]
add dword [esi], eax
xor ecx, ecx
mov word [eax + ebx], cx
add esp, 0x10
xor eax, eax
test edi, edi
jle 0x45a50a
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x45a501
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x4609a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xdc]
push eax
call fcn.0045860e
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00458568
xor esi, esi
test edi, edi
je 0x4609eb
lea eax, [ebp - 0xdc]
push eax
call fcn.004585dd
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x4609d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x460cb8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x49205c]
jne 0x460cc9
call fcn.004587c0
mov ecx, dword [0x4a753c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a753c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x460d10
fadd qword [0x48cd18]
fmul qword [0x48cd20]
mov esp, ebp
pop ebp
ret
Function at 0x4013f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401760
add esp, 4
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ebp
ret

Function at 0x401410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00401760
add esp, 4
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40147c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0
push 0
lea edx, [ebp - 4]
push edx
push 0x400
mov eax, dword [ebp - 8]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
push str._n_ERROR_failed_to_open__s_n
call fcn.00495230
add esp, 8
xor eax, eax
jmp 0x401481
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4017c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401830
mov edx, dword [eax]
or edx, 1
mov eax, dword [eax + 4]
push eax
push edx
call fcn.006b69c0
add esp, 0x1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x401811
mov dword [ebp - 0x10], 0xffffffff
jmp 0x401817
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x419740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x716764
push str.movie_bond.mmv
call fcn.00401720
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x419765
jmp 0x4197de
mov eax, dword [ebp - 4]
push eax
push 0x80000
push 1
push 0x778160
call fcn.006b7750
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x80000
jl 0x4197a0
push 0x279
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenDDEngineSource_aeng.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
mov dword [0x765a6c], 0x7f8168
mov dword [0x765a70], 0x7fc168
mov dword [0x7f8164], 0
mov dword [0x800168], 0
mov dword [0x80016c], 0xc8
mov dword [0x7f8160], 0x778160
jmp 0x419810
mov dword [0x765a6c], 0
mov dword [0x765a70], 0
mov dword [0x7f8164], 0
mov dword [0x800168], 0
mov dword [0x80016c], 0
mov esp, ebp
pop ebp
ret
Function at 0x43a680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401830
mov edx, dword [eax]
or edx, 1
mov eax, dword [eax + 4]
push eax
push edx
call fcn.006b69c0
add esp, 0x1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x43a6d1
mov dword [ebp - 0x10], 0xffffffff
jmp 0x43a6d7
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x494ab0
Capabilities:
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push str.LocalInstall
push 1
push str.textures
call fcn.005b4320
add esp, 0xc
test eax, eax
je 0x494ad7
mov byte [ebp - 1], 0
jmp 0x494adb
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov byte [0xe5d41c], al
push str.LocalInstall
push 1
push 0x7197d0
call fcn.005b4320
add esp, 0xc
test eax, eax
je 0x494b01
mov byte [ebp - 2], 0
jmp 0x494b05
mov byte [ebp - 2], 1
mov cl, byte [ebp - 2]
mov byte [0xe5d41d], cl
push str.LocalInstall
push 1
push str.movies
call fcn.005b4320
add esp, 0xc
test eax, eax
je 0x494b2c
mov byte [ebp - 3], 0
jmp 0x494b30
mov byte [ebp - 3], 1
mov dl, byte [ebp - 3]
mov byte [0xe5d41e], dl
push str.LocalInstall
push 1
push str.speech
call fcn.005b4320
add esp, 0xc
test eax, eax
je 0x494b57
mov byte [ebp - 4], 0
jmp 0x494b5b
mov byte [ebp - 4], 1
mov al, byte [ebp - 4]
mov byte [0xe5d41f], al
movzx ecx, byte [0xe5d41c]
test ecx, ecx
jne 0x494b94
movzx edx, byte [0xe5d41d]
test edx, edx
jne 0x494b94
movzx eax, byte [0xe5d41e]
test eax, eax
jne 0x494b94
movzx ecx, byte [0xe5d41f]
test ecx, ecx
jne 0x494b94
jmp 0x494c77
lea edx, [ebp - 0x10c]
push edx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x494bc2
push 0x10
push 0
push str.Cannot_locate_system_devices___serious_internal_error
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.006ce8b0
lea eax, [ebp - 0x10c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
test edx, edx
je 0x494c53
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x494c38
mov ecx, dword [ebp - 8]
push ecx
push str._sclumpsmib.txc
lea edx, [ebp - 0x210]
push edx
call fcn.0041e320
add esp, 0xc
push 0x716764
lea eax, [ebp - 0x210]
push eax
call fcn.00401720
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x494c38
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00401700
add esp, 4
mov edx, dword [ebp - 8]
push edx
push 0xe5d318
call fcn.006b6b40
add esp, 8
jmp 0x494c77
mov eax, dword [ebp - 8]
push eax
call fcn.006b6c40
add esp, 4
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 1]
mov dword [ebp - 8], edx
jmp 0x494bcb
push 0x15
push 0
push str.Cannot_locate_Urban_Chaos_CD_ROM
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x494c6b
jmp 0x494c70
jmp 0x494bc2
push 0
call fcn.006ce8b0
mov esp, ebp
pop ebp
ret
Function at 0x494f10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x714f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x49502b
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x14]
test edx, edx
jne 0x49501d
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call fcn.006cef50
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call fcn.006cf670
add esp, 0x10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.006cf670
add esp, 0x10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.006cf670
add esp, 0x10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
push str.MaxID___8.8X_n
call fcn.004017c0
add esp, 8
mov dword [ebp - 0x14], 0
jmp 0x494fd6
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 4]
jae 0x49501d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp dword [edx + eax*4], 0
je 0x49501b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + eax*4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + ecx*4]
push edx
mov eax, dword [ebp - 0x14]
push eax
push str._8.8X_Off__8.8X_Len__8.8X_n
call fcn.004017c0
add esp, 0x10
jmp 0x494fcd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call fcn.00401700
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0067ac50
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0067ac50
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret