joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61598a
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x20], 2
je 0x6159fd
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
push edi
mov edi, dword [esi + 0x778]
push 0
call ebx
cmp dword [edi], eax
je 0x6159fb
mov eax, dword [esi + 4]
push 8
push edi
push 0xd
push 0
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x6159ef
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.005a6cc1
push eax
push str.gh_setsockopt
push str...RMLStack.cpp:3058
push str._s:__s_failed:__s_n
push 0x1e
call fcn.005a6bee
add esp, 0x18
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
call ebx
mov ecx, dword [esi + 0x778]
mov dword [ecx], eax
pop edi
pop ebx
pop esi
ret

Function at 0x615d56
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp byte [esi + 0x15], bl
push edi
je 0x615d8f
push ebx
push ebx
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x615e94
or eax, 0xffffffff
jmp 0x615e96
cmp byte [esi + 0x6bc], bl
jne 0x615d9e
push esi
call fcn.00615aa6
pop ecx
cmp dword [esi + 0x6b8], ebx
mov dword [ebp - 4], ebx
jle 0x615e94
mov edi, dword [sym.imp.WS2_32.dll_WSASendTo]
mov dword [ebp + 8], ebx
mov eax, dword [esi + 0x6c0]
mov ecx, dword [ebp + 8]
add eax, ecx
cmp dword [eax], ebx
jne 0x615e58
cmp dword [eax + 0x14], ebx
je 0x615e58
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call fcn.006180a0
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x615e58
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.005a6cc1
push eax
push str.ws2SetMulticastInterface
push str...RMLStack.cpp:3301
push str._s:__s_failed:__s_n
push 0x1e
call fcn.005a6bee
add esp, 0x18
jmp 0x615e58
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x615d87
push str.switching_to_unbuffered_sends_n
push 0x1e
call fcn.005a6bee
mov eax, dword [esi + 4]
pop ecx
pop ecx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 0x1001
push 0xffff
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x615d87
mov eax, dword [esi + 0x6c0]
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0x10
lea eax, [ecx + eax + 4]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call edi
cmp eax, 0xffffffff
je 0x615e13
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp + 8], 0x18
cmp eax, dword [esi + 0x6b8]
jl 0x615db6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x61666a
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [esi + 0x4c]
lea eax, [edi + 0x10]
mov edx, esi
call fcn.0061661d
test al, al
je 0x61682d
cmp dword [0x829438], 0
jne 0x6166a1
push esi
call fcn.0061598a
pop ecx
cmp byte [edi + 0x28], 0
jne 0x6166cc
push 0x10
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00646470
push dword [ebp - 0x10]
push esi
call fcn.0061591f
add esp, 0x14
cmp eax, 0xffffffff
jne 0x6166cc
or eax, 0xffffffff
jmp 0x61682f
xor ebx, ebx
inc ebx
cmp byte [edi + 0x28], bl
jne 0x616737
push str.Setting_UDP_Socket_to_accept_broadcasts_n
push 0x14
call fcn.005a6bee
mov eax, dword [esi + 4]
pop ecx
pop ecx
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x20
push 0xffff
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x616737
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
push ecx
call fcn.00613bfc
push ecx
call fcn.005a6cc1
push eax
push str.gh_setsockopt
push str...RMLStack.cpp:4044
push str._s:__s_failed:__s_n
push 0x32
call fcn.005a6bee
push esi
call fcn.0061618d
add esp, 0x20
jmp 0x6166c4
push dword [esi + 0x44]
mov dword [esi + 0x654], ebx
mov dword [esi + 0x658], ebx
mov dword [esi + 0x65c], ebx
mov dword [esi + 0x660], ebx
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [esi + 0x644]
mov dword [esi + 0x664], eax
jbe 0x616798
push eax
push esi
call fcn.0061515b
test al, al
pop ecx
pop ecx
jne 0x616798
push 0x2747
call fcn.00613bfc
mov dword [esp], str...RMLStack.cpp:4063
push str._s:_malloc_failed_n
push 0x32
call fcn.005a6bee
add esp, 0xc
jmp 0x6166c4
test byte [esi + 0x48], 0x10
mov eax, dword [esi + 0x614]
mov dword [esi + 0x620], ebx
mov dword [esi + 0x624], eax
mov dword [esi + 0x628], 0xb2f
mov byte [ebp - 0x18], 2
je 0x6167c5
mov dword [esi + 0x20], ebx
mov byte [ebp - 0x18], 0x42
mov ecx, dword [edi + 0x20]
push 4
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [esi + 0x754]
push ecx
push dword [ebp - 0x18]
push eax
push ebx
push dword [esi + 0x658]
push esi
call fcn.00614c6b
add esp, 0x20
cmp eax, 0xffffffff
jne 0x616804
push 0
push esi
call fcn.006149d4
and dword [esi + 0x20], 0
pop ecx
pop ecx
jmp 0x6166c4
push 4
push esi
call fcn.006149d4
pop ecx
pop ecx
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 0x778]
mov dword [ecx + 8], eax
and dword [esi + 0x6f4], 0
mov byte [esi + 0x6d6], bl
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00644f58
leave
ret
Function at 0x616c26
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.006142b5
mov edi, dword [ebp - 0xc]
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 1], 1
mov ebx, 0x597
cmp dword [ebp - 8], ebx
jae 0x616c80
cmp dword [ebp - 8], 0
jbe 0x616df9
cmp byte [esi + 0x748], 0
je 0x616c6b
cmp byte [esi + 0x749], 0
je 0x616c7d
mov eax, dword [esi + 0x654]
cmp eax, dword [esi + 0x658]
jne 0x616df9
mov ebx, dword [ebp - 8]
cmp dword [esi + 0x20], 0
jne 0x616ca2
cmp byte [esi + 0x748], 0
je 0x616d49
lea eax, [ebx + edi]
cmp eax, dword [esi + 0x64c]
jne 0x616d49
lea eax, [ebp - 1]
push eax
push edi
mov eax, esi
call fcn.00615e9b
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x616df4
cmp byte [ebp - 1], 0
je 0x616df9
cmp byte [esi + 0x694], 0
mov byte [esi + 0x6c4], 0
mov byte [esi + 0x6c5], 0
je 0x616d06
mov eax, edi
sub eax, dword [esi + 0x65c]
jns 0x616d06
push dword [esi + 0x69c]
inc dword [esi + 0x698]
push str.Timing_of__lu_abandoned_n
push 0xa
mov byte [esi + 0x694], 0
call fcn.005a6bee
add esp, 0xc
cmp byte [esi + 0x678], 0
jne 0x616d49
cmp byte [esi + 0x694], 0
jne 0x616d49
cmp edi, dword [esi + 0x65c]
jne 0x616d49
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push str.Timing_of__lu_commenced_n
push 0xa
mov dword [esi + 0x6a0], eax
mov dword [esi + 0x69c], edi
mov byte [esi + 0x694], 1
call fcn.005a6bee
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x616df9
sub dword [ebp - 8], ebx
add edi, ebx
cmp byte [esi + 0x678], 0
jne 0x616d88
lea eax, [esi + 0x658]
add dword [eax], ebx
mov eax, dword [eax]
sub eax, dword [esi + 0x65c]
test eax, eax
jle 0x616d7c
mov eax, esi
call fcn.006162f2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6f0], eax
mov eax, edi
sub eax, dword [esi + 0x660]
test eax, eax
jle 0x616d9a
mov dword [esi + 0x660], edi
lea eax, [esi + 0x749]
cmp byte [eax], 0
mov byte [esi + 0x678], 0
mov byte [esi + 0x680], 0
jne 0x616c45
cmp byte [esi + 0x748], 0
je 0x616c45
mov ecx, dword [esi + 0x660]
cmp ecx, dword [esi + 0x64c]
jne 0x616c45
cmp dword [esi + 0x654], ecx
mov byte [eax], 1
jne 0x616de8
mov byte [esi + 0x74a], 1
mov eax, esi
call fcn.00614b40
jmp 0x616c45
or eax, 0xffffffff
jmp 0x616dfb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x617b31
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 8], ebx
jbe 0x617b73
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + ebx*4]
call fcn.006179fb
test eax, eax
je 0x617b68
cmp dword [ebp - 8], 0
jne 0x617b63
mov dword [ebp - 8], eax
jmp 0x617b68
cmp eax, dword [ebp - 8]
jne 0x617b9f
inc ebx
cmp ebx, esi
jb 0x617b49
cmp dword [ebp - 8], 0
jne 0x617b83
cmp byte [0x829540], 0
je 0x617bc9
mov dword [ebp - 8], 0x829540
push 0
push dword [ebp - 8]
call fcn.00617633
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x617c1b
mov eax, 0x102
jmp 0x617c16
push 0x273d
call fcn.00613bfc
mov dword [esp], str.can_only_wait_on_one_socket
push str.RMLWaitForMultipleEvents
push str._s_failed:__s_n
push 0x32
call fcn.005a6bee
add esp, 0x10
or eax, 0xffffffff
jmp 0x617c16
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x617c13
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00613bfc
push esi
call fcn.005a6cc1
push eax
push 0x6bb4c4
push str...RMLEvent.cpp:450
push str._s:__s_failed:__s_n
push 0x32
call fcn.005a6bee
add esp, 0x1c
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 0x18]
mov ebx, dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call ebx
mov edi, 0x102
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x617bdf
cmp dword [ebp + 0x14], 0xffffffff
jne 0x617c47
mov byte [ebp - 1], 1
jmp 0x617c57
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
xor esi, esi
test ecx, ecx
jbe 0x617c73
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x114]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov edi, 0x102
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6d0]
inc dword [ebp + 8]
mov dword [ebp + esi*4 - 0x114], eax
cmp byte [ebp - 1], 0
jne 0x617ce8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x10]
jae 0x617bdf
mov ecx, dword [ebp - 0x10]
sub ecx, eax
push ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call fcn.00614537
add esp, 0xc
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call ebx
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x617cde
push 0
push dword [ebp - 8]
call fcn.00617633
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x617ced
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0xc], edi
je 0x617c86
jmp 0x617bdf
or eax, 0xffffffff
jmp 0x617cb0
mov eax, edi
jmp 0x617c16
Function at 0x618075
Capabilities:
Set socket configuration

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 0xa
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x61808b
Capabilities:
Set socket configuration

Disassembly:
push 8
push dword [esp + 0xc]
push 0xc
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x6180a0
Capabilities:
Set socket configuration

Disassembly:
push 4
push dword [esp + 0xc]
push 9
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x6180b5
Capabilities:
Set socket configuration

Disassembly:
push dword [esp + 8]
push 0x8004667e
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret

Function at 0x618371
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11
push 2
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
and word [ebp - 0x12], 0
and dword [ebp - 0x10], 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [esi], eax
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_bind]
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push 1
push eax
push dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00644f58
leave
ret
Function at 0x618fd1
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1db8
call fcn.006459e0
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
xor edi, edi
push edi
push edi
mov ebx, eax
lea eax, [ebp - 0x1db8]
push eax
push 0x1db0
lea eax, [ebp - 0x1db4]
push eax
push edi
push edi
push 0x4004747f
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x619029
xor eax, eax
jmp 0x619062
mov eax, dword [ebp - 0x1db8]
push 0x4c
xor edx, edx
pop ecx
div ecx
cmp eax, edi
jle 0x619059
lea ecx, [ebp - 0x1d7c]
cmp edi, dword [ebp + 0xc]
jge 0x619059
mov edx, dword [ecx - 0x30]
mov dword [esi + edi*8], edx
mov edx, dword [ecx]
mov dword [esi + edi*8 + 4], edx
inc edi
add ecx, 0x4c
cmp edi, eax
jl 0x619040
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00644f58
leave
ret

Function at 0x61a821
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 0x61a953
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 0x61a952
push str.StackWalk64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x61a952
push str.SymFunctionTableAccess64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x61a952
push str.SymGetModuleBase64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x61a952
push str.SymGetLineFromAddr64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x61a952
push str.SymLoadModule64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x2c], eax
je 0x61a952
push ebx
push str.SymSetOptions
push dword [esi]
call edi
mov ebx, eax
test ebx, ebx
je 0x61a951
push ebp
push str.SymInitialize
push dword [esi]
call edi
mov ebp, eax
test ebp, ebp
je 0x61a950
push str.SymFromAddr
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x14], eax
jne 0x61a8fb
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 0x61a950
mov byte [esi + 4], 1
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret
Function at 0x61aad9
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 0x61aafb
xor al, al
jmp 0x61ab95
mov eax, dword [ebp - 0x20]
cdq
push ebx
push esi
mov ebx, edx
mov esi, eax
or eax, ebx
je 0x61ab91
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x61ab91
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 0x61ab91
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 0x61ab67
mov esi, eax
cmp ecx, dword [ebp - 4]
jb 0x61ab85
ja 0x61ab73
cmp edi, dword [ebp - 8]
jb 0x61ab85
xor eax, eax
add esi, dword [ebp - 8]
adc eax, dword [ebp - 4]
cmp ecx, eax
jb 0x61ab98
ja 0x61ab85
cmp edi, esi
jb 0x61ab98
inc dword [ebp + 0xc]
add edx, 0x28
cmp word [ebp + 0xc], bx
jb 0x61ab52
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 0x61ab93

Function at 0x61cf8a
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.0061cd7e
test eax, eax
je 0x61cf9e
push eax
mov ecx, esi
call fcn.0061ccf3
mov eax, dword [esi]
push str.Program_terminated_due_to_an_unknown_exception.
mov ecx, esi
call dword [eax + 0x14]
push eax
call fcn.0041a871
push eax
call fcn.0041b7c7
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x14]
push eax
call fcn.0041b7e0
pop ecx
mov ecx, 0x82cf00
call fcn.004015d6
push 1
call fcn.006462cf
pop esi
Function at 0x62029a
Capabilities:
Get disk information

Disassembly:
push 0x1c
push 0x77c1b8
call fcn.0064dd08
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x6202dc
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.0064e371
pop ecx
mov edi, eax
cmp edi, esi
jne 0x6202fb
mov edi, dword [str.ghost32.dmp]
cmp edi, esi
je 0x6203e7
mov al, byte [ebp + 0xc]
neg al
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
call fcn.0062140e
cmp byte [edi + 1], 0x3a
jne 0x620325
mov dword [ebp - 0x20], 0x5c3a58
mov al, byte [edi]
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x20]
push eax
jmp 0x620326
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
jne 0x620334
mov dword [ebp - 0x1c], esi
push str.DUMPTYPE
call fcn.0064e371
pop ecx
mov ebx, eax
cmp ebx, esi
je 0x620377
push str.NORMAL
push ebx
call fcn.0064e2a0
pop ecx
pop ecx
test eax, eax
jne 0x62035b
mov dword [ebp - 0x1c], esi
jmp 0x620377
cmp ebx, esi
je 0x620377
push str.FULL
push ebx
call fcn.0064e2a0
pop ecx
pop ecx
test eax, eax
jne 0x620377
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 0x6203e7
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
je 0x6203e0
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x6203e0
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.0064dd4d
ret
Function at 0x621de5
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 0x621e42
cmp bl, 0x21
jne 0x621ead
cmp al, 0x3d
je 0x621e2f
cmp al, 0x44
jne 0x621ead
movzx eax, byte [esi + 0x1c]
dec eax
dec eax
jne 0x621ead
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
jmp 0x621ea3
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.00622e59
mov edi, eax
jmp 0x621eab
cmp cl, 2
jb 0x621ead
cmp cl, 3
jbe 0x621e9a
cmp cl, 0x41
jbe 0x621ead
cmp cl, 0x44
jbe 0x621e77
cmp cl, 0x48
je 0x621e77
cmp cl, 0x50
je 0x621e6c
cmp cl, 0xff
jne 0x621ead
mov edi, 0x82a6a0
jmp 0x621ead
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x22]
jmp 0x621e38
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.00622e59
mov edi, eax
mov al, byte [esi + 0x1d]
cmp al, 0x42
pop ecx
pop ecx
je 0x621e95
cmp al, 0x43
jne 0x621ead
mov ebp, dword [edi + 4]
jmp 0x621ead
movzx eax, word [esi + 0x10]
push eax
movzx eax, word [esi + 0x22]
push eax
call fcn.00622e59
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 0x621ee5
cmp byte [esp + 0x18], 0xff
jne 0x621ee5
lea eax, [esi + 0x10]
push eax
add esi, 0x22
push esi
push 0x82a6a0
call fcn.00622e69
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x62455e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x38]
jmp 0x6245a4
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x6245b0
cmp dword [ebp - 4], 0x1000000
jne 0x62459e
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.006244fd
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
jb 0x624577
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x624ec8
Capabilities:
Get disk information

Disassembly:
push 0x50
mov eax, 0x6ada5b
call fcn.006454eb
mov edi, dword [ebp + 8]
xor ebx, ebx
push str.getRootDirectories
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], ebx
call fcn.0061a2cd
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
push ebx
mov byte [ebp - 4], 2
call esi
cmp eax, ebx
jmp 0x624f2c
mov eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], eax
call fcn.0040b9b3
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.005d3bfe
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
call esi
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
ja 0x624f0b
cmp eax, ebx
jne 0x624f98
push 8
call fcn.0040b9b3
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x624f59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x38]
push eax
call fcn.00621f21
jmp 0x624f5b
xor eax, eax
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004dad02
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], str...RootDirectoryEnumerator.cpp
mov dword [ebp - 0x3c], 0x33
call fcn.0061cc27
push 0x731740
lea eax, [ebp - 0x34]
push eax
call fcn.0064558c
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x50], 1
jmp 0x624fe2
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401baa
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0046a06e
mov ecx, edi
call fcn.004ea1be
mov eax, dword [eax + 0x14]
push ebx
push 1
lea ecx, [ebp - 0x2c]
lea esi, [esi + eax + 1]
mov byte [ebp - 4], 2
call fcn.0040234a
cmp byte [esi], bl
jne 0x624fad
lea ecx, [ebp - 0x48]
call fcn.005c214e
lea ecx, [ebp - 0x4c]
call fcn.006193de
mov eax, edi
call fcn.0064556e
ret