joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ceec0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x649e98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x20], ebx
lea edi, [esi + 0xc]
mov dword [esi], vtable.Sexy::DSoundInstance.0
mov dword [esi + 4], eax
mov byte [esi + 0x12], bl
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 8], ecx
mov dword [edi], ebx
fld qword [0x668940]
lea ebp, [esi + 0x30]
fst qword [esi + 0x18]
fstp qword [esi + 0x28]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp], 0xac44
je 0x5cefe1
mov eax, dword [eax + 0x3094]
mov edx, dword [eax]
push edi
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
cmp eax, ebx
je 0x5cefd6
cmp eax, 0x8878000a
jg 0x5cefa0
je 0x5cef8c
cmp eax, 0x8007000e
je 0x5cef78
cmp eax, 0x80070057
jne 0x5cefe8
push ebx
push 0x6843ec
push str.DSERR_INVALIDPARAM
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x5cefe8
push ebx
push 0x6843ec
push str.DSERR_OUTOFMEMORY
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x5cefe8
push ebx
push 0x6843ec
push str.DSERR_ALLOCATED
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x5cefe8
cmp eax, 0x88780032
je 0x5cefc2
cmp eax, 0x887800aa
jne 0x5cefe8
push ebx
push 0x6843ec
push str.DSERR_UNINITIALIZED
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x5cefe8
push ebx
push 0x6843ec
push str.DSERR_INVALIDCALL
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
jmp 0x5cefe8
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x20]
push ebp
push edi
call edx
mov eax, esi
call fcn.005cf080
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x5cf350
Capabilities:
Terminate process

Disassembly:
sub esp, 0x404
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [esp + 0x408], 0
mov eax, dword [esp + 0x40c]
jne 0x5cf3a3
push eax
lea eax, [esp + 4]
push str._s_function_not_found_in_bass.dll
push eax
call fcn.0062549e
add esp, 0xc
push 0x10
push str.Error
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0
call fcn.00625ad7
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00626d59
add esp, 0x404
ret
Function at 0x5d0d20
Capabilities:
Terminate process

Disassembly:
sub esp, 0x404
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [esp + 0x408], 0
mov eax, dword [esp + 0x40c]
jne 0x5d0d73
push eax
lea eax, [esp + 4]
push str._s_function_not_found_in_fmod.dll
push eax
call fcn.0062549e
add esp, 0xc
push 0x10
push str.Error
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0
call fcn.00625ad7
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00626d59
add esp, 0x404
ret
Function at 0x5d1140
Capabilities:
Terminate process

Disassembly:
push 0x6ba11c
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
cmp dword [0x6ba118], 0
jne 0x5d1198
push 0x80
call fcn.00624227
add esp, 4
test eax, eax
je 0x5d1170
push esi
mov esi, eax
call fcn.005d0d90
pop esi
jmp 0x5d1172
xor eax, eax
cmp dword [eax + 4], 0
mov dword [0x6ba118], eax
jne 0x5d1198
push 0x10
push str.Error
push str.Cant_find_fmod.dll.
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0
call fcn.00625ad7
ret
Function at 0x5d3510
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x6ba120], 0
jne 0x5d358d
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 4]
push str.gPakInterfaceP__d
push eax
call fcn.0062549e
add esp, 0xc
lea ecx, [esp]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x6ba120], eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [0x6ba124], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.00626d59
add esp, 0x104
ret
mov ecx, dword [esp + 0x100]
mov edx, dword [0x6ba124]
mov eax, dword [edx]
xor ecx, esp
call fcn.00626d59
add esp, 0x104
ret

Function at 0x5d36b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
call fcn.005d3510
test eax, eax
je 0x5d36d2
mov eax, dword [0x6ba124]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push edi
push ebx
push ebp
call eax
pop ebp
ret
mov ecx, dword [esi + 8]
push ecx
push edi
push ebx
push ebp
call fcn.00625156
add esp, 0x10
pop ebp
ret
Function at 0x5d7440
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x6ba128], 0
jne 0x5d74ee
push 0x208
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.0062e530
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
lea eax, [esp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5d7491
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 - 2], 0x5c
lea edx, [esp + eax*2]
je 0x5d74c3
mov eax, 0x6850e4
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5d74b2
jmp 0x5d74df
mov eax, str.j2k_codec.dll
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5d74d0
lea edx, [esp]
push edx
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [0x6ba128], eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00626d59
add esp, 0x210
ret
Function at 0x5d81d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
push edi
mov edi, eax
mov esi, edx
jne 0x5d81df
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x5d82c7
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x672048]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x5d81f0
pop ebp
test edi, edi
je 0x5d82ec
jmp 0x5d82d0
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x672048]
add ecx, 1
sub edi, 1
jne 0x5d82d0
mov eax, esi
pop edi
not eax
pop esi
ret
Function at 0x5dce20
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.00551a90
mov ecx, dword [esi + 0x640]
pop esi
jmp fcn.005b1550

Function at 0x5dd760
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x5dd960
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x18], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x14], 0
ret
Function at 0x5e21f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64c248
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.005e2700
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005e2190
lea ecx, [esp + 0xc]
call fcn.005e1a70
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5e2260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005e2410
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005e2190
lea ecx, [esp + 0xc]
call fcn.005e1a70
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5e22d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64c218
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
mov edi, esi
call fcn.005e28d0
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005e2190
lea ecx, [esp + 0xc]
call fcn.005e1a70
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5e23a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a588
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.005e29b0
mov edi, eax
mov dword [esp + 0x28], 0
call fcn.005e2190
lea ecx, [esp + 0xc]
call fcn.005e1a70
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x5e3060
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x5ec500
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x5ec529
call fcn.005fb050
cmp byte [esi + 0x40], 0
je 0x5ec522
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5ec5a5
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x5ec595
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x5ec54f
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x5ec591
cmp eax, 2
je 0x5ec595
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5ec540
cmp eax, 3
je 0x5ec577
cmp eax, 1
jne 0x5ec540
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x5ec540
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x5ec540
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.005ec5d0
pop esi
ret
cmp eax, 0xcc
je 0x5ec5c7
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.005ec5d0
pop esi
ret

Function at 0x5f1740
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, eax
xor eax, eax
test esi, esi
je 0x5f1795
push ebp
push edi
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
add edx, dword [ecx]
cmp ebx, edi
jge 0x5f1760
mov edi, ebx
xor ecx, ecx
test edi, edi
jle 0x5f1786
movzx ebx, byte [ecx + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x6ac368]
add ecx, 1
cmp ecx, edi
jl 0x5f1766
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
sub ebx, ecx
test esi, esi
mov dword [esp + 0x14], ebx
jne 0x5f1750
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x600060
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x600087
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x600093
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x60019f
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x6000dc
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x6000fd
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
add ebp, 0xffffffff
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.005ffed0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x600132
lea esp, [esp]
add ebx, 1
mov ecx, ebp
mov eax, ebx
call fcn.005ffed0
mov ecx, eax
cmp esi, ecx
jg 0x600120
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
add esi, 1
cmp esi, 0xff
jle 0x600115
cmp dword [esp + 0x10], 0
je 0x600180
mov eax, 1
lea ecx, [edi - 1]
jmp 0x600160
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
add eax, 1
sub ecx, 1
cmp eax, 0xff
jle 0x600160
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x6000d0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x624eba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x624ef7
cmp dword [ebp + 0x14], edi
je 0x624ef7
cmp ecx, edi
jne 0x624efe
call fcn.0062970f
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0062470b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x624f12
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x624f33
cmp ebx, 0xffffffff
je 0x624f22
push ebx
push edi
push ecx
call fcn.0062e530
add esp, 0xc
cmp esi, edi
je 0x624edf
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x624edf
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x624f4f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x624f56
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x625047
test word [esi + 0xc], 0x10c
je 0x624faa
mov eax, dword [esi + 4]
test eax, eax
je 0x624faa
jl 0x6250a8
cmp ebx, eax
mov edi, ebx
jb 0x624f7b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x62504f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00624151
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x62503f
cmp ebx, dword [ebp - 0xc]
jb 0x625017
cmp dword [ebp - 0xc], 0
je 0x624fd4
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x624fc9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x624fd0
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x624fdf
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x624fdf
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x62507b
push eax
push dword [ebp - 8]
push esi
call fcn.0063326c
pop ecx
push eax
call fcn.006339a6
add esp, 0xc
test eax, eax
je 0x6250ba
cmp eax, 0xffffffff
je 0x6250a8
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x62503f
push esi
call fcn.006332c5
cmp eax, 0xffffffff
pop ecx
je 0x6250ac
cmp dword [ebp - 4], 0
je 0x62507b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x624f5e
mov eax, dword [ebp + 0x14]
jmp 0x624ef9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x625066
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0062e530
add esp, 0xc
call fcn.0062970f
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x624eef
cmp dword [ebp + 0xc], 0xffffffff
je 0x625091
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0062e530
add esp, 0xc
call fcn.0062970f
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x624eef
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x624ef9
or dword [esi + 0xc], 0x10
jmp 0x6250ac
Function at 0x626d59
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6a9fa4]
jne 0x626d63
repz ret
jmp fcn.00637cc5
Function at 0x635183
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x6aa830]
je 0x63519e
inc edi
cmp edi, 0x17
jb 0x63518f
cmp edi, 0x17
jae 0x63531e
push ebp
push 3
call fcn.0063f1da
cmp eax, 1
pop ecx
je 0x6352ea
push 3
call fcn.0063f1da
test eax, eax
pop ecx
jne 0x6351d2
cmp dword [0x6a9b60], 1
je 0x6352ea
cmp ebx, 0xfc
je 0x63531d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x6b6888
push ebp
call fcn.00630908
add esp, 0xc
test eax, eax
je 0x635208
push esi
push esi
push esi
push esi
push esi
call fcn.0062460f
add esp, 0x14
push 0x104
mov esi, 0x6b68a1
push esi
push 0
mov byte [0x6b69a5], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x63524c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00630908
add esp, 0xc
test eax, eax
je 0x63524c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0062460f
add esp, 0x14
push esi
call fcn.00629c40
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x635291
push esi
call fcn.00629c40
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x6b6b9c
push 0x65f194
sub ecx, eax
push ecx
push eax
call fcn.0063b10e
add esp, 0x14
test eax, eax
je 0x635291
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0062460f
add esp, 0x14
jmp 0x635293
xor esi, esi
push 0x65f190
push ebx
push ebp
call fcn.0063b09d
add esp, 0xc
test eax, eax
je 0x6352b3
push esi
push esi
push esi
push esi
push esi
call fcn.0062460f
add esp, 0x14
push dword [edi*8 + 0x6aa834]
push ebx
push ebp
call fcn.0063b09d
add esp, 0xc
test eax, eax
je 0x6352d5
push esi
push esi
push esi
push esi
push esi
call fcn.0062460f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0063f01d
add esp, 0xc
jmp 0x63531d
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x63531d
cmp ebp, 0xffffffff
je 0x63531d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x6aa834]
push dword [esi]
call fcn.00629c40
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.kernel32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x63f01d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00630cf4
xor ebx, ebx
cmp dword [0x6b7268], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x63f0f3
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x63f1d3
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x63f1d3
push eax
call fcn.00630c86
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6b7268], eax
call esi
push eax
call fcn.00630c86
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6b726c], eax
call esi
push eax
call fcn.00630c86
mov dword [0x6b7270], eax
lea eax, [ebp - 0xc]
push eax
call fcn.006258f0
test eax, eax
pop ecx
pop ecx
je 0x63f0c1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0062460f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x63f0f3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00630c86
cmp eax, ebx
pop ecx
mov dword [0x6b7278], eax
je 0x63f0f3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00630c86
pop ecx
mov dword [0x6b7274], eax
mov eax, dword [0x6b7274]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x63f178
cmp dword [0x6b7278], ecx
je 0x63f178
push eax
call fcn.00630cfd
push dword [0x6b7278]
mov esi, eax
call fcn.00630cfd
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x63f178
cmp edi, ebx
je 0x63f178
call esi
cmp eax, ebx
je 0x63f145
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x63f145
test byte [ebp - 0x18], 1
jne 0x63f178
lea eax, [ebp - 0x10]
push eax
call fcn.00625927
test eax, eax
pop ecx
je 0x63f160
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0062460f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x63f16f
or dword [ebp + 0x10], 0x200000
jmp 0x63f1b3
or dword [ebp + 0x10], 0x40000
jmp 0x63f1b3
mov eax, dword [0x6b726c]
cmp eax, dword [ebp - 8]
je 0x63f1b3
push eax
call fcn.00630cfd
cmp eax, ebx
pop ecx
je 0x63f1b3
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x63f1b3
mov eax, dword [0x6b7270]
cmp eax, dword [ebp - 8]
je 0x63f1b3
push eax
call fcn.00630cfd
cmp eax, ebx
pop ecx
je 0x63f1b3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6b7268]
call fcn.00630cfd
cmp eax, ebx
pop ecx
je 0x63f1d3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x63f1d5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret