joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f098c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4f0995
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f0b42
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
xor edx, edx
push ebp
push 0x4f0aed
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
je 0x4f09e1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f09da
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x4f09e3
xor eax, eax
test al, al
je 0x4f09fa
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4f09f3
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x4f09fc
xor eax, eax
test al, al
je 0x4f0a0c
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.004202c4
jmp 0x4f0a0e
xor eax, eax
test al, al
je 0x4f0ae3
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.004202c4
test al, al
jne 0x4f0a34
mov eax, dword [ebp - 0x10]
call fcn.00420990
test al, al
je 0x4f0ae3
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x4f0ac6
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00426e08
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
pop ecx
call fcn.0040a94c
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00426e08
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
pop ecx
call fcn.0040a94c
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0042022c
test al, al
je 0x4f0ac5
mov eax, dword [ebp - 8]
call fcn.0040a6f8
push eax
mov eax, dword [ebp - 4]
call fcn.0040a6f8
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x4f0ac5
inc dword [ebp - 0x18]
inc ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x4f0a40
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x18]
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f0b1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0b49
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00409c74
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c74
ret
Function at 0x4fcf8c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4fd14a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4fd0f5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4fcfca
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4fcfd2
mov al, 1
jmp 0x4fcfdd
mov dl, 1
mov eax, esi
call fcn.004202c4
xor al, 1
test al, al
je 0x4fcfee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd122
lea edx, [ebp - 4]
mov eax, esi
call fcn.00426e50
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x4fd164
call fcn.0040ac14
test eax, eax
jle 0x4fd02c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00420824
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4fd025
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x4fd02e
xor eax, eax
test al, al
je 0x4fd0d2
xor edi, edi
inc edi
push dword [ebp - 4]
push 0x4fd174
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0041f84c
push dword [ebp - 0x14]
push 0x4fd184
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040a9d4
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004202c4
test al, al
jne 0x4fd038
mov eax, dword [ebp - 8]
call fcn.0040a6f8
push eax
mov eax, dword [ebp - 4]
call fcn.0040a6f8
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4fd0b7
test bl, bl
je 0x4fd0a1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004fced0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4fa890]
call fcn.005044cc
call fcn.004b577c
jmp 0x4fd0eb
test bl, bl
je 0x4fd0c7
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004fcccc
jmp 0x4fd0eb
xor edx, edx
mov eax, esi
call fcn.004f05c0
jmp 0x4fd0eb
test bl, bl
je 0x4fd0e2
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004fcccc
jmp 0x4fd0eb
xor edx, edx
mov eax, esi
call fcn.004f05c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd122
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd151
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409c74
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c74
ret
Function at 0x1000a6a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10011dac], 0
push esi
push edi
jne 0x1000a61a
call fcn.1000a586
test eax, eax
je 0x1000a65f
mov eax, dword [0x10011dac]
cmp eax, 1
jne 0x1000a63b
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000a65f
jmp 0x1000a6a1
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000a6a1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000a663
xor eax, eax
jmp 0x1000a6a1
mov eax, dword [esi]
push dword [0x10011dac]
call edi
mov edi, eax
test edi, edi
je 0x1000a685
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000a6a1
lea edi, [esi + 0xff0]
push esi
push dword [0x10011dac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000a68b
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000a606

Function at 0x1000a812
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011c4c]
jne 0x1000a81c
repz ret
jmp fcn.1000b021

Function at 0x1000acde
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000aced
pop dword [ebp - 0x34]
mov eax, 0x93f9b84
add eax, 0x6c11169
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x379c7
push 0
mov eax, 0x7d0151b6
sub eax, 0x6d0090a6
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x49a8
xor edx, edx
add edx, eax
mov ebx, 0xfbd19da2
sub ebx, 0xebcfd7a2
add ebx, dword [ebp - 0x34]
mov esi, 0x92893c5a
add esi, 0xe1eac883
sub dword [ebp - 0x18], 0x961caee2
mov edi, dword [ebx]
sub dword [ebp - 0x14], ecx
xor edi, esi
add dword [ebp - 0x30], ecx
mov dword [edx], edi
xor dword [ebp - 0x30], 0x9c5450d1
add edx, 0xb312b247
sub edx, 0xb312b243
add ebx, 0xb0d975d3
add ebx, 0x4f268a31
loop 0x1000ad48
add eax, 0xef25f17b
sub eax, 0xef24d808
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xea717a52
sub ecx, 0xda717a52
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x52f0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd8000]
push edi
jmp 0x52f0ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52f0c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f0b0
mov eax, 1
add ebx, ebx
jne 0x52f0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52f0e4
jne 0x52f103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f103
dec eax
add ebx, ebx
jne 0x52f0f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52f0c8
add ebx, ebx
jne 0x52f0ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52f155
xor ecx, ecx
sub eax, 3
jb 0x52f11b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52f18a
sar eax, 1
mov ebp, eax
jmp 0x52f126
add ebx, ebx
jne 0x52f126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f0f4
inc ecx
add ebx, ebx
jne 0x52f134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52f0f4
add ebx, ebx
jne 0x52f141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52f136
jne 0x52f152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52f136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52f174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52f166
jmp 0x52f0b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52f174
add edi, ecx
jmp 0x52f0b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52f192
cmp byte [edi], 0x11
jne 0x52f192
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52f197
lea edi, [esi + 0x128000]
mov eax, dword [edi]
or eax, eax
je 0x52f20f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x185b74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x185cf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52f1c4
mov ecx, edi
jns 0x52f1f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x185cf4]
or eax, eax
je 0x52f209
mov dword [ebx], eax
add ebx, 4
jmp 0x52f1e1
call dword [esi + 0x185d04]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52f240
cmp al, 0xef
ja 0x52f233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52f215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52f222
mov ebp, dword [esi + 0x185cf8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52f274
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x403af0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x403b21
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x403b10
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x40c040
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40c07f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c07f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c07f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40c07f
cmp dword [ecx + 0x74], 0xe
jbe 0x40c07f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41531a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423860
push 0x423858
push str.FlsAlloc
push 0x1f
call fcn.004151a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41534e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4201b8]
call esi
jmp 0x415354
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x415398
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423870
push 0x423868
push str.FlsGetValue
push 0x21
call fcn.004151a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4153cf
push dword [ebp + 8]
mov ecx, esi
call dword [0x4201b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4153d7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423878
push 0x423870
push str.FlsSetValue
push 0x22
call fcn.004151a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415411
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4201b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x417623
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41766e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004177be
test al, al
jne 0x417668
sub edx, 2
cmp edx, edi
jne 0x41764e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x417690
lea eax, [edi + 2]
cmp edx, eax
je 0x417690
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041756f
add esp, 0x10
jmp 0x41778a
push esi
lea ecx, [ebp - 0x255]
call fcn.004177be
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4176d3
push dword [ebp - 0x25c]
jmp 0x417680
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x417710
cmp word [ebp - 0x226], 0
je 0x417731
cmp word [ebp - 0x226], ax
jne 0x417710
cmp word [ebp - 0x224], 0
je 0x417731
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041756f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41777d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4176ea
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x417765
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41778a
push 0x41739f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041bc70
add esp, 0x10
jmp 0x41775a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4af
leave
ret

Function at 0x418108
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x418119
pop esi
ret
push ebx
push edi
push esi
call fcn.004180d1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00415670
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x418141
push ebx
push esi
push edi
call fcn.0040ccf0
add esp, 0xc
push 0
call fcn.004147e4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x418511
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418156
Function at 0x41ac1c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004144f9
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41ac8b
cmp esi, dword [ebp - 4]
je 0x41ac86
cmp dword [ebp + 0xc], 0
je 0x41ac86
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41ac63
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041a76e
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41ac8d
xor eax, eax
inc eax
jmp 0x41ac8d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41acf2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004144f9
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004144f9
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41ad69
cmp word [ecx], dx
je 0x41ad69
mov eax, dword [0x423ebc]
push edi
dec eax
push eax
push 0x423da8
call fcn.0041ac91
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41addc
cmp word [eax], dx
je 0x41addc
mov eax, dword [edi]
test eax, eax
je 0x41ad8d
cmp word [eax], dx
je 0x41ad8d
lea eax, [ebp - 0x10]
push eax
call fcn.0041a674
jmp 0x41ad96
lea eax, [ebp - 0x10]
push eax
call fcn.0041a70f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41ae06
mov eax, dword [0x423da4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x423a98
call fcn.0041ac91
add esp, 0xc
test al, al
je 0x41ae06
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41add1
cmp word [eax], di
je 0x41add1
lea eax, [ebp - 0x10]
push eax
call fcn.0041a674
pop ecx
jmp 0x41ae08
lea eax, [ebp - 0x10]
push eax
call fcn.0041a70f
jmp 0x41adce
mov eax, dword [edi]
test eax, eax
je 0x41adf3
cmp word [eax], dx
je 0x41adf3
lea eax, [ebp - 0x10]
push eax
call fcn.0041a629
pop ecx
jmp 0x41ae06
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41aed1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041ab16
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41aed1
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41aed1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41aed1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41ae5e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00415517
test ebx, ebx
je 0x41aecc
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00415517
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41aed1
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41aed1
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041cff8
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41aed3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4af
leave
ret
Function at 0x41ec70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ec9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ec9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x832b4c77
mov ecx, 0x2015635b
pop ebx
je 0x414acb
arpl word [edi + ecx*4 - 0x44], cx
mov ecx, 0x46de335b
movsb byte es:[edi], byte [esi]
mov dh, byte [esi]
insb byte es:[edi], dx
sti
je 0x414ac7
lodsd eax, dword [esi]
mov al, 0x74
jmp 0x414ac1
ficom word [edi - 0x5d]
bound ecx, qword [esi - 0x741ae8f2]
push edi
mov dword [0x170e8e62], eax
in eax, 0x8b
fild qword [esi]
je 0x414b16
pushfd
inc esi
into
jge 0x414b08
cmp al, 0x61
jne 0x414af7
push ss
dec esp
das
sbb byte [eax - 0x5921cda5], bh
out 0x8b, al
inc edx
inc esp
leave
fdivp st(6)
xchg esp, eax
jmp 0x414a89
invalid
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
je 0x414b33
mov ecx, 0x46de8b5b
inc esi
movsb byte es:[edi], byte [esi]
je 0x414b3b
mov ecx, 0x46de8b5b
movsb byte es:[edi], byte [esi]
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
mov ebx, esi
inc esi
movsb byte es:[edi], byte [esi]
mov ebx, esi
lds ecx, [eax - 0x71]
sbb dword [edx - 0x80], eax
jbe 0x414b37
movsb byte es:[edi], byte [esi]
and byte [0xae8bcc09], 7
int3
movsb byte es:[edi], byte [esi]
lds ebx, [ecx - 0x1bf68302]
rcr byte [edi], 0x44
invalid
Function at 0x4030e4
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x40a91f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00404914
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067e4
mov edi, eax
cmp edi, 0x104
jbe 0x40a942
mov eax, edi
add eax, eax
call fcn.00402e04
mov esi, eax
jmp 0x40a944
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067e4
push edi
push esi
call fcn.0040687c
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40a97d
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x40a967
mov eax, esp
cmp esi, eax
je 0x40a98a
mov eax, esi
call fcn.00402e20
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x40a9c4
cmp bl, 0
je 0x40a9c0
cmp bl, 0x41
jl 0x40a9bb
cmp bl, 0x5a
jg 0x40a9bb
or bl, 0x20
xor al, bl
inc esi
jmp 0x40a99f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40a904

Function at 0x40c5a0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x417d98
mov eax, esi
mov edx, 8
test al, 1
je 0x40c5bc
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c5be
shr eax, 1
dec edx
jne 0x40c5af
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c5a8
pop esi
ret

Function at 0x40c5eb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x417d94], 0
jne 0x40c5f7
call fcn.0040c5a0
push 1
push 0x417d94
call fcn.004066b0
mov eax, edi
test esi, esi
je 0x40c622
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x417d98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40c5fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret