joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4844ee
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5e31e4
push 0x5e31dc
push str.FlsAlloc
push 0x1f
call fcn.00484319
mov esi, eax
add esp, 0x10
test esi, esi
je 0x484522
push dword [ebp + 8]
mov ecx, esi
call dword [0x5d1464]
call esi
jmp 0x484528
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x48456c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5e31f4
push 0x5e31ec
push str.FlsGetValue
push 0x21
call fcn.00484319
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4845a3
push dword [ebp + 8]
mov ecx, esi
call dword [0x5d1464]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4845ab
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5e31fc
push 0x5e31f4
push str.FlsSetValue
push 0x22
call fcn.00484319
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4845e5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5d1464]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x484683
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5e3094
push 0x5e308c
push str.GetTempPath2W
push 5
call fcn.00484319
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4846bd
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5d1464]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetTempPathW]
Function at 0x4856d6
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00485652
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x485845
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x485845
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4857fa
jg 0x485732
test eax, eax
je 0x4857f0
push 1
push 0x1000
call fcn.00484c59
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x485755
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4857e7
push 0x8000
push ebx
call fcn.004806ef
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x48577e
jg 0x485779
cmp ecx, 0x1000
jb 0x48577e
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0047bedb
add esp, 0x10
cmp eax, 0xffffffff
je 0x4857c3
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x485779
jl 0x4857aa
test ecx, ecx
jne 0x48576b
push dword [ebp - 0xc]
push ebx
call fcn.004806ef
push esi
call fcn.004825e3
add esp, 0xc
xor ebx, ebx
jmp 0x485853
cmp byte [edi + 0x24], 0
je 0x4857da
cmp dword [edi + 0x20], 5
jne 0x4857da
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4857e5
mov ebx, dword [edi + 0x18]
jmp 0x4857e7
xor ebx, ebx
push esi
call fcn.004825e3
pop ecx
jmp 0x485853
test ecx, ecx
jg 0x4857bc
jl 0x4857fa
test eax, eax
jae 0x4857bc
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00485b90
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x48581a
cmp byte [edi + 0x1c], 0
je 0x4857bc
jmp 0x48584b
push ebx
call fcn.004855e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4857bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x485853
cmp byte [edi + 0x1c], 0
je 0x485850
mov ebx, dword [edi + 0x18]
jmp 0x485853
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00485b90
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4868b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004671e0
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0048261d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4868f8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x486a54
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00492560
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x62e4c0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00485b72
mov ecx, dword [esi*4 + 0x62e4c0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x486a4d
cmp eax, dword [ecx + edi + 0x24]
jne 0x486a4d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x486a4d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00485b72
add esp, 0x14
test edx, edx
jl 0x486a4d
jg 0x4869c3
test eax, eax
jb 0x486a4d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x486a4d
jl 0x4869dd
cmp dword [ebp - 0x1008], eax
ja 0x486a4d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4869fb
test ebx, ebx
je 0x486a34
cmp ecx, edi
jae 0x486a34
mov al, byte [ecx]
cmp al, 0xd
jne 0x486a15
lea eax, [edi - 1]
cmp ecx, eax
jae 0x486a21
cmp byte [ecx + 1], 0xa
jne 0x486a21
inc ecx
jmp 0x486a21
movzx eax, al
movsx eax, byte [eax + 0x623f50]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4869fb
cmp edx, ebx
jne 0x4869fb
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x486a52
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0046676f
leave
ret
Function at 0x48bd2b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x623ec0]
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 0x48bd76
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0048bec6
test al, al
jne 0x48bd70
sub edx, 2
cmp edx, edi
jne 0x48bd56
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x48bd98
lea eax, [edi + 2]
cmp edx, eax
je 0x48bd98
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0048bc77
add esp, 0x10
jmp 0x48be92
push esi
lea ecx, [ebp - 0x255]
call fcn.0048bec6
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 0x48bddb
push dword [ebp - 0x25c]
jmp 0x48bd88
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 0x48be18
cmp word [ebp - 0x226], 0
je 0x48be39
cmp word [ebp - 0x226], ax
jne 0x48be18
cmp word [ebp - 0x224], 0
je 0x48be39
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0048bc77
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x48be85
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x48bdf2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x48be6d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x48be92
push 0x48baa7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00477320
add esp, 0x10
jmp 0x48be62
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.0046676f
leave
ret

Function at 0x48c7a8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x48c7b9
pop esi
ret
push ebx
push edi
push esi
call fcn.0048c771
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00483127
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48c7e1
push ebx
push esi
push edi
call fcn.004684b0
add esp, 0xc
push 0
call fcn.004825e3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x48cbb1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048c7f6
Function at 0x48ed9c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004822f8
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 0x48ee0b
cmp esi, dword [ebp - 4]
je 0x48ee06
cmp dword [ebp + 0xc], 0
je 0x48ee06
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x48ede3
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0048e8ee
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x48ee0d
xor eax, eax
inc eax
jmp 0x48ee0d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x48ee72
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x623ec0]
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.004822f8
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.004822f8
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 0x48eee9
cmp word [ecx], dx
je 0x48eee9
mov eax, dword [0x5e3da4]
push edi
dec eax
push eax
push 0x5e3c90
call fcn.0048ee11
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x48ef5c
cmp word [eax], dx
je 0x48ef5c
mov eax, dword [edi]
test eax, eax
je 0x48ef0d
cmp word [eax], dx
je 0x48ef0d
lea eax, [ebp - 0x10]
push eax
call fcn.0048e7f4
jmp 0x48ef16
lea eax, [ebp - 0x10]
push eax
call fcn.0048e88f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x48ef86
mov eax, dword [0x5e3c8c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x5e3980
call fcn.0048ee11
add esp, 0xc
test al, al
je 0x48ef86
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x48ef51
cmp word [eax], di
je 0x48ef51
lea eax, [ebp - 0x10]
push eax
call fcn.0048e7f4
pop ecx
jmp 0x48ef88
lea eax, [ebp - 0x10]
push eax
call fcn.0048e88f
jmp 0x48ef4e
mov eax, dword [edi]
test eax, eax
je 0x48ef73
cmp word [eax], dx
je 0x48ef73
lea eax, [ebp - 0x10]
push eax
call fcn.0048e7a9
pop ecx
jmp 0x48ef86
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 0x48f051
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0048ec96
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48f051
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x48f051
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x48f051
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48efde
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004847c9
test ebx, ebx
je 0x48f04c
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004847c9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48f051
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 0x48f051
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00478df3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x48f053
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046676f
leave
ret
Function at 0x4913e6
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x491429
call fcn.0047a74b
mov dword [eax], 0xf
call fcn.0047a75e
mov dword [eax], 0xd
call fcn.0046bc36
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
leave
ret
test eax, eax
jne 0x491430
inc eax
jmp 0x49141d
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x49141b
xor eax, eax
cmp ecx, 1
setne al
jmp 0x49141d

Function at 0x4924a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4924cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4924cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x493d40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5a47
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x623ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 9
mov ecx, dword [edi]
test ecx, ecx
je 0x493d87
mov eax, dword [ecx]
push ecx
call eax
add esp, 4
mov dword [edi], 0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x190]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 8
add ecx, 4
call fcn.004447f0
mov byte [ebp - 4], 7
lea ecx, [edi + 0x17c]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 7
add ecx, 4
call fcn.00444740
mov byte [ebp - 4], 6
lea esi, [edi + 0x158]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x10]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0xe
add ecx, 4
call fcn.00444740
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 6
lea ecx, [esi + 4]
call fcn.00444740
mov byte [ebp - 4], 5
lea ecx, [edi + 0x140]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 5
add ecx, 4
call fcn.00444740
mov byte [ebp - 4], 4
lea esi, [edi + 0x11c]
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x10]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0x14
add ecx, 4
call fcn.00444740
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 4]
call fcn.00444740
mov byte [ebp - 4], 3
lea ecx, [edi + 0x98]
call fcn.004445f0
mov byte [ebp - 4], 2
lea esi, [edi + 0x74]
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x10]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 0x18
add ecx, 4
call fcn.00444740
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 2
lea ecx, [esi + 4]
call fcn.00444740
mov byte [ebp - 4], 1
lea ecx, [edi + 0x30]
call fcn.004444e0
mov byte [ebp - 4], 0
lea ecx, [edi + 0x18]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 0
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 0
add ecx, 4
call fcn.00444740
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
add ecx, 4
call fcn.00444740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49a290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5ec588
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push str.._serverlist.bin
push eax
call fcn.0046c5d4
mov esi, dword [ebp - 8]
add esp, 0xc
test esi, esi
je 0x49a3c5
movups xmm0, xmmword [0x5ec6a0]
mov al, byte [0x5ec6e0]
push 0xbf
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xc8], al
lea eax, [ebp - 0xc7]
movups xmm0, xmmword [0x5ec6b0]
push 0
push eax
movups xmmword [ebp - 0xf8], xmm0
movups xmm0, xmmword [0x5ec6c0]
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [0x5ec6d0]
movups xmmword [ebp - 0xd8], xmm0
call fcn.00468b40
push 0x1b80
push 0
push 0x915fd0
call fcn.00468b40
push esi
push 0x40
push 0x6e
push 0x915fd0
call fcn.0047004e
push dword [ebp - 8]
call fcn.0046bf19
add esp, 0x2c
mov eax, 0x915fd1
push edi
nop dword [eax]
nop word [eax + eax]
mov edi, 0xb
nop word [eax + eax]
lea edx, [ebp - 0xca]
mov esi, 0x10
nop dword [eax + eax]
movzx ecx, byte [edx + 1]
lea edx, [edx - 4]
sub byte [eax - 1], cl
movzx ecx, byte [edx + 4]
sub byte [eax], cl
movzx ecx, byte [edx + 3]
sub byte [eax + 1], cl
movzx ecx, byte [edx + 2]
sub byte [eax + 2], cl
add eax, 4
sub esi, 1
jne 0x49a380
sub edi, 1
jne 0x49a370
cmp eax, 0x917b51
jl 0x49a360
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0046676f
mov esp, ebp
pop ebp
ret

Function at 0x49a540
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [0x6345e4]
push esi
mov esi, edx
push edi
mov edi, ecx
test eax, eax
jne 0x49a558
push edi
push str.LangPT_s
jmp 0x49a563
cmp eax, 1
jne 0x49a571
push edi
push str.LangEN_s
push 0x80
push esi
call fcn.004459c0
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x49a590
push edi
push str.LangPT_s
push 0x80
push esi
call fcn.004459c0
add esp, 0x10
pop edi
pop esi
pop ecx
ret
Function at 0x49b840
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc8
push 0
push 0x915f00
call fcn.00468b40
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [0x7d9698], xmm0
movups xmmword [0x7d96a8], xmm0
push 0xc8
push 0
push 0x8fc7f0
movq qword [0x7d96b8], xmm0
call fcn.00468b40
add esp, 0xc
call fcn.0049a290
push 0x5ec588
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push str.SkillData.bin
push eax
mov dword [ebp - 0xc], 0
call fcn.0046c5d4
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
je 0x49b961
push eax
push 1
push 0x5d00
push 0x62e8e0
call fcn.0047004e
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push 1
push 4
push eax
call fcn.0047004e
push dword [ebp - 0xc]
call fcn.0046bf19
movaps xmm2, xmmword [0x6057b0]
add esp, 0x24
xor eax, eax
movups xmm0, xmmword [eax + 0x62e8e0]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + 0x62e8e0], xmm1
movups xmm0, xmmword [eax + 0x62e8f0]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + 0x62e8f0], xmm1
movups xmm0, xmmword [eax + 0x62e900]
movaps xmm1, xmm2
xorps xmm0, xmm2
movups xmmword [eax + 0x62e900], xmm0
movups xmm0, xmmword [eax + 0x62e910]
xorps xmm1, xmm0
movups xmmword [eax + 0x62e910], xmm1
add eax, 0x40
cmp eax, 0x5d00
jl 0x49b903
mov edi, 1
jmp 0x49b973
push 0
push str.ERROR
push str.Cant_read_SkillData.bin
push 0
call esi
xor edi, edi
push 0x5ec588
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push str..ItemList.bin
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jne 0x49b9ac
push eax
push str.ERROR
push str.Cant_read_ItemList.bin
push eax
call esi
xor esi, esi
jmp 0x49ba4c
push eax
push 1
push 0xe4840
push 0x817fb0
mov dword [ebp - 8], 0
call fcn.0047004e
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push 1
push 4
push eax
call fcn.0047004e
push dword [ebp - 0xc]
call fcn.0046bf19
movaps xmm2, xmmword [0x6057b0]
add esp, 0x24
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + 0x817fb0]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + 0x817fb0], xmm1
movups xmm0, xmmword [eax + 0x817fc0]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + 0x817fc0], xmm1
movups xmm0, xmmword [eax + 0x817fd0]
movaps xmm1, xmm2
xorps xmm0, xmm2
movups xmmword [eax + 0x817fd0], xmm0
movups xmm0, xmmword [eax + 0x817fe0]
xorps xmm1, xmm0
movups xmmword [eax + 0x817fe0], xmm1
add eax, 0x40
cmp eax, 0xe4840
jl 0x49b9f0
mov esi, 1
call fcn.00496a60
call fcn.0049bec0
mov ecx, dword [ebp - 4]
and esi, edi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046676f
mov esp, ebp
pop ebp
ret
Function at 0x49bec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00468b40
push str.._Env_AttributeMap.dat
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0046c1a2
push 0x5ec588
lea eax, [ebp - 0x104]
mov dword [ebp - 0x10c], 0
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0x10c]
add esp, 0x24
test eax, eax
jne 0x49bf70
push 0x5ec588
lea eax, [ebp - 0x10c]
push str..._.._TMSRV_Run_AttributeMap.dat
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0x10c]
add esp, 0xc
test eax, eax
jne 0x49bf70
push eax
push str.Attributemap.dat
push str.There_is_no_file
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
push eax
push 0x400
push 0x400
push 0x6345f0
call fcn.0047004e
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0
push 1
push 4
push eax
call fcn.0047004e
push dword [ebp - 0x10c]
call fcn.0046bf19
add esp, 0x24
mov edx, 0x100000
mov ecx, 0x6345f0
call fcn.0049bb20
xor ecx, ecx
cmp eax, dword [ebp - 0x108]
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
Function at 0x4b0300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5ec588
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push str..Mixlist.bin
push eax
mov esi, ecx
call fcn.0046c5d4
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x4b0358
push eax
push str.ERROR
push str.Cant_read_Mixlist.bin
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
push eax
push 1
lea eax, [esi + 4]
push 0x40d80
push eax
call fcn.0047004e
push dword [ebp - 8]
lea eax, [esi + 0x40d84]
push 1
push 0x1900
push eax
call fcn.0047004e
push dword [ebp - 8]
call fcn.0046bf19
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop esi
call fcn.0046676f
mov esp, ebp
pop ebp
ret