joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add edx, eax
mov dword [ebp - 0xc0c], edx
mov eax, dword [ebp + 0x10]
mov ebx, eax
mov dword [ebp - 0xc08], 0
cmp ebx, dword [ebp - 0xc0c]
jae 0x412b2c
lea eax, [ebp - 2]
lea edx, [ebp - 0x400]
lea ecx, [ebp - 0x400]
cmp eax, ecx
jbe 0x412ae0
cmp ebx, dword [ebp - 0xc0c]
jae 0x412ae0
cmp word [ebx], 0xa
jne 0x412ace
mov word [edx], 0xd
add edx, 2
add edx, 2
add ebx, 2
mov cx, word [ebx - 2]
mov word [edx - 2], cx
cmp edx, eax
jb 0x412ab8
push 0
push 0
push 0x800
lea eax, [ebp - 0xc00]
push eax
lea eax, [ebp - 0x400]
sub edx, eax
sar edx, 1
push edx
lea eax, [ebp - 0x400]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x412b38
lea esi, [ebp + eax - 0xc00]
lea eax, [ebp - 0xc00]
cmp esi, eax
jbe 0x412b97
lea edi, [ebp - 0xc00]
jmp 0x412b6a
mov dword [ebp - 0xc10], 0
jmp 0x412b44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc08]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc10]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
jmp 0x412bda
push dword [ebp + 0xc]
call fcn.00413210
pop ecx
push 0
lea edx, [ebp - 0xc04]
push edx
mov edx, esi
sub edx, edi
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x412bb6
add edi, dword [ebp - 0xc04]
cmp edi, esi
jb 0x412b6a
mov eax, ebx
sub eax, dword [ebp + 0x10]
mov dword [ebp - 0xc08], eax
add ebx, 2
cmp ebx, dword [ebp - 0xc0c]
jb 0x412aa5
jmp 0x412b2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc08]
mov dword [edx], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4139c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x2000
call fcn.0040cd70
pop ecx
mov esi, eax
test esi, esi
je 0x413a29
push 0x1000
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
je 0x413a2d
cmp edi, 0x1000
ja 0x413a45
mov ebx, 1
jmp 0x4139fd
xor ebx, ebx
test ebx, ebx
je 0x413a0d
push esi
push dword [ebp + 0xc]
call dword [0x4182a4]
jmp 0x413a1b
push 0x415608
push dword [ebp + 0xc]
call dword [0x4182a4]
push esi
call fcn.0040d120
pop ecx
test ebx, ebx
setne al
jmp 0x413a70
xor al, al
jmp 0x413a70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x4139fb
push esi
call fcn.0040d120
pop ecx
xor al, al
jmp 0x413a70
lea eax, [edi + edi]
push eax
push esi
call fcn.0040d4d0
add esp, 8
mov esi, eax
test esi, esi
je 0x413a29
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4139f4
push esi
call fcn.0040d120
pop ecx
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x413f80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x208]
xor eax, eax
mov ecx, 0x208
rep stosb byte es:[edi], al
lea edi, [ebp - 0x410]
xor eax, eax
mov ecx, 0x208
rep stosb byte es:[edi], al
push edx
push 0x104
lea eax, [ebp - 0x410]
push eax
call fcn.0040c0c0
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call fcn.00413e70
push 0x5c
lea eax, [ebp - 0x410]
push eax
call fcn.0040d820
add esp, 8
mov esi, eax
xor edi, edi
jmp 0x41406d
lea eax, [ebp - 0x410]
neg eax
add eax, esi
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x410]
push eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call fcn.0040d840
add esp, 0x10
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x414045
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x41405d
push 0x5c
lea eax, [esi + 2]
push eax
call fcn.0040d820
add esp, 8
mov esi, eax
jmp 0x41406d
cmp byte [0x41bf84], 0
je 0x41405d
lea eax, [ebp - 0x208]
push eax
push 1
call dword [0x4182b0]
push 0x5c
lea eax, [esi + 2]
push eax
call fcn.0040d820
add esp, 8
mov esi, eax
test esi, esi
jne 0x413fe7
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41409f
test eax, 0x10
je 0x41409f
mov eax, 1
ret 4
xor eax, eax
ret 4
Function at 0x40cb60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40cb6f
pop dword [ebp - 0x44]
mov eax, 0xe02ff2be
add eax, 0x2010d8b1
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xa8233e3c
sub dword [ebp - 0x54], 0x59d0f8f1
mov dword [ebp - 0x50], 0xac07e726
add dword [ebp - 0x50], 0x862b651f
mov dword [ebp - 0x4c], 0xd2c6b953
sub dword [ebp - 0x4c], 0x867a7525
mov dword [ebp - 0x48], 0xacbe6d03
sub dword [ebp - 0x48], 0xacbe6d03
lea eax, [ebp - 0x54]
push eax
mov eax, 0xe84c2611
sub eax, 0xe80295bd
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x821f112e
add dword [ebp - 0x54], 0xf2535828
mov dword [ebp - 0x50], 0x46539739
sub dword [ebp - 0x50], 0x4e735c4
mov dword [ebp - 0x4c], 0xa6ea4875
add dword [ebp - 0x4c], 0xbc8523f7
mov dword [ebp - 0x48], 0x65644aa4
add dword [ebp - 0x48], 0x9a9bb55c
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x2c20a7bd
add eax, 0xd428e867
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x69580
push 0
call eax
mov ecx, 0x2ec1fec5
sub ecx, 0x2ec1c805
xor edx, edx
add edx, eax
mov edi, 0x4c5e00
add edi, dword [ebp - 0x44]
mov esi, 0x90ef3e3f
sub esi, 0xe3e21b17
sub dword [ebp - 0x40], ebx
mov ebx, dword [edi]
add dword [ebp - 0x10], edx
add ebx, esi
xor dword [ebp - 0x24], edi
mov dword [edx], ebx
xor dword [ebp - 0x10], ecx
add edx, 4
add edi, 4
loop 0x40cc8d
add eax, 0x2996aaa
sub eax, 0x2989cd7
mov ebx, eax
add eax, 0x82c4a171
sub eax, 0x82c4a16c
mov ecx, 0xeb183dd6
add ecx, 0x1527c22a
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x40df10
Capabilities:
Check if file exists
Create directory

Disassembly:
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40df1d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x40df40
cmp ecx, 8
jb 0x40df32
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
pop esi
setne al
ret
cmp ecx, 8
jb 0x40df47
mov esi, dword [esi]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
test esi, esi
je 0x40dfb0
mov eax, dword [0x4be6ac]
test eax, eax
je 0x40df89
push esi
push 0x4b0948
push 0x4aeee0
push 0x4aeee0
push str.FileUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
test esi, esi
sete al
pop esi
ret
mov ecx, dword [0x4be6b0]
test ecx, ecx
je 0x40dfae
mov eax, dword [ecx]
push esi
push 0x4b0948
push str.FileUtils
push 0x4aeee0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
test esi, esi
sete al
pop esi
ret
Function at 0x40dfc0
Capabilities:
Check if file exists
Delete file

Disassembly:
push edi
mov edi, ecx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x40dfcd
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e089
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40dfe6
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40dff7
mov eax, dword [edi]
push ebx
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp eax, 1
sete bl
je 0x40e084
cmp dword [0x4be6ac], 0
je 0x40e049
cmp dword [edi + 0x14], 8
jb 0x40e018
mov edi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
push str.Failed_to_delete_file:__s_LastError:_d
push 0x4aeee0
push 0x4aeee0
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x4be6ac]
add esp, 0x20
mov al, bl
pop ebx
pop edi
ret
push esi
mov esi, dword [0x4be6b0]
test esi, esi
je 0x40e083
cmp dword [edi + 0x14], 8
jb 0x40e05c
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
push str.Failed_to_delete_file:__s_LastError:_d
push str.FileUtils
push 0x4aeee0
push 0x32
push dword [0x4be6b0]
call dword [esi + 0x34]
add esp, 0x1c
pop esi
mov al, bl
pop ebx
pop edi
ret
mov al, 1
pop edi
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 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 0x401225
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c01c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [0x40c020], 0x401219
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
mov dword [0x40c038], eax
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
lea eax, [0x40a03c]
fnstenv [eax]
push 0
push 0x40c030
push 0x40c02c
push 0x40c028
call sub.CRTDLL.DLL___GetMainArgs
mov ecx, 0x40a058
mov edx, dword [ecx]
or edx, edx
je 0x40129f
call ecx
push dword [0x40c030]
push dword [0x40c02c]
push dword [0x40c028]
mov dword [0x40c014], esp
call fcn.00401871
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4019df
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
call fcn.004019b9
add esp, 4
mov ebx, eax
or ebx, ebx
setne bl
movsx ebx, bl
test ebx, 1
je 0x401a1a
push str.ERROR:_Alla_funzione_GetRootValueTree___e_stato_passato_un_albero_vuoto__NULL_._n
call fcn.004095f0
add esp, 4
push 1
call sub.CRTDLL.DLL_exit
add esp, 4
jmp 0x401a1d
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret

Function at 0x402718
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 1
je 0x4027a6
cmp edi, 4
jne 0x40279b
mov eax, dword [sym.imp.CRTDLL.DLL__iob]
add eax, 0x40
push eax
push 1
push 7
push str.signal
call sub.CRTDLL.DLL_fwrite
push 0xa
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xc]
call sub.CRTDLL.DLL__itoa
add esp, 0x1c
lea ecx, [ebp - 0x80]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x40275f
cmp edi, 3
je 0x4027a6
push dword [ebp + 0xc]
call edi
pop ecx

Function at 0x4066b6
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
or dword [ebp - 0x20], 0xffffffff
and dword [ebp - 0x18], 0
or dword [ebp - 0x134], 0xffffffff
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x1c0]
push eax
call sub.CRTDLL.DLL_memset
add esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 0x138], 0
jmp 0x407080
Function at 0x410ec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x410ef4
cmp byte [edi + 1], 0
je 0x410eed
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x410efa
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
push ebx
je 0x410f1d
cmp byte [edi + 1], 0
je 0x410f16
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x410f20
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x410f2f
mov eax, dword [edi + 0x18]
mov ebx, 0xffff
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
cmp eax, ebx
jae 0x410f34
mov ebx, eax
mov dword [ebp - 0xc], eax
push esi
push 0x404
call fcn.00491699
mov esi, eax
add esp, 4
test esi, esi
jne 0x410f4f
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x10], 0
cmp ebx, eax
jbe 0x41104a
mov edx, dword [ebp - 4]
add eax, 0x400
cmp eax, ebx
mov ecx, eax
mov eax, 0x404
cmova ecx, ebx
sub edx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x404
mov dword [ebp - 0x18], edx
mov ebx, ecx
cmova ebx, eax
cmp byte [edi], 0
je 0x410fae
cmp byte [edi + 1], 0
je 0x41104a
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x410fb1
mov dword [edi + 0x18], edx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 8], ebx
je 0x410fd9
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x410fd4
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x411002
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x410fec
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.00489f40
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x41104a
lea eax, [ebx - 3]
test eax, eax
jle 0x41103c
dec eax
cmp byte [eax + esi], 0x50
jne 0x41102e
cmp byte [eax + esi + 1], 0x4b
jne 0x41102e
cmp byte [eax + esi + 2], 5
jne 0x41102e
cmp byte [eax + esi + 3], 6
je 0x411034
test eax, eax
jg 0x411012
jmp 0x41103c
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jne 0x41104a
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
jb 0x410f63
push esi
call fcn.00491497
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x426600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
shr edx, 0x10
mov esi, ecx
push edi
test edx, edx
je 0x426651
cmp word [eax], 0x3c
jne 0x426637
push eax
call fcn.00429c10
test al, al
jne 0x4266ea
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push ecx
push eax
call fcn.00429dc0
test al, al
jne 0x4266ea
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [0x4cc580]
test ecx, ecx
mov ebx, dword [ebp + 0xc]
cmove ecx, dword [0x4cc584]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x42662c
mov eax, dword [0x4cc580]
test eax, eax
push edi
cmove eax, dword [0x4cc584]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4266a2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x140], eax
mov eax, dword [0x4cc580]
test eax, eax
push ecx
cmove eax, dword [0x4cc584]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.00429ce0
test al, al
je 0x42662c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esi + 0x144], ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00426710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x4310d0
xor eax, eax
jmp 0x431169
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
jmp 0x431108
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x431167
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00431074
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x431165
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x431169
jmp 0x431101
xor eax, eax
leave
ret
Function at 0x47f610
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.0048a4c0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x47f6b4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
add ecx, 2
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x290]
mov ax, word [edx]
mov word [ebp - 0x296], ax
add dword [ebp - 0x290], 2
cmp word [ebp - 0x296], 0
jne 0x47f663
mov ecx, dword [ebp - 0x290]
sub ecx, dword [ebp - 0x294]
sar ecx, 1
mov dword [ebp - 0x29c], ecx
je 0x47f6b4
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004901dd
add esp, 0xc
jmp 0x47f6ee
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4a5b08
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00490168
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4cb294], eax
cmp dword [0x4cb294], 0
jne 0x47f710
xor al, al
jmp 0x47f81a
push str.STInit
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb298], eax
push str.STUDPProxy
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb29c], eax
push str.STUDPTransfer
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2a0], eax
push str.STCmdApp
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2b4], eax
push str.STEntryAddr
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2a8], eax
push str.STUnionID
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2a4], eax
push str.STAppID
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2ac], eax
push str.STVersion
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2b0], eax
push str.STOnline
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2b8], eax
push str.STOffline
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2bc], eax
push str.STAction
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2c0], eax
push str.STUninit
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2c4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret
Function at 0x47ffc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push str.ManualUpdate.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x47ffeb
xor al, al
jmp 0x4800f2
push str.Mu_Init
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0047ea70
push str.Mu_SetProductString
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0047ea70
push str.Mu_SetProducID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0047ea70
push str.Mu_SetProducID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0047ea70
push str.Mu_SetUnionID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.0047ea70
push str.Mu_SetPCID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.0047ea70
push str.Mu_CheckUpdate
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x1c
call fcn.0047ea70
push str.Mu_Uninit
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.0047ea70
push str.Mu_SetProductVerion
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.0047ea70
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret