joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x72c
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x728], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x724], ebx
push esi
mov esi, ecx
test eax, eax
jne 0x40c041
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret 0x10
test ebx, ebx
je 0x40c02d
push eax
push 1
lea eax, [ebp - 0x71d]
push 1
push eax
call fcn.0058f767
push 0x200
lea eax, [ebp - 0x604]
push 0
push eax
call fcn.0058ed30
lea edx, [esi + 0x10]
add esp, 0x1c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c074
push edi
sub ecx, esi
lea eax, [ebp - 0x604]
push ecx
push edx
push eax
call fcn.0058e290
push 0x100
lea eax, [ebp - 0x604]
push eax
lea eax, [ebp - 0x71c]
push eax
call fcn.0040d020
xor esi, esi
add esp, 0x18
mov dword [ebp - 0x72c], esi
cmp dword [ebp + 0x10], esi
jle 0x40c1ea
mov edi, ebx
lea ebx, [ebx]
push dword [ebp - 0x728]
lea eax, [ebp - 0x404]
push 0x10
push 1
push eax
call fcn.0058f767
add esp, 0x10
cmp eax, 0x10
jne 0x40c22e
lea eax, [ebp - 0x404]
push eax
push eax
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.0040c330
lea ecx, [esi + 0xf]
add esp, 0x10
lea edx, [ebp - 0x3f5]
xor eax, eax
add ecx, ebx
cmp edi, edx
ja 0x40c116
lea edx, [ebp - 0x404]
cmp ecx, edx
jae 0x40c16d
movdqu xmm0, xmmword [ebp - 0x404]
mov eax, 0x10
xorps xmm1, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm2, xmmword [edi]
paddb xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
paddb xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
paddb xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
paddb xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
paddb xmm2, xmm0
movd ecx, xmm2
add byte [ebp + 0x14], cl
xor bl, bl
xor dl, dl
cmp eax, 0x10
jge 0x40c1cf
mov ecx, 0x10
sub ecx, eax
cmp ecx, 2
jl 0x40c1a3
mov cl, byte [ebp + eax - 0x404]
mov byte [edi + eax], cl
add bl, cl
mov cl, byte [ebp + eax - 0x403]
mov byte [edi + eax + 1], cl
add dl, cl
add eax, 2
cmp eax, 0xf
jl 0x40c182
cmp eax, 0x10
jge 0x40c1c5
mov cl, byte [ebp + eax - 0x404]
add eax, dword [ebp - 0x724]
mov esi, dword [ebp - 0x72c]
mov byte [eax + esi], cl
mov eax, dword [ebp + 0x14]
add al, cl
jmp 0x40c1c8
mov eax, dword [ebp + 0x14]
add dl, bl
add al, dl
mov dword [ebp + 0x14], eax
mov ebx, dword [ebp - 0x724]
add esi, 0x10
add edi, 0x10
mov dword [ebp - 0x72c], esi
cmp esi, dword [ebp + 0x10]
jl 0x40c0c0
push dword [ebp - 0x728]
lea eax, [ebp - 0x71e]
push 1
push 1
push eax
call fcn.0058f767
mov al, byte [ebp - 0x71d]
add esp, 0x10
cmp al, byte [ebp - 0x71e]
jne 0x40c22e
cmp al, byte [ebp + 0x14]
jne 0x40c22e
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058de24
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0058f330
movdqa xmm0, xmmword [str.__7788Iop_fgMNa4858hgUt__MS]
lea eax, [ebp - 0xfd4]
push esi
push 0xfd4
movdqu xmmword [ebp - 0x1000], xmm0
mov esi, ecx
mov dword [ebp - 0xfe0], 0x6951246f
movdqa xmm0, xmmword [0x5beff0]
push 0
push eax
movdqu xmmword [ebp - 0xff0], xmm0
mov dword [ebp - 0xfdc], 0x6f69306f
mov dword [ebp - 0xfd8], 0x31312436
call fcn.0058ed30
mov edx, dword [esi + 4]
add esp, 0xc
xor eax, eax
test edx, edx
jle 0x40c2ee
mov ecx, dword [ebp + 8]
cmp dword [eax*4 + 0x5befcc], ecx
je 0x40c2f7
inc eax
cmp eax, edx
jl 0x40c2e0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax*4 + 0x5befcc]
mov dword [esi + 8], eax
lea eax, [ebp - 0x1000]
push 0x1000
push eax
lea eax, [esi + 0x10]
push eax
call fcn.0058e290
add esp, 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40cdc0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edx, 1
lea ecx, [ecx]
mov eax, edx
mov dword [ebp + esi*4 - 0x804], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x404], esi
movsx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor edx, ecx
and edx, 0xff
cmp esi, 0x100
jl 0x40cde0
mov esi, 1
mov edx, 0x6a9358
lea esp, [esp]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movsx ecx, al
neg ecx
sbb ecx, ecx
add esi, esi
and ecx, 0x1b
add edx, 4
xor esi, ecx
and esi, 0xff
cmp edx, 0x6a9380
jl 0x40ce20
mov eax, 1
mov byte [0x6a7158], 0x63
mov byte [0x6a82bb], 0
mov dword [ebp - 0x808], eax
mov edi, edi
mov ecx, dword [ebp + eax*4 - 0x404]
lea eax, [ebp - 0x408]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
and ecx, 0xff
mov edx, ecx
xor ebx, ecx
sar edx, 7
lea eax, [ecx + ecx]
or edx, eax
and edx, 0xff
mov esi, edx
xor ebx, edx
sar esi, 7
lea eax, [edx + edx]
or esi, eax
and esi, 0xff
mov ecx, esi
sar ecx, 7
lea eax, [esi + esi]
or ecx, eax
mov eax, dword [ebp - 0x808]
xor ecx, 0x63
and ecx, 0xff
xor ecx, esi
xor ebx, ecx
mov byte [eax + 0x6a7158], bl
mov byte [ebx + 0x6a8258], al
inc eax
mov dword [ebp - 0x808], eax
cmp eax, 0x100
jl 0x40ce60
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 0x80c], ebx
lea esp, [esp]
movzx edx, byte [esi + 0x6a7158]
mov eax, edx
and al, 0x80
movsx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
and ecx, 0xff
mov eax, ecx
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, ecx
movzx ecx, byte [esi + 0x6a8258]
mov dword [esi*4 + 0x6a7258], eax
rol eax, 8
mov dword [esi*4 + 0x6a7658], eax
rol eax, 8
mov dword [esi*4 + 0x6a7a58], eax
rol eax, 8
mov dword [esi*4 + 0x6a7e58], eax
test ecx, ecx
je 0x40cfb3
mov ecx, dword [ebp + ecx*4 - 0x404]
mov eax, dword [ebp - 0x3cc]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e0]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x804]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d0]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x804]
cdq
idiv dword [ebp - 0x80c]
mov eax, dword [ebp + edx*4 - 0x804]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x3d8]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x804]
jmp 0x40cfbf
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x808], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 0x808]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x6a8358], eax
rol eax, 8
mov dword [esi*4 + 0x6a8758], eax
rol eax, 8
mov dword [esi*4 + 0x6a8b58], eax
rol eax, 8
mov dword [esi*4 + 0x6a8f58], eax
inc esi
cmp esi, 0x100
jl 0x40cef0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058de24
mov esp, ebp
pop ebp
ret
Function at 0x40d020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
sub eax, 0x80
je 0x40d064
sub eax, 0x40
je 0x40d05c
sub eax, 0x40
jne 0x40d210
mov dword [edi], 0xe
jmp 0x40d06a
mov dword [edi], 0xc
jmp 0x40d06a
mov dword [edi], 0xa
push esi
push ecx
push edx
lea eax, [ebp - 0x11c]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.0040d220
mov eax, dword [ebp - 0x11c]
add esp, 0xc
shl eax, 4
add eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
sub eax, 0x10
mov dword [esi + 0xc], ecx
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x40d1f9
jmp 0x40d0c0
movzx ecx, byte [eax + 3]
dec edi
movzx edx, byte [ecx + 0x6a7158]
movzx ecx, byte [eax + 2]
mov edx, dword [edx*4 + 0x6a8f58]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8b58]
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8758]
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8358]
mov dword [esi], edx
movzx ecx, byte [eax + 4]
movzx edx, byte [ecx + 0x6a7158]
movzx ecx, byte [eax + 7]
mov edx, dword [edx*4 + 0x6a8358]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8f58]
movzx ecx, byte [eax + 6]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8b58]
movzx ecx, byte [eax + 5]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8758]
mov dword [esi + 4], edx
movzx ecx, byte [eax + 8]
movzx edx, byte [ecx + 0x6a7158]
movzx ecx, byte [eax + 0xb]
mov edx, dword [edx*4 + 0x6a8358]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8f58]
movzx ecx, byte [eax + 0xa]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8b58]
movzx ecx, byte [eax + 9]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8758]
mov dword [esi + 8], edx
movzx ecx, byte [eax + 0xc]
movzx edx, byte [ecx + 0x6a7158]
movzx ecx, byte [eax + 0xf]
mov edx, dword [edx*4 + 0x6a8358]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8f58]
movzx ecx, byte [eax + 0xe]
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8b58]
movzx ecx, byte [eax + 0xd]
sub eax, 0x10
movzx ecx, byte [ecx + 0x6a7158]
xor edx, dword [ecx*4 + 0x6a8758]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x40d0c0
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0058de24
mov esp, ebp
pop ebp
ret
Function at 0x40f890
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6a9388], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
je 0x40f8f6
push eax
push dword [ebp + 0xc]
push ecx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x6a9390
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x6a9390
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40f9fb
int3
test eax, eax
je 0x40f915
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push str._s_line:_d__msg:_s_
push eax
call fcn.0058f38c
add esp, 0x14
jmp 0x40f92d
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push str._s_line:_d_
push eax
call fcn.0058f38c
add esp, 0x10
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call fcn.0058ed30
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x20e]
push eax
movzx eax, word [ebp - 0x212]
push eax
movzx eax, word [ebp - 0x214]
push eax
lea eax, [ebp - 0x104]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.0058f38c
add esp, 0x14
cmp dword [0x6a94e0], 0
jne 0x40f9fb
push edi
push 0
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40f9c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x2a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x2a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6a94e0]
cmp esi, 0xf4240
mov ecx, 1
cmova eax, ecx
pop esi
mov dword [0x6a94e0], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret
Function at 0x40fa10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x303]
push edi
mov edi, dword [ebp + 0x10]
push 0x1ff
push 0
push eax
mov byte [ebp - 0x304], 0
call fcn.0058ed30
add esp, 0xc
lea eax, [ebp - 0x304]
test edi, edi
je 0x40fa67
push edi
push dword [ebp + 0xc]
push esi
push str._s_line:_d__msg:_s_
push eax
call fcn.0058f38c
add esp, 0x14
jmp 0x40fa79
push dword [ebp + 0xc]
push esi
push str._s_line:_d_
push eax
call fcn.0058f38c
add esp, 0x10
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call fcn.0058ed30
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x30e]
push eax
movzx eax, word [ebp - 0x312]
push eax
movzx eax, word [ebp - 0x314]
push eax
lea eax, [ebp - 0x104]
push str.._Log_Debug__4d_02d_02d.txt
push eax
call fcn.0058f38c
add esp, 0x14
cmp dword [0x6a9728], 0
jne 0x40fb7d
push 0
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40fb4b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x104]
push 0x5bf174
push eax
call fcn.0058f1bb
mov esi, eax
add esp, 8
test esi, esi
je 0x40fb7d
call fcn.0040eed0
push eax
lea eax, [ebp - 0x304]
push eax
push str._stime:_s_n
push esi
call fcn.0058f215
push esi
call fcn.0058f080
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x3a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x40fb00
mov dword [0x6a9728], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058de24
mov esp, ebp
pop ebp
ret
Function at 0x41da90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af5fd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a0290]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push 0xa
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.005896b0
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.0041bcb0
lea edi, [esi + 0x94]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea ebx, [esi + 0xb8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea eax, [esi + 0xdc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x100]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x124]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
push 0x80
push 0x5c00b4
push 0x5f9118
mov byte [ebp - 4], 9
call fcn.0058eef0
add esp, 0xc
mov dword [0x5f9114], 0x32
cmp dword [0x5f910c], 0
jne 0x41dc9d
push 0x64
push 0x5f910c
call fcn.0041df10
mov eax, dword [0x5f910c]
add esp, 8
mov dword [0x5f9110], eax
push 0x1e
mov ecx, edi
mov dword [esi + 0x64], 0
call fcn.004da350
push 0x1e
mov ecx, ebx
call fcn.004da350
push 0x1e
lea ecx, [esi + 0xdc]
call fcn.004da350
push 0x1e
lea ecx, [esi + 0x100]
call fcn.004da350
push 3
lea ecx, [esi + 0x124]
call fcn.004da350
mov dword [esi + 0x16e], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424ae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af3ab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a0290]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.CSkillObjectTargetList.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 1
mov dword [ebp - 4], 0
call fcn.004da350
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xb7]
mov word [esi + 0x30], ax
movzx eax, word [ecx + 0xad]
mov word [esi + 0x32], ax
mov dword [esi + 0x2c], 0
movzx eax, word [ecx + 0x27]
mov word [esi + 0x34], ax
movzx eax, word [ecx + 0x29]
mov word [esi + 0x36], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x427630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aff2e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a0290]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
push 0x40
mov byte [ebp - 4], 2
call fcn.004da350
push 0x40
lea ecx, [ebx + 0x24]
call fcn.004da350
push 0x40
lea ecx, [ebx + 0x48]
call fcn.004da350
mov ecx, ebx
call fcn.00427230
mov ecx, ebx
call fcn.00427070
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c7e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0216
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6a0290]
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
mov eax, dword [0x6d7294]
mov eax, dword [eax + 0x125]
movzx eax, ax
push eax
lea eax, [ebp - 0x50]
push str.._data_aiconfig__d.dat
push eax
call fcn.0058f38c
push 0x1c5c
lea edi, [esi + 0xe6]
push 0
push edi
call fcn.0058ed30
push 0x5be908
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0058f1d0
mov eax, dword [ebp - 0x54]
add esp, 0x24
test eax, eax
je 0x42c934
push eax
push 1
push 0x1c5c
push edi
call fcn.0058f767
push dword [ebp - 0x54]
call fcn.0058f080
mov eax, dword [0x6c3a14]
add esp, 0x14
test eax, eax
jne 0x42c8b0
push 0x1d7a
call fcn.0058d63c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42c8a2
mov ecx, eax
call fcn.004281e0
jmp 0x42c8a4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6c3a14], eax
imul eax, dword [eax + 0x21a], 0x64
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5be700]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0xda], xmm0
mov eax, dword [0x6c3a14]
test eax, eax
jne 0x42c90b
push 0x1d7a
call fcn.0058d63c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x42c904
mov ecx, eax
call fcn.004281e0
jmp 0x42c906
xor eax, eax
mov dword [0x6c3a14], eax
imul eax, dword [eax + 0x21e], 0x64
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5be700]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0xe2], xmm0
jmp 0x42c93b
mov ecx, esi
call fcn.004294f0
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.0058de24
mov esp, ebp
pop ebp
ret

Function at 0x42c960
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push str.data
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.data_aiconfig
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [0x6d7294]
movzx eax, word [eax + 0x125]
push eax
lea eax, [ebp - 0x44]
push str.._data_aiconfig__d.dat
push eax
call fcn.0058f38c
push 0x5c130c
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0058f1d0
mov eax, dword [ebp - 0x48]
add esp, 0x18
test eax, eax
je 0x42c9e3
push eax
push 1
lea eax, [edi + 0xe6]
push 0x1c5c
push eax
call fcn.0058fa7e
push dword [ebp - 0x48]
call fcn.0058f080
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0058de24
mov esp, ebp
pop ebp
ret
Function at 0x4364d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9a4]
jne 0x436518
mov eax, dword [0x6d5c84]
add eax, 0x1d4c0
push esi
mov dword [edi + 0x958], eax
call fcn.0044e4c0
push str.ANRaster.tga
lea ecx, [edi + 0x9a4]
call fcn.0044e3f0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004ab290
pop edi
pop ebp
ret 4
call fcn.0044e4c0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.004ab290
pop edi
pop ebp
ret 4

Function at 0x436540
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9a4]
jne 0x43658b
imul eax, dword [ebp + 0xc], 0x3e8
push esi
add eax, dword [0x6d5c84]
mov dword [edi + 0x958], eax
call fcn.0044e4c0
push str.ANRaster.tga
lea ecx, [edi + 0x9a4]
call fcn.0044e3f0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004ab290
pop edi
pop ebp
ret 8
call fcn.0044e4c0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.004ab290
pop edi
pop ebp
ret 8

Function at 0x43acd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0af7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a0290]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
lea ebx, [ecx + 0x48]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edi, [ecx + 0x6c]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea esi, [ecx + 0x90]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x65
mov byte [ebp - 4], 4
call fcn.004da350
mov ecx, dword [ebp - 0x10]
push 0x65
lea ecx, [ecx + 0x24]
call fcn.004da350
push 0x65
mov ecx, ebx
call fcn.004da350
push 0x65
mov ecx, edi
call fcn.004da350
push 0x65
mov ecx, esi
call fcn.004da350
mov eax, dword [ebp - 0x10]
mov dword [0x6c3bb8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret