joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58b4a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00493020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58b4d3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
jmp 0x58b527
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00493020
push eax
call fcn.004ae300
add esp, 0xc
test eax, eax
jne 0x58b506
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
jmp 0x58b527
mov eax, dword [ebp - 0x10]
xor edx, edx
mov cl, 0x20
call fcn.005db5f0
mov ecx, dword [ebp - 0xc]
xor esi, esi
or eax, ecx
or edx, esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x58c4c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd07d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
cmp dword [ebp + 8], 0
jne 0x58c4fb
xor eax, eax
jmp 0x58c5b6
push 0x24
call fcn.0052325f
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x58c51e
mov ecx, dword [ebp - 0x18]
call fcn.004abb70
mov dword [ebp - 0x124], eax
jmp 0x58c528
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x58c541
xor eax, eax
jmp 0x58c5b6
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
push 0xfde9
push str.city
mov ecx, dword [ebp + 8]
call fcn.00565d00
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040e420
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x12c]
call fcn.00493020
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0040b1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.0040e6c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x58c710
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd0cf
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x248]
call fcn.00403290
mov dword [ebp - 4], 0
mov dword [ebp - 0x24c], 0xffffffff
mov dword [ebp - 0x244], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.00524800
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xffffffff
jne 0x58c7a1
jmp 0x58c7ee
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x58c7ee
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x23c]
jne 0x58c7d7
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0040b1c0
jmp 0x58c7ee
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x58c7b8
cmp dword [ebp - 0x24c], 0xffffffff
je 0x58c80e
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24c], 0
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402050
mov eax, dword [ebp - 0x250]
or eax, 1
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00403270
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret 8
Function at 0x58cf10
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x20
call fcn.0040ee60
movzx eax, al
test eax, eax
je 0x58cf32
xor eax, eax
jmp 0x58d04d
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push SysReAllocString
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x58cf77
push str.open_scmgr_failure
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
call fcn.0040b1c0
jmp 0x58d02a
push SysReAllocString
mov ecx, dword [ebp - 0x38]
add ecx, 0x20
call fcn.00493020
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x58cfad
push str.open_service_failure
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
call fcn.0040b1c0
jmp 0x58d02a
mov dword [ebp - 0x34], 0
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x24
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x58d001
push str.query_service_status_failure
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
call fcn.0040b1c0
jmp 0x58d02a
cmp dword [ebp - 0x30], 4
jne 0x58d010
mov dword [ebp - 0xc], 1
jmp 0x58d022
push str.service_not_runing
mov ecx, dword [ebp - 0x38]
add ecx, 0xc
call fcn.0040b1c0
jmp 0x58d02a
xor eax, eax
jne 0x58cf47
cmp dword [ebp - 4], 0
je 0x58d03a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 8], 0
je 0x58d04a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x592ee0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e204b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push 0
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.00493020
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea eax, [ebp - 0x10]
push eax
call fcn.004958d0
add esp, 0x18
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043e040
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.00493020
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e710
cmp eax, 0xffffffff
jne 0x593097
cmp dword [0x67e1c8], 0
je 0x59307c
mov dword [ebp - 0x20], 0
push str.AutoRunCondition::IsRecommanded
lea ecx, [ebp - 0x18]
call fcn.004092b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 0
jne 0x592f93
mov dword [ebp - 0x30], 0xffffffff
jmp 0x592fa8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.005c21b0
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.00493020
push eax
push str._processname
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.00493020
push eax
push str.Autorun_condition_key
push 0x6227d0
mov ecx, dword [ebp - 0x38]
call fcn.00493020
push eax
push 0x622594
push 0x622784
lea eax, [ebp - 0x14]
push eax
push 0x62276c
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.00447700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00403270
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov eax, dword [ebp - 0x24]
jmp 0x5930c0
push str.AutoRunCondition
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.0040b1c0
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x59b960
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [0x67e1c8], 0
je 0x59b9a9
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push str.test_lnk_start__tickcount:
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004b3ee0
mov ecx, eax
call fcn.00447700
mov ecx, dword [ebp - 0x18]
call fcn.0059b4e0
mov dword [ebp - 4], eax
cmp dword [0x67e1c8], 0
je 0x59ba0b
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push str._result
lea ecx, [ebp - 0x10]
push ecx
push str.test_lnk_end__tickcount:
call fcn.00447600
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004b3ee0
mov ecx, eax
call fcn.00447680
mov ecx, eax
call fcn.004476c0
mov ecx, eax
call fcn.00447700
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x59cd90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x59cdd7
xor eax, eax
jmp 0x59cdf7
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x59d880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e66d2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
jne 0x59d8c5
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x24], 0
je 0x59d8d5
xor eax, eax
jmp 0x59d9fb
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
jne 0x59d8e5
xor eax, eax
jmp 0x59d9fb
cmp dword [ebp + 0xc], 0
je 0x59d8f5
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
test edx, edx
jne 0x59d8fc
xor eax, eax
jmp 0x59d9fb
cmp dword [ebp + 8], 0
je 0x59d90c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x59d913
xor eax, eax
jmp 0x59d9fb
lea ecx, [ebp - 0x10]
call fcn.00403290
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0059d090
test eax, eax
jne 0x59d954
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov eax, dword [ebp - 0x14]
jmp 0x59d9fb
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0040ca60
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0040b1c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], 0x1b7740
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0059ceb0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0059d380
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x59d7e0
push 0
push 0
call fcn.005277fd
add esp, 0x18
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x20], 0
je 0x59d9da
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp dword [eax + 0x24], 0
setne cl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x59de90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5defca
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0052488b
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0059da30
add esp, 4
movzx edx, al
test edx, edx
jne 0x59dede
xor al, al
jmp 0x59e02a
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.004092b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004092b0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x28]
call fcn.004092b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0059dbe0
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00403270
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00403270
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00403270
lea ecx, [ebp - 0x10]
call fcn.0040ee60
movzx ecx, al
test ecx, ecx
je 0x59df77
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov al, byte [ebp - 0x29]
jmp 0x59e02a
lea ecx, [ebp - 0x18]
call fcn.00403290
mov byte [ebp - 4], 7
mov dword [ebp - 0x1c], 0
jmp 0x59df95
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x18]
call fcn.004e99c0
cmp dword [ebp - 0x1c], eax
jae 0x59e008
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ca60
lea ecx, [ebp - 0x18]
push ecx
call fcn.0057a000
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.004b8bb0
push eax
lea ecx, [ebp - 0x18]
call fcn.00454f40
lea ecx, [ebp - 0x18]
call fcn.00493020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x59e006
mov byte [ebp - 0x2a], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov al, byte [ebp - 0x2a]
jmp 0x59e02a
jmp 0x59df8c
mov byte [ebp - 0x2b], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00403270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403270
mov al, byte [ebp - 0x2b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x59ed60
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x59ed75
xor eax, eax
jmp 0x59edea
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x59eda2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x59ede5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x59ede3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x59eddf
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x59ede3
xor eax, eax
jmp 0x59edea
jmp 0x59ed99
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x59eef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x67ddf4]
mov dword [ebp - 4], eax
jmp 0x59ef09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x59ef26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x59ef00
mov esp, ebp
pop ebp
ret
Function at 0x59f050
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x67de04], eax
je 0x59f06e
mov eax, 0x10dd
jmp 0x59f14f
mov eax, dword [0x67de14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x59f0ec
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x59f0ca
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x59f0ca
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0059edf0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00522d78
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x59f076
mov dword [0x67de14], 0
call fcn.0059ee90
mov ecx, dword [0x67de10]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x59f139
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00522d78
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x59f104
mov dword [0x67de10], 0
mov dword [0x67de04], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x59f240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0059ee60
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x59f304
cmp dword [ebp - 4], 0x50000000
jb 0x59f281
cmp dword [ebp - 4], 0x80000000
ja 0x59f281
mov dword [ebp - 4], 0x4fff0000
jmp 0x59f25a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00524800
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x59f2a7
jmp 0x59f304
cmp dword [ebp - 0x10], 0x10000
jne 0x59f2ea
cmp dword [ebp - 0x14], 0x10000
jb 0x59f2ea
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x59f2dd
mov eax, dword [ebp - 0x24]
jmp 0x59f306
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x59f2ff
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0059ee60
add esp, 4
mov dword [ebp - 4], eax
jmp 0x59f25a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x59f310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0059ee30
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x59f3cc
cmp dword [ebp - 4], 0x50000000
jb 0x59f34c
cmp dword [ebp - 4], 0x80000000
ja 0x59f34c
mov dword [ebp - 4], 0x80010000
jmp 0x59f325
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00524800
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x59f372
jmp 0x59f3cc
cmp dword [ebp - 0x10], 0x10000
jne 0x59f3b5
cmp dword [ebp - 0x14], 0x10000
jb 0x59f3b5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x59f3a8
mov eax, dword [ebp - 0x24]
jmp 0x59f3ce
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x59f3c7
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0059ee30
add esp, 4
mov dword [ebp - 4], eax
jmp 0x59f325
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5a0f80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret