joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4834fd
Capabilities:
Get disk information

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
shr eax, 2
mov cl, 0x43
je 0x48351e
test al, 1
je 0x483516
shr eax, 1
inc cl
test eax, eax
jne 0x48350a
cmp cl, 0x5a
jle 0x48351e
xor al, al
ret
mov al, cl
ret

Function at 0x48563a
Capabilities:
Get disk information

Disassembly:
push 0x24
mov eax, 0x5fce03
call fcn.00579aba
mov edi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00485087
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x48572d
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 1
call dword [eax + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00483f6b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041bae4
cmp dword [ebp - 0x14], ebx
je 0x485722
cmp byte [ebp + 0xc], bl
jne 0x4856be
mov ecx, dword [ebp - 0x14]
call fcn.00525075
test al, al
jne 0x4856e4
mov ecx, edi
call fcn.004834fd
cmp al, bl
mov byte [ebp + 0xc], al
je 0x485722
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00483521
test al, al
jne 0x48570a
mov dword [ebp - 0x2c], 0x2b
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x30], ebx
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp + 0xf], bl
jmp 0x4856e8
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00483c1f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041f747
mov al, byte [ebp + 0xf]
call fcn.00579b92
ret 8
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
call fcn.00525ae8
test al, al
jne 0x4856e4
mov dword [ebp - 0x2c], 0x2c
jmp 0x4856d3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00483c1f
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x2d
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp + 0xf], bl
jmp 0x4856f3

Function at 0x4864e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0x1c], 0
mov dword [ebp - 4], ecx
jne 0x48654d
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x48654d
cmp dword [ecx + 0x144], eax
jbe 0x48654d
push ebx
push edi
push 0
xor bl, bl
call fcn.00485549
mov edi, eax
test edi, edi
je 0x48654b
push esi
push edi
mov esi, 0x200
push esi
push 1
push dword [ebp + 0x18]
call fcn.00582d99
add esp, 0x10
cmp eax, esi
jne 0x486529
inc bl
push edi
call fcn.0057ee57
test bl, bl
pop ecx
je 0x48654a
and dword [ebp + 0xc], 0
add dword [ebp + 0x10], 0xffffffff
mov dword [ebp + 8], 1
adc dword [ebp + 0x14], 0xffffffff
add dword [ebp + 0x18], esi
pop esi
pop edi
pop ebx
xor eax, eax
cmp dword [ebp + 0x14], eax
jl 0x48657c
jg 0x48655b
cmp dword [ebp + 0x10], eax
jbe 0x48657c
push eax
push dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax + 0x108]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00527a39
leave
ret 0x18
Function at 0x486580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp byte [ebp + 0x1c], bl
mov dword [ebp - 8], ecx
jne 0x4865f1
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x4865f1
cmp dword [ecx + 0x144], ebx
jbe 0x4865f1
push edi
push 1
mov byte [ebp - 1], bl
call fcn.00485549
mov edi, eax
cmp edi, ebx
je 0x4865f0
push esi
push edi
mov esi, 0x200
push esi
push 1
push dword [ebp + 0x18]
call fcn.0057e988
add esp, 0x10
cmp eax, esi
jne 0x4865ce
mov byte [ebp - 1], 1
push edi
call fcn.0057ee57
cmp byte [ebp - 1], bl
pop ecx
je 0x4865ef
add dword [ebp + 0x10], 0xffffffff
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], ebx
adc dword [ebp + 0x14], 0xffffffff
add dword [ebp + 0x18], esi
pop esi
pop edi
cmp dword [ebp + 0x14], ebx
jl 0x486620
jg 0x4865fd
cmp dword [ebp + 0x10], ebx
jbe 0x486620
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x108]
push ebx
push ebx
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052788e
pop ebx
leave
ret 0x18
Function at 0x486a30
Capabilities:
Get disk information

Disassembly:
push 0x58
mov eax, 0x5fd062
call fcn.00579b23
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov al, byte [ebp + 8]
add al, 0x41
push 0x6a8148
mov dword [ebp - 4], ebx
mov byte [ebp - 0x38], al
mov byte [0x6a8148], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x486a80
cmp eax, 2
je 0x486a80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041bae4
xor al, al
call fcn.00579ba6
ret
call fcn.0056c51e
test al, al
je 0x486a9d
push dword [ebp - 0x38]
call fcn.005290e3
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00484ca5
jmp 0x486afa
mov al, byte [ebp - 0x38]
push str..x:
lea ecx, [ebp - 0x64]
mov byte [0x6a8144], al
call fcn.00414b61
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0048445d
mov ecx, eax
call fcn.004854e7
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00415386
lea eax, [ebp - 0x2c]
push eax
call fcn.005276f4
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00484ca5
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00418fcc
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x486a6c
lea eax, [ebp - 0x48]
push eax
call fcn.005209b4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0048384a
test eax, eax
lea ecx, [ebp - 0x48]
jne 0x486b2b
call fcn.004866de
jmp 0x486a6c
push ebx
call fcn.00483860
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x38]
test al, al
jne 0x486b57
lea ecx, [ebp - 0x48]
call fcn.004866de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041bae4
mov al, bl
jmp 0x486a7a
push ebx
lea ecx, [ebp - 0x48]
mov byte [esi + 1], 0x10
mov byte [esi + 2], bl
call fcn.00483860
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x3c]
push ebx
lea ecx, [ebp - 0x48]
mov byte [esi + 3], al
mov dword [esi + 4], ebx
call fcn.00483860
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov bl, 1
jmp 0x486b3c
Function at 0x524a90
Capabilities:
Get disk information

Disassembly:
push 0x14
mov eax, 0x60ff17
call fcn.00579aba
mov esi, ecx
push str.doUnlock
push dword [0x6ce8f0]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.0056862d
cmp dword [esi + 0x90], 2
mov dword [ebp - 4], ebx
jne 0x524ad3
cmp dword [ebp + 8], 2
jge 0x524ad3
xor edi, edi
inc edi
mov dword [esi + 0x90], edi
jmp 0x524ad6
xor edi, edi
inc edi
cmp dword [esi + 0x90], edi
jne 0x524b9e
cmp dword [ebp + 8], edi
jge 0x524b9e
cmp byte [esi + 0xac], bl
jne 0x524b40
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
lea eax, [ebp - 0x20]
push eax
call fcn.00573bc3
lea ecx, [ebp - 0x20]
call fcn.00522f00
cmp byte [esi + 0xac], bl
jne 0x524b40
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
lea eax, [ebp - 0x20]
push eax
call fcn.00573bc3
cmp dword [eax], ebx
mov dword [ebp - 0x10], edi
mov byte [ebp + 0xb], 1
jne 0x524b43
mov byte [ebp + 0xb], bl
test byte [ebp - 0x10], 1
je 0x524b51
lea ecx, [ebp - 0x20]
call fcn.00522f00
cmp byte [ebp + 0xb], bl
je 0x524b68
lea ecx, [ebp - 0x18]
call fcn.005672a3
mov al, bl
call fcn.00579b92
ret 4
lea edi, [esi + 0x40]
mov ecx, edi
mov dword [esi + 0x90], ebx
mov byte [esi + 0xac], bl
call fcn.0052357c
mov dword [edi], ebx
mov dword [edi + 4], ebx
push 0x14
mov byte [esi + 0x48], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 1
push ebx
mov ecx, esi
call fcn.00524544
mov bl, 1
jmp 0x524b56
Function at 0x54c941
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x16c
mov eax, dword [0x6d25dc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x44]
call fcn.005aa288
push 0xa9
push esi
lea ecx, [ebp - 0x44]
call fcn.005aa296
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x44]
call fcn.005aa2aa
push 0x10
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x24]
xor ebx, ebx
push eax
mov byte [ebp + 0x54], 0x5b
mov byte [ebp + 0x55], 0x4d
mov byte [ebp + 0x56], 0xe9
mov byte [ebp + 0x57], 0xc1
mov byte [ebp + 0x58], 0x56
mov byte [ebp + 0x59], 0x7b
mov byte [ebp + 0x5a], 0xa2
mov byte [ebp + 0x5b], 0x94
mov byte [ebp + 0x5c], bl
mov byte [ebp + 0x5d], 0xa
mov byte [ebp + 0x5e], 0x6f
mov byte [ebp + 0x5f], 0x8c
mov byte [ebp + 0x60], 0xf7
mov byte [ebp + 0x61], 0x91
mov byte [ebp + 0x62], 0xb1
mov byte [ebp + 0x63], 0xaf
call fcn.0057c27c
add esp, 0xc
test eax, eax
jne 0x54c9da
cmp byte [esi + 0xda], bl
jne 0x54c9d3
cmp byte [esi + 0xdb], bl
jne 0x54c9d3
inc eax
jmp 0x54cb00
xor eax, eax
jmp 0x54cb00
push edi
lea ecx, [ebp - 0x9c]
call fcn.005aa288
mov edi, 0xda
push edi
push esi
lea ecx, [ebp - 0x9c]
call fcn.005aa296
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x9c]
call fcn.005aa2aa
push 0x10
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x34]
push eax
mov byte [ebp + 0x64], 0x6d
mov byte [ebp + 0x65], 0xde
mov byte [ebp + 0x66], 0x16
mov byte [ebp + 0x67], 0x6a
mov byte [ebp + 0x68], bl
mov byte [ebp + 0x69], 0xed
mov byte [ebp + 0x6a], 0x7f
mov byte [ebp + 0x6b], 0xfb
mov byte [ebp + 0x6c], 0x13
mov byte [ebp + 0x6d], 0x54
mov byte [ebp + 0x6e], 0x1e
mov byte [ebp + 0x6f], 0xcd
mov byte [ebp + 0x70], 9
mov byte [ebp + 0x71], 0xd4
mov byte [ebp + 0x72], 0xd7
mov byte [ebp + 0x73], 0x37
call fcn.0057c27c
add esp, 0xc
test eax, eax
jne 0x54ca7c
cmp byte [esi + 0xda], bl
jne 0x54cb11
cmp byte [esi + 0xdb], bl
jne 0x54cb11
xor eax, eax
inc eax
jmp 0x54caff
lea ecx, [ebp - 0xf4]
call fcn.005aa288
push edi
push esi
lea ecx, [ebp - 0xf4]
call fcn.005aa296
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0xf4]
call fcn.005aa2aa
push 0x10
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x14]
push eax
mov byte [ebp + 0x44], 0xbe
mov byte [ebp + 0x45], 0x5a
mov byte [ebp + 0x46], 0x64
mov byte [ebp + 0x47], 0xba
mov byte [ebp + 0x48], 0xa2
mov byte [ebp + 0x49], 0x73
mov byte [ebp + 0x4a], 0x44
mov byte [ebp + 0x4b], 0x60
mov byte [ebp + 0x4c], 0xc9
mov byte [ebp + 0x4d], 0x3f
mov byte [ebp + 0x4e], 0x32
mov byte [ebp + 0x4f], 0xb4
mov byte [ebp + 0x50], 0x28
mov byte [ebp + 0x51], 0x9d
mov byte [ebp + 0x52], 0xfa
mov byte [ebp + 0x53], 0x3f
call fcn.0057c27c
add esp, 0xc
test eax, eax
je 0x54ca5c
xor al, al
pop edi
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.00579aab
add ebp, 0x78
leave
ret
xor eax, eax
jmp 0x54caff
Function at 0x564eb5
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.005648bc
test eax, eax
je 0x564ec9
push eax
mov ecx, esi
call fcn.005645a4
mov eax, dword [esi]
push str.Program_terminated_due_to_an_unknown_exception.
mov ecx, esi
call dword [eax + 0x14]
push eax
call fcn.00428051
push eax
call fcn.0042841f
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x14]
push eax
call fcn.00564cb4
pop ecx
mov ecx, 0x6e8660
call fcn.00414634
push 1
call fcn.00583723
pop esi

Function at 0x56b236
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.DBGHELP.DLL
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi], eax
je 0x56b368
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymCleanup
push eax
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x56b367
push str.StackWalk64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x56b367
push str.SymFunctionTableAccess64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x56b367
push str.SymGetModuleBase64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x56b367
push str.SymGetLineFromAddr64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x56b367
push str.SymLoadModule64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x2c], eax
je 0x56b367
push ebx
push str.SymSetOptions
push dword [esi]
call edi
mov ebx, eax
test ebx, ebx
je 0x56b366
push ebp
push str.SymInitialize
push dword [esi]
call edi
mov ebp, eax
test ebp, ebp
je 0x56b365
push str.SymFromAddr
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x14], eax
jne 0x56b310
push str.SymGetSymFromAddr64
push dword [esi]
call edi
mov dword [esi + 0x24], eax
push str.SymSetContext
push dword [esi]
call edi
push str.SymEnumSymbols
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.SymGetTypeInfo
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.SymEnumerateModules64
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.SymUnloadModule64
push dword [esi]
mov dword [esi + 0x34], eax
call edi
push 0x16
mov dword [esi + 0x38], eax
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x56b365
mov byte [esi + 4], 1
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret
Function at 0x56b4ee
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, dword [ebp + 8]
push 0x1c
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x56b510
xor al, al
jmp 0x56b5aa
mov eax, dword [ebp - 0x20]
cdq
push ebx
push esi
mov ebx, edx
mov esi, eax
or eax, ebx
je 0x56b5a6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x56b5a6
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov eax, dword [esi + 0x3c]
add eax, esi
movzx ecx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
mov ecx, dword [ebp + 0xc]
sub edi, esi
sbb ecx, ebx
movzx ebx, word [eax + 6]
and dword [ebp + 0xc], 0
test bx, bx
jbe 0x56b5a6
add edx, 0x10
mov eax, dword [edx - 4]
mov esi, dword [edx - 8]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov eax, dword [edx]
cmp eax, esi
jbe 0x56b57c
mov esi, eax
cmp ecx, dword [ebp - 4]
jb 0x56b59a
ja 0x56b588
cmp edi, dword [ebp - 8]
jb 0x56b59a
xor eax, eax
add esi, dword [ebp - 8]
adc eax, dword [ebp - 4]
cmp ecx, eax
jb 0x56b5ad
ja 0x56b59a
cmp edi, esi
jb 0x56b5ad
inc dword [ebp + 0xc]
add edx, 0x28
cmp word [ebp + 0xc], bx
jb 0x56b567
xor al, al
pop esi
pop ebx
pop edi
leave
ret
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
inc eax
sub edi, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp + 0x1c]
sbb ecx, dword [ebp - 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov al, 1
jmp 0x56b5a8
Function at 0x56d0c8
Capabilities:
Get disk information

Disassembly:
push 0x1c
push 0x690460
call fcn.00583c70
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x56d10a
mov dword [ebp - 4], esi
push esi
push esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_RaiseException]
push str.DUMPNAME
call fcn.0057ffb9
pop ecx
mov edi, eax
cmp edi, esi
jne 0x56d129
mov edi, dword [0x64a304]
cmp edi, esi
je 0x56d215
mov al, byte [ebp + 0xc]
neg al
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
call fcn.0056c942
cmp byte [edi + 1], 0x3a
jne 0x56d153
mov dword [ebp - 0x20], 0x5c3a58
mov al, byte [edi]
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x20]
push eax
jmp 0x56d154
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
jne 0x56d162
mov dword [ebp - 0x1c], esi
push str.DUMPTYPE
call fcn.0057ffb9
pop ecx
mov ebx, eax
cmp ebx, esi
je 0x56d1a5
push str.NORMAL
push ebx
call fcn.00583f9e
pop ecx
pop ecx
test eax, eax
jne 0x56d189
mov dword [ebp - 0x1c], esi
jmp 0x56d1a5
cmp ebx, esi
je 0x56d1a5
push str.FULL
push ebx
call fcn.00583f9e
pop ecx
pop ecx
test eax, eax
jne 0x56d1a5
mov dword [ebp - 0x1c], 2
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, esi
je 0x56d215
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
je 0x56d20e
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x56d20e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00583cb5
ret
Function at 0x56e3bb
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov al, byte [esi + 0x1d]
push edi
xor ebp, ebp
xor edi, edi
cmp bl, 0x13
mov cl, al
mov byte [esp + 0x18], cl
je 0x56e418
cmp bl, 0x21
jne 0x56e483
cmp al, 0x3d
je 0x56e405
cmp al, 0x44
jne 0x56e483
movzx eax, byte [esi + 0x1c]
dec eax
dec eax
jne 0x56e483
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
jmp 0x56e479
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.0056f6ea
mov edi, eax
jmp 0x56e481
cmp cl, 2
jb 0x56e483
cmp cl, 3
jbe 0x56e470
cmp cl, 0x41
jbe 0x56e483
cmp cl, 0x44
jbe 0x56e44d
cmp cl, 0x48
je 0x56e44d
cmp cl, 0x50
je 0x56e442
cmp cl, 0xff
jne 0x56e483
mov edi, 0x6e5f48
jmp 0x56e483
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x22]
jmp 0x56e40e
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.0056f6ea
mov edi, eax
mov al, byte [esi + 0x1d]
cmp al, 0x42
pop ecx
pop ecx
je 0x56e46b
cmp al, 0x43
jne 0x56e483
mov ebp, dword [edi + 4]
jmp 0x56e483
movzx eax, word [esi + 0x10]
push eax
movzx eax, word [esi + 0x22]
push eax
call fcn.0056f6ea
mov ebp, eax
pop ecx
pop ecx
push edi
push ebp
xor eax, eax
push esi
push ebx
mov word [esi + 0x30], ax
mov word [esi + 0x2e], ax
mov word [esi + 0x20], ax
call sub.Int86_32.dll__W32Int86_16
cmp bl, 0x13
jne 0x56e4bb
cmp byte [esp + 0x18], 0xff
jne 0x56e4bb
lea eax, [esi + 0x10]
push eax
add esi, 0x22
push esi
push 0x6e5f48
call fcn.0056f6fd
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x57193a
Capabilities:
Get file size

Disassembly:
push 0x5c
mov eax, 0x619acb
call fcn.00579aba
mov edi, ecx
push str.getLength
push dword [0x6d1f88]
lea ecx, [ebp - 0x18]
call fcn.0056862d
and dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call esi
test eax, eax
je 0x5719e4
push 8
call fcn.00401012
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x5719a4
call esi
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0056df09
jmp 0x5719a6
xor eax, eax
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0052319d
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], str...Win32File.cpp
mov dword [ebp - 0x1c], 0x29b
call fcn.005c25a2
push 0x690ea8
lea eax, [ebp - 0x68]
push eax
call fcn.00579606
mov esi, dword [ebp - 0x14]
xor edi, edi
or edi, dword [ebp - 0x10]
xor eax, eax
lea ecx, [ebp - 0x18]
or esi, eax
call fcn.005672a3
mov eax, edi
mov edx, esi
call fcn.00579b92
ret
Function at 0x573047
Capabilities:
Read file on windows

Disassembly:
push 0xc
mov eax, 0x619e79
call fcn.00579aba
mov edi, ecx
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 0x10], ebx
jne 0x5730a7
push 8
call fcn.00401012
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
xor esi, esi
inc esi
cmp ecx, ebx
mov dword [ebp - 4], esi
je 0x573082
push 0xa0
call fcn.0056df09
jmp 0x573084
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0057125c
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00522ee7
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
jmp 0x573192
mov esi, 0x6e8660
push str.KeepAliveManager
mov ecx, esi
call fcn.004146c5
test eax, eax
je 0x5730ca
mov ecx, esi
call fcn.00414762
mov ecx, eax
call fcn.005aa64f
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0057300b
mov esi, dword [ebp + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.005715cf
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00570faf
push dword [ebp + 0x10]
mov eax, dword [edi + 0x20]
push dword [ebp + 0xc]
mov ecx, dword [esi]
push eax
call fcn.00574968
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi]
mov edi, dword [edi + 0x20]
call fcn.00574996
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
cmp eax, ebx
mov dword [ebp - 4], 3
jne 0x573170
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x57317c
push 8
call fcn.00401012
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x573161
push edi
call fcn.0056df09
jmp 0x573163
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0057150f
mov ecx, esi
call fcn.00570faf
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00522ee7
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], 1
lea ecx, [ebp + 0xc]
call fcn.00522f00
mov eax, dword [ebp + 8]
call fcn.00579b92
ret 0x1c
Function at 0x5731a5
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x619ec7
call fcn.00579aba
mov edi, ecx
mov esi, 0x6e8660
xor ebx, ebx
push str.KeepAliveManager
mov ecx, esi
mov dword [ebp - 0x10], ebx
call fcn.004146c5
test eax, eax
je 0x5731db
mov ecx, esi
call fcn.00414762
mov ecx, eax
call fcn.005aa64f
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0057300b
mov esi, dword [ebp + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.005715cf
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00570faf
push dword [ebp + 0x10]
mov eax, dword [edi + 0x20]
push dword [ebp + 0xc]
mov ecx, dword [esi]
push eax
call fcn.00574968
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi]
mov edi, dword [edi + 0x20]
call fcn.00574996
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
cmp eax, ebx
mov dword [ebp - 4], 2
jne 0x57328f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x573263
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00522ee7
jmp 0x5732a7
push 8
call fcn.00401012
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x573280
push edi
call fcn.0056df09
jmp 0x573282
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0057150f
mov ecx, esi
call fcn.00570faf
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00522ee7
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], bl
call fcn.00522f00
mov eax, dword [ebp + 8]
call fcn.00579b92
ret 0x1c