joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4780
Capabilities:
Parse credit card information

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x4e485c
movsx eax, byte [esi]
mov edi, ecx
cmp eax, 0x5b
jg 0x4e4811
cmp eax, 0x24
je 0x4e4836
cmp eax, 0x28
jne 0x4e485c
lea eax, [esi + 1]
cmp eax, ebp
je 0x4e485c
cmp byte [eax], 0x3f
jne 0x4e485c
lea eax, [esi + 2]
cmp eax, ebp
je 0x4e485c
movsx eax, byte [eax]
cmp eax, 0x21
je 0x4e48f1
cmp eax, 0x3d
jne 0x4e485c
mov ebx, esp
mov ecx, ebx
call fcn.004e7450
mov eax, dword [edi + 0xc]
add esi, 3
mov ecx, ebx
mov dword [esp + 0xc], eax
push ebp
push esi
call fcn.004e7340
mov ebx, dword [esp + 0x10]
mov esi, eax
mov ecx, edi
push dword [edi + 0x10]
push 0
jmp 0x4e491a
cmp eax, 0x5c
je 0x4e4868
cmp eax, 0x5e
jne 0x4e485c
push 8
call fcn.0040bb60
add esp, 4
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax], 0x533afc
jmp 0x4e484f
push 8
call fcn.0040bb60
add esp, 4
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax], 0x533b14
mov dword [ecx + 4], eax
inc esi
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 4]
mov dword [edi + 0x24], eax
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea eax, [esi + 1]
cmp eax, ebp
je 0x4e485c
mov al, byte [eax]
cmp al, 0x42
je 0x4e48af
cmp al, 0x62
jne 0x4e485c
push 0x18
call fcn.0040bb60
add esp, 4
mov ebx, eax
mov eax, dword [edi + 0x24]
lea ecx, [ebx + 8]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov dword [ebx], 0x533f18
push edi
call fcn.00417ba0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x14], 0
jmp 0x4e48e3
push 0x18
call fcn.0040bb60
add esp, 4
mov ebx, eax
mov eax, dword [edi + 0x24]
lea ecx, [ebx + 8]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov dword [ebx], 0x533f18
push edi
call fcn.00417ba0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x14], 1
mov eax, dword [edi + 0x24]
add esi, 2
mov dword [eax + 4], ebx
jmp 0x4e4853
mov ebx, esp
mov ecx, ebx
call fcn.004e7450
mov eax, dword [edi + 0xc]
add esi, 3
mov ecx, ebx
mov dword [esp + 0xc], eax
push ebp
push esi
call fcn.004e7340
mov ebx, dword [esp + 0x10]
mov esi, eax
mov ecx, edi
push dword [edi + 0x10]
push 1
lea eax, [esp + 8]
push eax
call fcn.004e46f0
add dword [edi + 0x10], ebx
cmp esi, ebp
je 0x4e493d
cmp byte [esi], 0x29
jne 0x4e493d
mov ecx, esp
inc esi
call fcn.004e74b0
jmp 0x4e485c
call sub.msvcrt.dll_abort
int3
Function at 0x4eb780
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
xor edi, edi
cmp dword [ecx + 0x40], 0
je 0x4eb904
mov esi, ecx
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x4eb919
mov eax, dword [esi + 0x54]
test al, 0x10
jne 0x4eb7d1
test al, 8
je 0x4eb902
mov eax, dword [esi + 0x4c]
mov dword [esp], eax
cmp byte [esi + 0x5a], 0
je 0x4eb855
mov ecx, dword [esi + 0x10]
xor ebx, ebx
sub ecx, dword [esi + 0xc]
mov eax, ecx
sar eax, 0x1f
jmp 0x4eb8ba
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x14]
je 0x4eb7eb
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0x34]
cmp eax, 0xffffffff
je 0x4eb8d3
lea ebp, [esi + 0x48]
nop
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x34]
lea ebx, [esp + 4]
mov edi, dword [ecx]
add edx, eax
push ebx
push edx
push eax
push ebp
call dword [edi + 0x14]
mov ebx, eax
mov edi, dword [esp + 4]
mov eax, dword [esi + 0x20]
sub edi, eax
push dword [esi + 0x40]
push edi
push 1
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
cmp eax, edi
mov edi, 0xffffffff
jne 0x4eb904
cmp ebx, 1
je 0x4eb7f0
cmp ebx, 2
je 0x4eb904
push dword [esi + 0x40]
call sub.msvcrt.dll_fflush
add esp, 4
test eax, eax
jne 0x4eb904
jmp 0x4eb902
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
sub edi, edx
test eax, eax
jle 0x4eb881
mov ecx, dword [esi + 0x10]
mov edx, edi
sar edx, 0x1f
sub ecx, dword [esi + 0xc]
imul ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, edi
adc eax, edx
xor ebx, ebx
jmp 0x4eb8ba
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x4eb90e
mov ecx, dword [esi + 0x44]
sub eax, dword [esi + 8]
mov ebx, edi
sar ebx, 0x1f
mov ebp, dword [ecx]
push eax
push edx
push dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
call dword [ebp + 0x20]
mov ecx, dword [esi + 0x24]
sub ecx, eax
sub ecx, dword [esi + 0x20]
mov eax, ecx
sar eax, 0x1f
add ecx, edi
adc eax, ebx
mov bl, 1
xor edx, edx
neg ecx
sbb edx, eax
push 1
push edx
push ecx
push dword [esi + 0x40]
call fcn.00447eb0
add esp, 0x10
test eax, eax
je 0x4eb8da
mov edi, 0xffffffff
jmp 0x4eb904
test bl, bl
je 0x4eb8e4
mov eax, dword [esp]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x20]
xorps xmm0, xmm0
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
movlps qword [esi + 8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x54], 0
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, edi
xor ebx, ebx
mov ecx, edi
jmp 0x4eb7c9
call sub.msvcrt.dll_abort
int3
Function at 0x100015a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100015d4
sub eax, 1
jne 0x10001693
push eax
push eax
push eax
push 0x100014f0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
push 0x100172d0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100172c8]
test eax, eax
je 0x10001613
mov byte [0x100172cc], 1
cmp eax, 1
jne 0x10001609
push 0
push 0x40
push ecx
push 0x100172bc
push dword [0x100172b4]
call fcn.10001ea0
mov dword [0x100172c8], 0
mov eax, dword [0x100172b0]
mov dword [0x100172b0], 0
test eax, eax
je 0x1000162c
push eax
call fcn.10001730
push esi
push 0x100172d0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x100172e8]
test esi, esi
je 0x10001692
mov ecx, dword [esi + 0x20]
xor edx, edx
push ebx
push edi
mov edi, dword [esi + 0x1c]
xor ebx, ebx
sub ecx, edi
add ecx, 3
shr ecx, 2
cmp edi, dword [esi + 0x20]
cmova ecx, edx
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x1000167a
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
call dword [eax + 8]
inc ebx
lea edi, [edi + 4]
cmp ebx, dword [ebp + 0xc]
jne 0x10001663
mov esi, dword [0x100172e8]
mov dword [0x100172e8], 0
pop edi
pop ebx
test esi, esi
je 0x10001692
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop esi
mov eax, 1
pop ebp
ret 0xc

Function at 0x10001d90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x10016008]
xor eax, esp
mov dword [esp + 0x420], eax
cmp dword [ecx + 0x14], 8
push esi
jb 0x10001db3
mov ecx, dword [ecx]
push ecx
push 0x200
lea eax, [esp + 0x28]
push eax
push 0
push str.Pause
push str.Informer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x24]
mov word [esp + 0xc], cx
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 7
call fcn.10001c30
cmp dword [esp + 0x18], 0
je 0x10001e3f
cmp dword [esp + 0x1c], 8
lea ecx, [esp + 4]
push 0xa
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
cmovae eax, dword [esp + 0xc]
push ecx
push eax
call fcn.1000683a
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 8]
mov esi, eax
cmp edx, 8
lea eax, [esp + 8]
cmovae eax, ecx
cmp eax, dword [esp + 4]
je 0x10001e47
jmp 0x10001e4a
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
mov esi, dword [ebp + 0x10]
cmp edx, 8
jb 0x10001e7a
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001e70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001e91
push edx
push ecx
call fcn.10002a4e
add esp, 8
mov ecx, dword [esp + 0x424]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100026aa
mov esp, ebp
pop ebp
ret 0xc
call fcn.10005fed
int3
Function at 0x10001080
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov esi, eax
test edi, edi
je 0x1000125a
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1000125a
cmp dword [ebp + 0xc], 0
je 0x1000125a
mov eax, ebx
call section..text
test esi, esi
jne 0x100010c7
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
cmp dword [edx], eax
jl 0x1000125a
mov eax, 0x55555556
imul ebx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx*4]
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x13
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
js 0x100011ca
cmp dword [esp + 0x14], ebx
jne 0x1000113c
mov edx, ebx
imul edx, edx, 0x4c
lea eax, [ecx*4]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x18], eax
test eax, eax
jle 0x100011ae
mov edx, eax
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_uiconfig.ini]
mov byte [esi], al
shl ecx, 6
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_uiconfig.ini]
shl ecx, 6
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x1a
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_uiconfig.ini]
shr ecx, 0x14
and ecx, 0x3f
mov byte [esi + 2], al
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_uiconfig.ini]
mov byte [esi + 3], cl
add edi, 3
add esi, 4
sub edx, 1
jne 0x10001142
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea edx, [edx + eax*4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
inc edx
cmp edx, ebx
mov dword [esp + 0x14], edx
jle 0x1000111b
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 8]
sub ecx, eax
je 0x10001245
lea edx, [ecx + 1]
test edx, edx
je 0x10001245
xor eax, eax
test ecx, ecx
jle 0x100011e5
movzx eax, byte [edi]
inc edi
shl eax, 8
cmp ecx, 1
jle 0x100011f3
movzx ebx, byte [edi]
or eax, ebx
inc edi
shl eax, 8
cmp ecx, 2
jle 0x10001200
movzx ecx, byte [edi]
or eax, ecx
shl eax, 8
test edx, edx
jle 0x10001226
mov ecx, edx
lea esp, [esp]
mov edi, eax
shr edi, 0x1a
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_uiconfig.ini]
mov byte [esi], bl
inc esi
shl eax, 6
sub ecx, 1
jne 0x10001210
add dword [esp + 0x10], edx
mov edi, 4
sub edi, edx
test edi, edi
jle 0x10001241
push edi
push 0x3d
push esi
call fcn.100b34b0
add esp, 0xc
add dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100016a0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x98
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xc], 6
push 0
jb 0x1000173a
push 0x28
push 0x10114050
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, 0x10114050
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100016e7
mov ecx, dword [str.AppDataLocalLow_]
mov edx, dword [0x100d7a44]
mov dword [eax], ecx
mov ecx, dword [0x100d7a48]
mov dword [eax + 4], edx
mov edx, dword [0x100d7a4c]
mov dword [eax + 8], ecx
mov cx, word [0x100d7a50]
mov dword [eax + 0xc], edx
mov dl, byte [0x100d7a52]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
mov eax, 0x10114050
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001730
jmp 0x10001770
push 0x1c
push 0x10114050
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x10114050
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001750
mov dx, word [0x100d7a64]
mov eax, 0x10114050
mov word [edi], dx
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001768
mov ecx, dword [str.HebcaSKFMobile]
mov edx, dword [0x100d7a58]
mov dword [eax], ecx
mov ecx, dword [0x100d7a5c]
mov dword [eax + 4], edx
mov dx, word [0x100d7a60]
mov dword [eax + 8], ecx
mov cl, byte [0x100d7a62]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
mov edi, 0x10114178
mov esi, 0x1010f1b0
mov edx, dword [esi]
push edx
push 0x10114050
push str._scurrent_s
push edi
call fcn.100ae7f7
add esi, 4
add esp, 0x10
add edi, 0x104
cmp esi, 0x1010f1d0
jl 0x100017a8
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
mov byte [0x10114154], 1
call fcn.100ae60d
add esp, 0x98
ret
Function at 0x100017f0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push esi
push 0x103
mov esi, ecx
lea ecx, [esp + 0xd]
push 0
push ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 0
call fcn.100b34b0
add esp, 0xc
cmp byte [0x10114154], 0
jne 0x10001839
call fcn.100016a0
push 0x10114050
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, 7
jle 0x10001862
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100ae60d
add esp, 0x10c
ret
mov edx, dword [esi*4 + 0x1010f1b0]
push edx
push 0x10114050
lea eax, [esp + 0x10]
push str._scurrent_s
push eax
call fcn.100ae7f7
lea ecx, [esp + 0x18]
push 0x100d7a78
push ecx
call fcn.100ae977
mov esi, eax
add esp, 0x18
test esi, esi
je 0x10001849
push ebx
push 2
push 0
push esi
call fcn.100aea18
push esi
call fcn.100aec3a
mov ebx, eax
add esp, 0x10
test ebx, ebx
jg 0x100018d3
push esi
call fcn.100aed1f
add esp, 4
pop ebx
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100ae60d
add esp, 0x10c
ret
push ebp
push edi
lea ebp, [ebx + 1]
push ebp
call fcn.100ae69f
mov edi, eax
add esp, 4
test edi, edi
jne 0x100018f5
push esi
call fcn.100aed1f
add esp, 4
or eax, 0xffffffff
jmp 0x10001923
push ebp
push 0
push edi
call fcn.100b34b0
push 0
push 0
push esi
call fcn.100aea18
push esi
push 1
push ebx
push edi
call fcn.100af03b
mov edx, dword [esp + 0x38]
push esi
mov dword [edx], edi
call fcn.100aed1f
add esp, 0x2c
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.100ae60d
add esp, 0x10c
ret

Function at 0x10001940
Capabilities:
Check if file exists
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.100b34b0
add esp, 0xc
cmp byte [0x10114154], 0
jne 0x1000197b
call fcn.100016a0
push 0x10114050
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx*4 + 0x1010f1b0]
push edx
push 0x10114050
lea eax, [esp + 8]
push str._scurrent_s
push eax
call fcn.100ae7f7
lea ecx, [esp + 0x10]
push ecx
call fcn.100af058
add esp, 0x14
test eax, eax
je 0x100019d2
or eax, 0xffffffff
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100ae60d
add esp, 0x108
ret
push esi
lea edx, [esp + 4]
push 0x100d7a7c
push edx
call fcn.100ae977
mov esi, eax
add esp, 8
test esi, esi
jne 0x10001a04
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100ae60d
add esp, 0x108
ret
mov eax, dword [esp + 0x110]
push esi
push 1
push eax
push edi
call fcn.100af1ea
push esi
call fcn.100aed1f
mov ecx, dword [esp + 0x11c]
add esp, 0x14
pop esi
xor ecx, esp
xor eax, eax
call fcn.100ae60d
add esp, 0x108
ret
Function at 0x10001a40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.100b34b0
add esp, 0xc
push esi
push 0x104
lea ecx, [esp + 8]
push ecx
push str.___error___
push str.popui
push str.uiconfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x10001aa8
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100ae60d
add esp, 0x108
ret
lea eax, [esp]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001ab0
sub eax, edx
cmp eax, 0xa
ja 0x10001a91
push 0xa
lea edx, [esp + 4]
push 0
push edx
call fcn.100af54d
mov ecx, dword [esp + 0x110]
add esp, 0xc
mov dword [edi], eax
xor ecx, esp
mov eax, 1
call fcn.100ae60d
add esp, 0x108
ret

Function at 0x10001af0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x108], eax
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.100b34b0
mov ecx, dword [0x1010f1cc]
push ecx
push 0x10114050
lea edx, [esp + 0x18]
push str._scurrent_s
push edx
mov dword [esp + 0x1c], 1
call fcn.100ae7f7
add esp, 0x1c
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10001b89
push esi
push edi
lea edi, [esp + 8]
lea esi, [esp + 0xc]
call fcn.10001a40
pop edi
pop esi
test eax, eax
je 0x10001b89
mov eax, dword [esp]
test eax, eax
je 0x10001b70
mov eax, 1
mov dword [ebx], eax
xor eax, eax
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100ae60d
add esp, 0x10c
ret
mov ecx, dword [esp + 0x108]
xor ecx, esp
mov dword [ebx], 1
xor eax, eax
call fcn.100ae60d
add esp, 0x10c
ret
Function at 0x10001bb0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x24
cmp byte [0x10114154], 0
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
jne 0x10001bc9
call fcn.100016a0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push 0x10114050
call ebx
xor edi, edi
mov esi, 0x10114178
lea ecx, [ecx]
cmp edi, 7
jg 0x10001bf4
push esi
call ebx
test eax, eax
jne 0x10001bf4
cmp esi, 0x10114894
jne 0x10001c42
add esi, 0x104
inc edi
cmp esi, 0x10114998
jl 0x10001be0
xor esi, esi
or edi, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 1
cmp esi, 7
jne 0x10001c4d
lea ebx, [esp + 0x10]
call fcn.10001af0
jmp 0x10001c60
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret
lea eax, [esp + esi*4 + 0x14]
push eax
mov ecx, esi
call fcn.100017f0
add esp, 4
test eax, eax
jne 0x10001caa
inc esi
cmp esi, 8
jl 0x10001c32
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x24]
xor edi, edi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x10], edx
mov edx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
pop ebp
pop ebx
add esp, 0x24
ret
xor ebx, ebx
xor esi, esi
mov edi, edi
mov eax, dword [esp + esi*4 + 0x14]
cmp eax, ebx
je 0x10001cc5
push eax
call fcn.100ae769
add esp, 4
mov dword [esp + esi*4 + 0x14], ebx
inc esi
cmp esi, 8
jl 0x10001cb0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x100021f0
Capabilities:
Check if file exists

Disassembly:
cmp byte [0x10114154], 0
jne 0x100021fe
call fcn.100016a0
push esi
push edi
push 0x10114050
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edi, 0x101149b8
mov esi, 0x1010f1a0
mov eax, dword [esi]
push eax
push 0x10114050
push str._s_s
push edi
call fcn.100ae7f7
add esi, 4
add esp, 0x10
add edi, 0x104
cmp esi, 0x1010f1b0
jl 0x10002215
pop edi
mov dword [0x10114dc8], 1
pop esi
ret

Function at 0x10002250
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
cmp dword [0x10114dc8], 0
jne 0x10002261
call fcn.100021f0
push 0x101149b8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp dword [0x10114dd0], 0
ja 0x100022be
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 4], 1
call fcn.10002120
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
lea eax, [esp]
push eax
push 1
push 0x467
push 0x7fffffff
push 3
push ecx
call dword [0x1011499c]
test eax, eax
jne 0x100022b9
add esp, 8
ret
mov dword [0x10114dd0], eax
mov eax, 1
add esp, 8
ret
Function at 0x100023d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x10114dcc]
sub esp, 0x30
push esi
test eax, eax
jne 0x100024ad
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x7f00
mov esi, eax
push 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x100022d0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x24], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x2c], str.SKFMobileMonitorMenu
mov dword [esp + 0x30], str.SKFMobileMonitorWindowClass
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x10002463
xor eax, eax
pop esi
add esp, 0x30
ret
push 0
push esi
push 0
push 0
push 1
push 1
push 1
push 1
push 0xcf0000
push 0x100d7add
push str.SKFMobileMonitorWindowClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x10114dcc], eax
test eax, eax
je 0x1000245c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x10114dcc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x10114dcc]
pop esi
add esp, 0x30
ret

Function at 0x100025b0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ecx
cmp dword [0x101149a4], 0
jne 0x100025e9
lea eax, [esp]
push eax
push 0
push 0
push 0x100024c0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp]
mov dword [0x101149a4], eax
mov dword [0x101149a8], ecx
pop ecx
ret
mov edx, dword [0x101149a8]
push esi
mov esi, dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0
push 0
push 0x465
push edx
call esi
test eax, eax
jne 0x10002639
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.PostThreadMessage_failed_
call edi
push 0x1f4
call ebx
mov eax, dword [0x101149a8]
push 0
push 0
push 0x465
push eax
call esi
test eax, eax
je 0x10002614
pop edi
pop ebx
pop esi
pop ecx
ret

Function at 0x10002640
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x101149a4], 0
je 0x100026d3
push ebx
mov ebx, dword [sym.imp.USER32.dll_PostThreadMessageA]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edi, edi
mov eax, dword [0x101149a8]
push 0
push 0
push 0x468
push eax
call ebx
test eax, eax
jne 0x1000267f
push 0x64
inc esi
call edi
cmp esi, 5
jl 0x10002660
pop edi
cmp esi, 5
pop esi
pop ebx
jne 0x100026a4
mov eax, dword [0x101149a4]
test eax, eax
je 0x100026c9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x101149a4], 0
ret
mov ecx, dword [0x101149a4]
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100026c9
mov edx, dword [0x101149a4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x101149a4], 0
ret