joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x1856dcc
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x30ea70e0
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434008]
jne 0x40100a
repz ret
jmp fcn.0040191a

Function at 0x404dba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403307
and dword [ebp - 4], 0
cmp dword [0x435e50], 0
mov ebx, eax
jne 0x404e6b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404f1c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404f1c
push eax
call fcn.00403295
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435e50], eax
call esi
push eax
call fcn.00403295
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435e54], eax
call esi
push eax
call fcn.00403295
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435e58], eax
call esi
push eax
call fcn.00403295
pop ecx
mov dword [0x435e60], eax
test eax, eax
je 0x404e6b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403295
pop ecx
mov dword [0x435e5c], eax
mov eax, dword [0x435e5c]
cmp eax, ebx
je 0x404ec3
cmp dword [0x435e60], ebx
je 0x404ec3
push eax
call fcn.00403310
push dword [0x435e60]
mov esi, eax
call fcn.00403310
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404ec3
test edi, edi
je 0x404ec3
call esi
test eax, eax
je 0x404eba
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404eba
test byte [ebp - 0xc], 1
jne 0x404ec3
or dword [ebp + 0x10], 0x200000
jmp 0x404efc
mov eax, dword [0x435e54]
cmp eax, ebx
je 0x404efc
push eax
call fcn.00403310
pop ecx
test eax, eax
je 0x404efc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404efc
mov eax, dword [0x435e58]
cmp eax, ebx
je 0x404efc
push eax
call fcn.00403310
pop ecx
test eax, eax
je 0x404efc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435e50]
call fcn.00403310
pop ecx
test eax, eax
je 0x404f1c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404f1e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x182
jne 0x43163f
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
xor edi, edi
test esi, esi
jle 0x43166e
jmp 0x431650
lea esi, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.00431610
mov cl, byte [ebp - 4]
xor byte [edi + ebx], cl
inc edi
cmp edi, dword [ebp + 8]
jl 0x431650
mov esi, dword [ebp + 8]
pop edi
cmp esi, 0x2d
pop esi
jne 0x431689
mov dword [0x52bb70], 0xa62e7790
mov dword [0x52bb74], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x431690
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x434008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52ba3c]
push ebx
mov ebx, dword [0x52b884]
push esi
mov esi, eax
cmp eax, 0x5dd
jne 0x4316ca
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x434c50]
call fcn.004315e0
cmp dword [0x52ba3c], 0x2f
jne 0x4316e5
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.00431620
add esp, 4
cmp dword [0x52ba3c], 0x568
pop esi
pop ebx
jne 0x431713
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x59001580
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x59192668]
test eax, eax
jne 0x590015ed
mov dword [0x59192668], 1
call fcn.590acc50
test eax, eax
push 0x104
push 0x5919266c
je 0x590015e7
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jbe 0x590015ed
push esi
push edi
mov edi, 0x59171304
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x5919266c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, 0x5919266c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, 0x5919266c
ret
Function at 0x59002060
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
test eax, eax
je 0x5900208a
push str.winbrosqlite3_module_is_Loaded
push str.History
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x10
mov eax, 1
pop esi
ret
push 0x5914a4b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x590020c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.winbrosqlite3_module_load_failed__err__0x_08x_
push str.History
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x14
xor eax, eax
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sqlite3_open16
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x30]
push str.sqlite3_prepare16_v2
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.sqlite3_bind_int64
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x30]
push str.sqlite3_bind_text16
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x30]
push str.sqlite3_step
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.sqlite3_column_int64
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x30]
push str.sqlite3_column_text16
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x30]
push str.sqlite3_column_blob
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.sqlite3_column_bytes
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 0x30]
push str.sqlite3_close
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x30]
push str.sqlite3_finalize
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x2c], eax
test ecx, ecx
pop edi
je 0x590021cc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x590021cc
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x590021cc
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x590021cc
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x590021cc
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x590021cc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x590021cc
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x590021cc
test eax, eax
je 0x590021cc
mov eax, dword [esi + 0x20]
test eax, eax
je 0x590021cc
mov eax, dword [esi + 0x24]
test eax, eax
je 0x590021cc
push str.winbrosqlite3_module_load_successful
push str.History
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x10
mov eax, 1
mov dword [esi + 0x34], eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_winbrosqlite3_function_failed__err__0x_08x_
push str.History
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x14
mov ecx, esi
call fcn.59002200
xor eax, eax
pop esi
ret
Function at 0x59004e50
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x59004e88
lea ecx, [esp + 4]
push ecx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x59004ec2
mov esi, dword [esp + 0x14]
test esi, esi
je 0x59004e9f
push esi
call fcn.5907c6fd
add esp, 4
lea eax, [eax + eax + 2]
jmp 0x59004ea1
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 8]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret 0xc

Function at 0x59004ed0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x59004f08
lea ecx, [esp + 4]
push ecx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x59004f2e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret 0xc

Function at 0x59004f40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
xor esi, esi
push edi
push 0x80000002
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x59004f7d
lea ecx, [esp + 8]
push ecx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x59004ffd
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 0
push edi
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
call ebx
mov eax, dword [esp + 0x18]
cmp eax, 2
jb 0x59004fe7
add eax, 2
mov dword [esp + 0x18], eax
shr eax, 1
lea edx, [eax + eax]
push edx
call fcn.5912c500
mov esi, eax
add esp, 4
test esi, esi
je 0x59004fe7
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push 0
push edi
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 8
ret 8
mov eax, esi
pop edi
pop esi
add esp, 8
ret 8
Function at 0x59005010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push esi
push 0x80000002
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x59005052
lea ecx, [esp + 4]
push ecx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x5900508e
lea edx, [esp + 0x14]
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret 8
Function at 0x5900d450
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591398e8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x5900d4a2
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x5900d4a2
push eax
lea ecx, [esp + 0x20]
call fcn.59094930
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
jne 0x5900d4b6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.59095090
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x5900d4ee
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x5900d4e5
mov ebx, 1
jmp 0x5900d4e7
mov dword [edi], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.59095090
mov ecx, dword [esp + 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x59010900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59139d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x5914f850]
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x18], eax
mov byte [esp + 0x58], 1
mov dword [esp + 0x14], eax
mov byte [esp + 0x58], 2
mov dword [esp + 0x10], eax
mov byte [esp + 0x58], 3
mov dword [esp + 0xc], eax
mov byte [esp + 0x58], 4
mov dword [esp + 8], eax
mov byte [esp + 0x58], 5
mov dword [esp + 4], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 6
call fcn.5909fd90
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 7
call fcn.5909fd90
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 8
call fcn.590a6450
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x58], 9
lea eax, [esi + 0x14]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.590a03a0
lea edx, [esi + 0x10]
lea ecx, [esp + 0x60]
push edx
call fcn.59099a10
push eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 0xa
call fcn.590a03a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 9
call fcn.5909a410
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x24]
push esi
push ecx
lea ecx, [esp + 0x28]
call fcn.590a6690
lea edx, [esp + 0x20]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x40]
push edx
push 4
push 0x59173df4
call fcn.5901fd50
add esp, 0x30
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 8
call fcn.590a6460
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 7
call fcn.5909fda0
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 6
call fcn.5909fda0
lea ecx, [esp + 4]
mov byte [esp + 0x58], 5
call fcn.5909a410
lea ecx, [esp + 8]
mov byte [esp + 0x58], 4
call fcn.5909a410
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 3
call fcn.5909a410
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 2
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 1
call fcn.5909a410
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 0
call fcn.5909a410
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.5909a410
mov ecx, dword [esp + 0x50]
pop esi
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x5901a5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5913b183
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
mov ecx, dword [0x5914f850]
mov dword [esp], eax
mov dword [eax + 0x1c], ecx
mov edx, dword [0x5914f850]
mov dword [esp + 0xc], 0
mov dword [eax + 0x20], edx
mov ecx, dword [0x5914f850]
mov byte [esp + 0xc], 1
mov dword [eax + 0x24], ecx
mov edx, dword [0x5914f850]
mov byte [esp + 0xc], 2
mov dword [eax + 0x28], edx
mov ecx, dword [0x5914f850]
mov byte [esp + 0xc], 3
mov dword [eax + 0x2c], ecx
mov edx, dword [0x5914f850]
mov byte [esp + 0xc], 4
mov dword [eax + 0x30], edx
mov ecx, dword [0x5914f850]
mov byte [esp + 0xc], 5
mov dword [eax + 0x34], ecx
mov edx, dword [0x5914f850]
mov byte [esp + 0xc], 6
mov dword [eax + 0x38], edx
mov ecx, dword [0x5914f84c]
mov byte [esp + 0xc], 7
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], 0xffffffff
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5901c1f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5913b657
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], 0
test edi, edi
je 0x5901c3ad
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x5901c3ad
push ebx
push ebp
push 0x591959c4
lea ecx, [esp + 0x34]
call fcn.59099c70
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x24], 1
test ebp, ebp
je 0x5901c34a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5901c34a
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push ebp
push eax
push ecx
call fcn.5900f220
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x5901c34a
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov esi, ecx
mov ecx, dword [esp + 0x34]
add esi, ebx
push edx
add esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
sub eax, ebx
sub eax, ecx
push eax
push esi
call fcn.5900f220
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x5901c346
push ebp
push esi
lea ecx, [esp + 0x1c]
call fcn.59099ec0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x24], 2
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5901c2eb
push 0x59172460
lea ecx, [esp + 0x34]
call fcn.5909b060
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.5909b0c0
mov edi, dword [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x24], 1
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x3c]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
add ebp, edx
mov edx, dword [esp + 0x34]
not ecx
dec ecx
add ecx, ebp
add ecx, ebx
add edx, ecx
sub eax, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], eax
call fcn.5909a410
mov ebp, dword [esp + 0x38]
jmp 0x5901c262
mov ebp, dword [esp + 0x38]
mov eax, dword [0x59194a20]
test eax, eax
je 0x5901c372
mov eax, dword [esp + 0x30]
push eax
push ebp
push str.GetEMailSpecialstrLoopW___S___s_
push str.MailLog
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x18
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.59099a10
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 0
call fcn.5909a410
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov esi, dword [esp + 0x24]
push 0x591959c4
mov ecx, esi
call fcn.59099c70
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret