joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40233f
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4051f8
call fcn.00402861
push 1
call fcn.004023c2
pop ecx
test al, al
jne 0x4021e8
push 7
call fcn.00402a74
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040238d
mov byte [ebp - 0x24], al
mov eax, dword [0x40633c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4021e1
test eax, eax
jne 0x402252
mov dword [0x40633c], ecx
push 0x40429c
push 0x404284
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x402235
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402339
push 0x404280
push 0x40426c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40633c], 2
jmp 0x402257
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040251f
pop ecx
call fcn.00402a68
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402287
push esi
call fcn.00402492
pop ecx
test al, al
je 0x402287
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00402ca3
call esi
call fcn.00402a6e
mov esi, eax
cmp dword [esi], edi
je 0x4022a5
push esi
call fcn.00402492
pop ecx
test al, al
je 0x4022a5
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00402b89
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.00402bbc
test al, al
jne 0x4022de
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x4022e7
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040253c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x402339
call fcn.004028a7
ret
call fcn.00402059
jmp 0x4021c9

Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4209cb
Capabilities:
Parse pe header

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

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

Function at 0x426970
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x41f0ae
lea edi, [esi - 0x1e0ae]
push edi
or ebp, 0xffffffff
jmp 0x426992
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x426999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x426988
mov eax, 1
add ebx, ebx
jne 0x4269ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4269a0
jne 0x4269bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4269a0
xor ecx, ecx
sub eax, 3
jb 0x4269d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x426a42
mov ebp, eax
add ebx, ebx
jne 0x4269db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4269e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x426a0c
inc ecx
add ebx, ebx
jne 0x4269f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4269ed
jne 0x426a09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4269ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x426a2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x426a1d
jmp 0x42698e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x426a2c
add edi, ecx
jmp 0x42698e
pop esi
mov edi, esi
mov ecx, 0x91d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x426a4a
cmp byte [edi], 2
jne 0x426a4a
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 eax, ebx
loop 0x426a4f
lea edi, [esi + 0x24000]
mov eax, dword [edi]
or eax, eax
je 0x426abe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26ff8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27098]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x426a7c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2709c]
or eax, eax
je 0x426ab8
mov dword [ebx], eax
add ebx, 4
jmp 0x426a99
call dword [esi + 0x270a0]
popal
jmp 0x4011cb

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 0x10003f60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x10003f7e
push 5
push 0
push 0
push eax
push 0x10057900
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebp
ret

Function at 0x10004170
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10077fb0]
cmp byte [eax + 0xa7f], 0
je 0x100041da
mov byte [eax + 0xa7f], 0
mov eax, dword [0x10077fb0]
add eax, 0xa80
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIcon]
mov ecx, dword [ebp + 8]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x10077fb0]
add edx, 0x7c
push edx
call fcn.10013e90
mov eax, dword [0x10077fb0]
mov ecx, dword [eax + 0x10]
add esp, 4
push 0x65
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x10077fb0]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop ebp
ret

Function at 0x10004290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10077fb0]
cmp byte [eax + 0xa7f], 0
je 0x100042a5
xor eax, eax
pop ebp
ret
mov byte [eax + 0xa7f], 1
mov eax, dword [0x10077fb0]
push esi
mov esi, dword [ebp + 8]
add eax, 0xa80
push eax
push esi
call fcn.10004090
add esp, 8
test eax, eax
jne 0x100042d7
mov ecx, dword [0x10077fb0]
mov byte [ecx + 0xa7f], al
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x10077fb0]
mov eax, dword [edx + 0x10]
push 0
push 0x1f4
push 0x65
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x10004950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
je 0x10004981
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, byte [ecx + esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x10057980]
inc ecx
cmp ecx, edx
jb 0x10004964
pop edi
pop esi
pop ebp
ret

Function at 0x10004990
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x10067484]
push esi
mov esi, eax
xor edx, edx
and esi, 0xffffffc0
jbe 0x100049cd
push ebx
push edi
mov edi, dword [ebp + 8]
jmp 0x100049b0
movzx ebx, byte [edx + edi]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x10057980]
inc edx
cmp edx, esi
jb 0x100049b0
pop edi
pop ebx
mov dword [0x10067484], ecx
and eax, 0x3f
pop esi
pop ebp
ret
Function at 0x10004ab0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1007043c], 0
jne 0x10004add
push 0x867
call fcn.1000a040
push eax
push 0
push 2
call fcn.10009dd0
mov eax, dword [0x10067480]
add esp, 0x10
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10004b0b
mov eax, dword [0x10067480]
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x10004b2d
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [0x10067480]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1007043c]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push edx
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
push esi
test eax, eax
jne 0x10004b6f
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x86a
call fcn.1000a040
push eax
push 0
push 2
call fcn.10009dd0
mov eax, dword [0x10067480]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [0x1007043c]
push edi
push eax
call fcn.100049e0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004c80
Capabilities:
Delete file
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.10004be0
push 0x10057dac
push edi
call fcn.1003bd91
add esp, 0xc
test eax, eax
jne 0x10004cf1
mov eax, dword [0x10077fb0]
push esi
add eax, 0x638
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x144]
push ecx
push edi
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_FindClose]
cmp esi, 0xffffffff
pop esi
je 0x10004cf1
push 0x80
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
Function at 0x10004d10
Capabilities:
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.10004be0
push 0x10057dac
push esi
call fcn.1003bd91
add esp, 0xc
test eax, eax
jne 0x10004da6
mov eax, dword [0x10077fb0]
push edi
add eax, 0x638
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x144]
push ecx
push esi
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
push edi
call dword [sym.imp.kernel32.dll_FindClose]
cmp edi, 0xffffffff
pop edi
je 0x10004da6
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push 0x40
push 0x10057db0
push esi
call fcn.1003c89f
add esp, 0xc
test eax, eax
jne 0x10004d9d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
push eax
call fcn.1003c82b
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret

Function at 0x10004ec0
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10077fb0]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
add eax, 0x638
push eax
call edi
push pe_nt_image_headers32
lea ecx, [ebp - 0x104]
push 0
push ecx
call fcn.1003ae80
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
lea edx, [ebp - 0x104]
push edx
push 0
push 0
push esi
call fcn.1003c5c1
add esp, 0x30
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
mov ebx, eax
test ebx, ebx
je 0x10004fab
lea ecx, [ebp - 0x104]
push ecx
call edi
test eax, eax
jne 0x10004fab
push pe_nt_image_headers32
push eax
lea edx, [ebp - 0x204]
push edx
call fcn.1003ae80
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x10004fab
lea esi, [ebp - 0x204]
mov al, byte [ebp + edi - 0x104]
mov byte [esi], al
inc esi
mov byte [esi], 0
cmp al, 0x5c
jne 0x10004fa6
mov eax, dword [0x10077fb0]
add eax, 0x638
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x10004fa6
push eax
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
je 0x10004fc1
inc edi
cmp edi, ebx
jl 0x10004f61
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
Function at 0x100056d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.10013fc0
mov esi, eax
movzx eax, byte [0x10072e44]
push eax
call fcn.10013fd0
mov dword [esi + 8], 0
mov ecx, dword [0x10070450]
mov dword [ecx + 0x1114], 0
mov edx, dword [0x10070450]
push 0
mov edi, eax
mov dword [edx + 0x1118], 0
call fcn.10010210
add esp, 8
push 0
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [ebp + 8]
push eax
push esi
call fcn.100052a0
add esp, 8
test eax, eax
jne 0x1000573e
pop edi
mov eax, 1
pop esi
pop ebp
ret
cmp dword [edi + 0x18], 0
jne 0x1000574d
pop edi
mov eax, 3
pop esi
pop ebp
ret
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
mov edx, dword [esi]
push eax
mov eax, dword [edi + 0x18]
push edx
push eax
call dword [sym.imp.ws2_32.dll_send]
inc eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
pop edi
add eax, 3
pop esi
pop ebp
ret
Function at 0x10005ee0
Capabilities:
Delete file
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40f
lea eax, [ebp - 0x413]
push 0
push eax
mov byte [ebp - 0x414], 0
call fcn.1003ae80
mov ecx, dword [0x10070450]
push 0x40
add ecx, 0x195c
push 0x10057f48
push ecx
call fcn.1003c89f
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x558], edi
test edi, edi
je 0x10006080
push edi
lea edx, [ebp - 0x414]
push 0x410
push edx
call fcn.1003cf6f
add esp, 0xc
test eax, eax
je 0x10006077
lea ebx, [ebp - 0x414]
nop
mov esi, dword [sym.imp.kernel32.dll_lstrlen]
lea eax, [ebp - 0x414]
push eax
call esi
cmp byte [ebx + eax - 1], 0xa
jne 0x10005f7b
mov byte [ebx + eax - 1], 0
lea ecx, [ebp - 0x414]
push ecx
call esi
test eax, eax
jle 0x1000605a
mov eax, dword [0x10070450]
xor esi, esi
cmp dword [eax + 0x110c], esi
jbe 0x10005fda
xor edi, edi
lea ecx, [ecx]
mov eax, dword [eax + 4]
add eax, edi
lea edx, [ebp - 0x414]
push edx
add eax, 0x18
push eax
call fcn.1003bd91
add esp, 8
test eax, eax
jne 0x10006054
mov eax, dword [0x10070450]
inc esi
add edi, 0x124
cmp esi, dword [eax + 0x110c]
jb 0x10005fa0
mov edi, dword [ebp - 0x558]
lea eax, [ebp - 0x414]
push eax
call fcn.10004be0
lea ecx, [ebp - 0x414]
push 0x10057dac
push ecx
call fcn.1003bd91
add esp, 0xc
test eax, eax
jne 0x1000605a
mov edx, dword [0x10077fb0]
add edx, 0x638
push edx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_FindClose]
cmp esi, 0xffffffff
je 0x1000605a
push 0x80
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x1000605a
mov edi, dword [ebp - 0x558]
push edi
lea ecx, [ebp - 0x414]
push 0x410
push ecx
call fcn.1003cf6f
add esp, 0xc
test eax, eax
jne 0x10005f60
push edi
call fcn.1003c82b
add esp, 4
mov edx, dword [0x10070450]
push 0x40
add edx, 0x195c
push 0x10057f3c
push edx
call fcn.1003c89f
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x100060b3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10070450]
xor esi, esi
cmp dword [eax + 0x110c], esi
jbe 0x100060ee
xor edi, edi
mov eax, dword [eax + 4]
lea ecx, [eax + edi + 0x18]
push ecx
push 0x10057f44
push ebx
call fcn.1003ce63
mov eax, dword [0x10070450]
inc esi
add esp, 0xc
add edi, 0x124
cmp esi, dword [eax + 0x110c]
jb 0x100060c4
push ebx
call fcn.1003c82b
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
Function at 0x10006110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10070450]
lea ecx, [eax + 0x154c]
push ecx
add eax, 0x113c
push eax
mov dword [0x10072e44], 1
call fcn.10005780
add esp, 8
test eax, eax
jne 0x10006140
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10070450]
push edi
push 0x40
add edx, 0x154c
push 0x10057f48
push edx
call fcn.1003c89f
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000617f
push 0x87e
call fcn.1000a040
push eax
push 0x10
call fcn.10010b30
add esp, 0xc
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 2
push 0
push edi
call fcn.1003d591
push edi
call fcn.1003d4a2
push 0
mov ebx, eax
push 0
push edi
mov dword [ebp - 4], ebx
call fcn.1003d591
add ebx, 0x40
and ebx, 0xffffffc0
push ebx
call fcn.1003baba
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x100061e9
push 0x880
call fcn.1000a040
push eax
push 0x10
call fcn.10010b30
push edi
call fcn.1003c82b
mov eax, dword [0x10070450]
add eax, 0x154c
push eax
call fcn.10004c80
add esp, 0x14
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0
push esi
call fcn.1003ae80
mov ebx, dword [ebp - 4]
push edi
push 1
push ebx
push esi
call fcn.1003d2f1
push edi
call fcn.1003c82b
mov ecx, dword [0x10070450]
add ecx, 0x154c
push ecx
call fcn.10004c80
push ebx
push esi
call fcn.100049e0
mov edx, dword [0x10070450]
add esp, 0x2c
push eax
add edx, 0x258c
push edx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov eax, dword [0x10070450]
lea ecx, [eax + 0x110c]
push ecx
add eax, 4
push esi
push eax
call fcn.10005c80
add esp, 0xc
push esi
test eax, eax
jne 0x10006292
call fcn.1003bb4e
push 0x10057f50
push 0
push 0xb
call fcn.10009dd0
add esp, 0x10
push 0xbb8
call dword [sym.imp.kernel32.dll_Sleep]
mov edx, dword [0x10070450]
add edx, 0x154c
push edx
call fcn.10004c80
add esp, 4
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
call fcn.1003bb4e
mov eax, dword [0x10070450]
add esp, 4
mov dword [eax + 0x1108], 0
call fcn.10005ee0
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10006880
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x40
push 0x10057f48
push ebx
call fcn.1003c89f
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100068a2
pop esi
pop ebx
pop ebp
ret
push edi
push 2
push 0
push esi
call fcn.1003d591
push esi
call fcn.1003d4a2
push 0
push 0
push esi
mov edi, eax
call fcn.1003d591
lea eax, [edi + 0x3f]
and eax, 0xffffffc0
push eax
call fcn.1003baba
add esp, 0x20
mov dword [0x10073ab8], eax
test eax, eax
je 0x10006924
push esi
push edi
push 1
push eax
call fcn.1003d2f1
push esi
call fcn.1003c82b
mov ecx, dword [0x10073ab8]
push edi
push ecx
call fcn.10027590
push 0x40
push 0x10057db0
push ebx
call fcn.1003c89f
mov esi, eax
xor ebx, ebx
add esp, 0x28
cmp esi, ebx
jne 0x1000692b
mov eax, dword [0x10073ab8]
cmp eax, ebx
je 0x10006924
push eax
call fcn.1003bb4e
add esp, 4
mov dword [0x10073ab8], ebx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [0x10073ab8]
push esi
push 1
push edi
push edx
call fcn.1003cde9
push esi
call fcn.1003c82b
mov eax, dword [0x10073ab8]
add esp, 0x14
cmp eax, ebx
je 0x1000695c
push eax
call fcn.1003bb4e
add esp, 4
mov dword [0x10073ab8], ebx
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x10007100
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call fcn.1000b850
mov eax, dword [0x10077fb0]
mov dword [eax + 0xa50], ebx
mov ecx, dword [0x10077fb0]
push 0x2a30
push ebx
mov byte [ecx + 0xa69], bl
push 0x10070458
mov dword [0x10070450], 0x10070458
call fcn.1003ae80
mov edx, dword [0x10070450]
mov dword [edx + 0x29ec], 1
mov eax, dword [0x10077fb0]
add esp, 0x10
add eax, 0x638
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov ecx, dword [0x10077fb0]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ecx + 0xa6c], ebx
mov edx, dword [0x10077fb0]
mov eax, dword [edx + 0xa6c]
mov ecx, dword [0x10070450]
push 0x10057ffc
push eax
push 0x10057ff4
add ecx, 0x113c
push 0x10057fe8
push ecx
call esi
mov edx, dword [0x10070450]
push 0x10057fe0
push 0x10057ff4
add edx, 0x154c
push 0x10057dc0
push edx
call esi
mov eax, dword [0x10070450]
push 0x10057fd8
push 0x10057ff4
add eax, 0x195c
push 0x10057dc0
push eax
call esi
mov esi, dword [0x10070450]
mov edi, dword [sym.imp.kernel32.dll_lstrlen]
add esp, 0x34
push 0x10067500
add esi, 0x8a8
call edi
cmp eax, ebx
jle 0x10007220
mov edx, 0x10067500
mov ecx, esi
sub edx, esi
mov esi, eax
mov al, byte [edx + ecx]
add al, 0x10
mov byte [ecx], al
inc ecx
dec esi
jne 0x10007215
mov esi, dword [0x10070450]
push 0x10067514
add esi, 0x29ac
call edi
cmp eax, ebx
jle 0x1000724d
mov edx, 0x10067514
mov ecx, esi
sub edx, esi
mov esi, eax
mov al, byte [edx + ecx]
add al, 0x10
mov byte [ecx], al
inc ecx
dec esi
jne 0x10007242
mov esi, dword [0x10070450]
push 0x10067528
add esi, 0x828
call edi
cmp eax, ebx
jle 0x1000727b
mov edx, 0x10067528
mov ecx, esi
sub edx, esi
mov esi, eax
nop
mov al, byte [edx + ecx]
add al, 0x10
mov byte [ecx], al
inc ecx
dec esi
jne 0x10007270
push 0x7f
lea ecx, [ebp - 0x83]
push ebx
push ecx
mov byte [ebp - 0x84], bl
call fcn.1003ae80
add esp, 0xc
push 0x10067530
call edi
pop edi
xor ecx, ecx
pop esi
cmp eax, ebx
pop ebx
jle 0x100072c5
jmp 0x100072b0
mov dl, byte [ecx + 0x10067530]
add dl, 0x10
mov byte [ebp + ecx - 0x84], dl
inc ecx
cmp ecx, eax
jl 0x100072b0
mov ecx, dword [0x10070450]
lea eax, [ebp - 0x84]
push eax
add ecx, 0x868
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov edx, dword [0x10070450]
mov ecx, dword [ebp - 4]
mov dword [edx], 0x66
mov eax, dword [0x10077fb0]
mov byte [eax + 0xa68], 1
xor ecx, ebp
mov eax, 1
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret