joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fdf50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xa79000
lea edi, [esi - 0xa8000]
push edi
jmp 0x4fdf6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4fdf71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fdf60
mov eax, 1
add ebx, ebx
jne 0x4fdf83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4fdf94
jne 0x4fdfb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fdfb3
dec eax
add ebx, ebx
jne 0x4fdfa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4fdf78
add ebx, ebx
jne 0x4fdfaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4fe005
xor ecx, ecx
sub eax, 3
jb 0x4fdfcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4fe03a
sar eax, 1
mov ebp, eax
jmp 0x4fdfd6
add ebx, ebx
jne 0x4fdfd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fdfa4
inc ecx
add ebx, ebx
jne 0x4fdfe4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fdfa4
add ebx, ebx
jne 0x4fdff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4fdfe6
jne 0x4fe002
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4fdfe6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4fe024
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4fe016
jmp 0x4fdf66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4fe024
add edi, ecx
jmp 0x4fdf66
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4fe042
cmp byte [edi], 0x11
jne 0x4fe042
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 0x4fe047
lea edi, [esi + 0xf6000]
mov eax, dword [edi]
or eax, eax
je 0x4fe0bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1229a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x122b24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fe074
mov ecx, edi
jns 0x4fe0a3
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 + 0x122b28]
or eax, eax
je 0x4fe0b9
mov dword [ebx], eax
add ebx, 4
jmp 0x4fe091
call dword [esi + 0x122b38]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4fe0f0
cmp al, 0xef
ja 0x4fe0e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4fe0c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4fe0d2
mov ebp, dword [esi + 0x122b2c]
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 0x4fe124
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x8592327
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x70767543
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404790
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x40c0bc]
sub esp, 0x100
dec eax
push esi
push edi
je 0x4047c3
dec eax
je 0x4047b8
dec eax
lea edx, [esp + 8]
je 0x4047b1
mov edi, str.LANG2_ENG
jmp 0x4047cc
mov edi, str.LANG2_TR
jmp 0x4047cc
lea edx, [esp + 8]
mov edi, str.LANG2_GB
jmp 0x4047cc
lea edx, [esp + 8]
mov edi, str.LANG2_BIG5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40bfbc
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x100
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
push edi
push 0x40bee8
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov eax, ecx
pop esi
neg eax
sbb eax, eax
neg eax
add esp, 0x100
ret

Function at 0x404e10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x404
lea eax, [esp + 0x104]
push esi
push edi
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x20c]
lea edx, [esp + 0x30c]
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__splitpath]
or ecx, 0xffffffff
lea edi, [esp + 0x1c]
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40bfbc
mov eax, ecx
mov esi, edi
mov edi, 0x40bfbc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.LANGUAGE
mov esi, edi
mov edx, ecx
mov edi, 0x40bfbc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.Application
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.KeyUpdate.ini
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x40bfbc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
mov dword [0x40c0bc], eax
pop esi
add esp, 0x404
ret
Function at 0x100316c0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100316fe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100316f6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10031700
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100316e6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100317d0
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407f80
Capabilities:
Create directory

Disassembly:
push esi
push ebx
push eax
mov eax, 0x2010
call fcn.0040f1ec
sub esp, eax
mov eax, dword [esp + eax]
mov esi, eax
mov eax, dword [0x42c0a0]
test eax, eax
je 0x408020
xor ebx, ebx
test eax, eax
jg 0x407fbb
jmp 0x407fd8
add ebx, 1
cmp dword [0x42c0a0], ebx
jle 0x407fd8
mov eax, dword [ebx*4 + 0x42b0a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x407fb0
jmp 0x408012
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp eax, 2
jne 0x407fec
cmp word [esi + 2], 0x3a
je 0x408012
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 8
test eax, eax
je 0x408068
mov ebx, dword [0x42c0a0]
cmp ebx, 0x3ff
jle 0x408080
mov eax, 1
add esp, 0x2014
pop ebx
pop esi
ret
mov ecx, 0x1000
mov edx, str.HOME
lea eax, [esp + 0x10]
call fcn.00407710
test al, al
je 0x40809b
lea eax, [esp + 0x10]
mov ebx, dword [0x42c0a0]
mov dword [esp], eax
call sub.msvcrt.dll__wcsdup
mov dword [ebx*4 + 0x42b0a0], eax
mov eax, dword [0x42c0a0]
add eax, 1
mov dword [0x42c0a0], eax
jmp 0x407fa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408004
xor eax, eax
jmp 0x408017
mov dword [esp], esi
call sub.msvcrt.dll__wcsdup
add dword [0x42c0a0], 1
mov dword [ebx*4 + 0x42b0a0], eax
jmp 0x408012
mov eax, str.HOME
call fcn.00407eb0
lea esi, [esi]
lea esi, [esi]

Function at 0x408230
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x424040]
test eax, eax
je 0x408269
mov dword [esp + 4], 0x1388
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
jne 0x408280
mov eax, dword [0x424040]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
cmp byte [0x429080], 0
jne 0x4082a0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x424040]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub esp, 8
jmp 0x408258
mov edx, 0x414
lea edi, [esp + 0x12]
mov dword [esp + 0x12], 0
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [esp + 0x16], 3
mov ebx, 0x14
mov dword [esp + 0x1a], 0x4290a0
mov dword [esp + 0x1e], 0x417200
mov word [esp + 0x22], dx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x417200
mov dword [esp], edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
jmp 0x408373
test al, 0x10
je 0x408272
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
sub esp, 4
mov dword [esp + 0x12], 0
mov dword [esp + 0x16], 3
mov dword [esp + 0x1a], 0x4290a0
mov dword [esp + 0x1e], 0x417200
mov word [esp + 0x22], ax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x417200
mov dword [esp], edi
call esi
sub esp, 4
sub ebx, 1
je 0x408272
mov dword [esp], 0x4290a0
call ebp
sub esp, 4
cmp eax, 0xffffffff
jne 0x408308
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40e23c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00414640
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00414640
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x40ee10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40ee2f
mov eax, 0
jmp 0x40ee73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40ee52
mov eax, 0
jmp 0x40ee73
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40ee6e
mov eax, 0
jmp 0x40ee73
mov eax, 1
leave
ret

Function at 0x40ee75
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x40eed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x40eecc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x40eecc
mov eax, dword [ebp - 4]
jmp 0x40eee8
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x40eea9
mov eax, 0
leave
ret
Function at 0x434520
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c4], 0x190
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434561
mov byte [ebp - 0x1c0], 0
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041ccf0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005bb4c3
mov esp, ebp
pop ebp
ret

Function at 0x4345a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], 0x76
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x4345e1
mov byte [ebp - 0x80], 0
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041ccf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bb4c3
mov esp, ebp
pop ebp
ret
Function at 0x57e110
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.005bb900
add esp, 8
lea esi, [eax + 1]
cmp esi, 1
jne 0x57e168
push 0
push 0x14
push str.GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.00596c10
add esp, 0x10
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00597710
add esp, 0xc
test al, al
jne 0x57e19d
lea eax, [ebp - 0x20c]
push eax
push str.failed_to_get_crc_for__s_n
call fcn.00596360
add esp, 8
push str.0.1.8
push esi
lea eax, [ebp - 0x108]
push str._s__s.exe
push eax
call fcn.0057e2a0
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x57e1e0
lea eax, [ebp - 0x108]
push eax
push esi
push str.unable_to_copy__s___s_n
call fcn.00596360
add esp, 0xc
push 0x2f
push str.http:__45.83.207.85_warzsiam_launcher_wzupd.xml
call fcn.005bb900
mov edi, eax
add esp, 8
test edi, edi
jne 0x57e20a
push eax
push 0x21
push str.GenerateUpdaterXML.cpp
push str.updater_file
call fcn.00596c10
add esp, 0x10
inc edi
push 0x685874
push edi
call fcn.00597fb0
mov esi, eax
push str._p__n
push esi
call fcn.005bba37
push dword [ebp - 0x610]
lea eax, [ebp - 0x108]
push str.0.1.8
push dword [ebp - 0x614]
push eax
push str.http:__45.83.207.85_warzsiam_launcher_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005bba37
push str.__p__n
push esi
call fcn.005bba37
push esi
call fcn.005bbbb5
lea eax, [ebp - 0x108]
push eax
push edi
lea eax, [ebp - 0x60c]
push str.XML__s_generated_nnew_exe:_s
push eax
call fcn.0057e2c0
add esp, 0x48
lea eax, [ebp - 0x60c]
push 0
push str.Updater_XML
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005bb4c3
mov esp, ebp
pop ebp
ret

Function at 0x57ed10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareCodex_Development_GroupWarZ_Siam_MMO
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x57ed3b
mov al, 1
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 8
push eax
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push 0
push 0
push str.UpdaterTime1
push dword [ebp - 4]
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x57ed9d
push esi
call fcn.005bbdfd
mov esi, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0xc]
add esi, 0x2a300
adc ecx, 0
cmp edx, ecx
jg 0x57ed9d
jl 0x57ed96
cmp eax, esi
jae 0x57ed9d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x57fd50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dcf88
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x6c2da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00582cf0
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.005bf5d0
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dword [ebp - 0x48], 0x40
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], str.cmd.exe
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x57fe18
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x57fe18
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
jmp 0x57fe1b
or esi, 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x57fe2c
push dword [ebp + 8]
call fcn.00598830
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5819f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x204]
add ecx, 0x215d0
push eax
mov esi, edx
call fcn.00589510
cmp esi, 5
ja case.default.0x581a1d
jmp dword [esi*4 + 0x581aa4]
lea eax, [ebp - 0x404]
push str.https:__www.google.com_
push eax
call fcn.0057e2c0
add esp, 8
lea eax, [ebp - 0x404]
push 5
push 0
push 0x68a47f
push eax
jmp 0x581a88
push 5
push 0
push 0x68a47f
push str.https:__www.google.com_
jmp 0x581a88
push 5
push 0
push 0x68a47f
push str.https:__www.youtube.com_
jmp 0x581a88
push 5
push 0
push 0x68a47f
push str.https:__www.facebook.com_
jmp 0x581a88
push 5
push 0
push 0x68a47f
push str.https:__www.twitter.com_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005bb4c3
mov esp, ebp
pop ebp
ret