joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x14], 0
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x423455
mov eax, dword [eax]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
je 0x4234f4
lea ecx, [esp + 0x10]
call fcn.00423b50
cmp esi, 0xffffffff
je 0x4234c1
mov dword [esp + 0x10], esi
call fcn.004274b0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
mov ecx, dword [0x4b71f4]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x4234ae
call fcn.004275c0
mov ecx, dword [0x4b71f4]
push dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push dword [esp + 0x18]
push edx
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4234f4
cmp ecx, 0xffffffff
je 0x4234f4
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4234f0
mov esi, dword [esp + 0x18]
cmp esi, edi
jne 0x4234f0
mov ecx, dword [esp + 0x10]
jmp 0x4234f7
mov ecx, dword [esp + 0x10]
or esi, 0xffffffff
test ecx, ecx
je 0x423555
cmp ecx, 0xffffffff
je 0x423555
call fcn.004274b0
mov ebx, dword [ebp + 4]
mov edi, eax
mov ecx, dword [0x4b71f4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x423527
call fcn.004275c0
mov ecx, dword [0x4b71f4]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edi
push ebx
push edx
push dword [esp + 0x20]
call dword [eax + 8]
mov ecx, dword [0x4b71f4]
mov edi, dword [esp + 0x10]
test ecx, ecx
jne 0x423550
call fcn.004275c0
mov ecx, dword [0x4b71f4]
mov edx, dword [ecx]
push edi
call dword [edx]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4239e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4b1810]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x423ad9
cmp eax, 0x104
ja 0x423ad9
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.004190c0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x258]
call fcn.0041d1f0
mov ecx, eax
call fcn.0041db10
cmp esi, eax
je 0x423a66
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00419e00
cmp dword [ebp - 0x214], 8
jb 0x423a7d
push dword [ebp - 0x228]
call fcn.0048db5b
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
cmp dword [ebp - 0x244], 8
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
jb 0x423ab1
push dword [ebp - 0x258]
call fcn.0048db5b
add esp, 4
cmp dword [ebp - 0x22c], 8
jb 0x423ac8
push dword [ebp - 0x240]
call fcn.0048db5b
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004918a1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004918a1
mov esp, ebp
pop ebp
ret

Function at 0x425050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi], 0
je 0x425071
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x425074
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test bl, bl
je 0x4250fb
cmp byte [ebp + 0xc], 0
je 0x42517e
cmp byte [esi], 0
je 0x42509d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4250a0
mov eax, dword [esi + 4]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42517e
cmp dword [0x4b7160], 2
jg 0x4250f5
push 2
push 0x89
push 0x412dd8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 2
call fcn.0041f6f0
push 1
add eax, 8
push 0x412e1c
push eax
call fcn.0041b6f0
add esp, 8
mov ecx, eax
call fcn.00420030
test byte [ebp - 4], 2
jmp 0x425171
cmp dword [0x4b7160], 2
jg 0x42516d
push 1
push 2
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 4
mov dword [ebp - 0xb8], 2
call fcn.0041ecd0
mov dword [ebp - 0x14], 0x412dd8
mov dword [ebp - 0x10], 0x90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x90
push 0x412dd8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc], eax
call fcn.0041f9c0
push 1
lea eax, [ebp - 0xb0]
push 0x412e48
push eax
call fcn.0041b6f0
add esp, 8
mov ecx, eax
call fcn.00420030
test byte [ebp - 4], 4
je 0x42517e
lea ecx, [ebp - 0xb8]
call fcn.0041f740
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ebb0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
mov dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
test bl, 1
push esi
mov esi, ecx
mov ecx, 3
cmovne eax, ecx
test bl, 2
mov ecx, 1
cmovne eax, ecx
mov ecx, ebx
and ecx, 4
mov dword [ebp - 8], ecx
mov ecx, 4
cmovne eax, ecx
test bl, 8
mov ecx, 2
cmovne eax, ecx
mov dword [ebp + 8], eax
push edi
test bl, 0x10
je 0x42ec09
mov dword [ebp + 8], 5
jmp 0x42ec11
test eax, eax
je 0x42ed6e
xor edx, edx
mov edi, 0x40000000
test bl, 0x40
mov eax, 4
cmovne edx, edi
test bl, 0x80
cmovne edx, eax
test bl, 0x20
je 0x42ec34
or edx, 0x80000000
test ebx, 0x4000
je 0x42ec42
or edx, 0x100
test ebx, 0x40000
je 0x42ec50
or edx, 0x20000000
mov ecx, ebx
shr ecx, 8
not ecx
and ecx, 1
test ebx, 0x200
jne 0x42ec65
or ecx, 2
test ebx, 0x8000
je 0x42ec6f
or ecx, eax
xor eax, eax
test ebx, 0x400
cmovne eax, edi
test ebx, 0x800
je 0x42ec87
or eax, 0x100
test ebx, 0x1000
je 0x42ec92
or eax, 2
test ebx, 0x2000
je 0x42ec9f
or eax, 0x4000000
test ebx, 0x20000
je 0x42ecac
or eax, 0x2000000
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x42ecb7
mov edi, dword [edi]
push 0
push eax
push dword [ebp + 8]
push 0
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp dword [esi], edi
je 0x42ed10
mov ecx, esi
call fcn.00423b50
test edi, edi
je 0x42ed10
cmp edi, 0xffffffff
je 0x42ed10
mov dword [esi], edi
call fcn.004274b0
mov dword [ebp + 8], eax
mov eax, dword [ebp + 4]
mov ecx, dword [0x4b71f4]
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x42ed03
call fcn.004275c0
mov ecx, dword [0x4b71f4]
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp - 4]
push esi
push edi
call dword [eax + 4]
mov eax, dword [esi]
test eax, eax
je 0x42ed5e
cmp eax, 0xffffffff
je 0x42ed5e
mov eax, ebx
mov dword [esi + 0x20], 0
shr eax, 0xa
and al, 1
cmp dword [ebp - 8], 0
mov byte [esi + 0x25], al
je 0x42ed4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne al
mov byte [esi + 0x24], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test bl, 0xa
je 0x42ed6e
mov byte [esi + 0x24], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042e980
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fbc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
mov esi, edx
push edi
test ebx, ebx
je 0x42fc2c
cmp dword [0x4b83a0], 0
jne 0x42fc19
push 0x44
call fcn.0048dae5
add esp, 4
test eax, eax
je 0x42fbfa
mov ecx, eax
call fcn.00426a30
mov edx, eax
jmp 0x42fbfc
xor edx, edx
mov ecx, edx
mov edi, 0x4b83a0
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x42fc19
test edx, edx
je 0x42fc19
push ecx
mov ecx, edx
call fcn.004269f0
mov eax, dword [0x4b83a0]
cmp dword [eax], 1
jl 0x42fc2c
mov dword [ebp - 4], 0x10000
jmp 0x42fc2e
xor ebx, ebx
push 8
call fcn.0048dae5
add esp, 4
mov edi, eax
push 0
push dword [ebp - 4]
mov dword [edi], esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
push 0x42fa70
push ebx
setne cl
push 0
mov byte [edi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x42fc71
push edi
call fcn.0048db5b
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x42fc87
mov dword [esi], eax
mov al, 1
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438ef0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.00439240
mov eax, dword [0x4b29a8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
test edx, edx
jne 0x438f11
call fcn.0043c0a0
mov edx, eax
mov eax, dword [0x4b82b4]
cmp dword [edx + eax*4], 0
jne 0x438f59
push 0x70
call fcn.0048dae5
add esp, 4
test eax, eax
je 0x438f36
push esi
mov ecx, eax
call fcn.00438cc0
mov esi, eax
jmp 0x438f38
xor esi, esi
mov eax, dword [0x4b29a8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x438f51
call fcn.0043c0a0
mov ecx, eax
mov eax, dword [0x4b82b4]
mov dword [ecx + eax*4], esi
pop esi
ret

Function at 0x438f60
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [0x4b82b0], 0
push ebx
push esi
push edi
jne 0x438f72
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x4b29a8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x438f8b
call fcn.0043c0a0
mov ecx, eax
mov eax, dword [0x4b82b4]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x439022
mov ecx, 0x4b8294
xor edi, edi
xor ebx, ebx
call fcn.0042e640
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4b8288]
test ecx, ecx
je 0x438fcb
mov eax, dword [ecx + 4]
mov edi, ecx
mov dword [0x4b8288], eax
mov dword [ecx + 4], ebx
jmp 0x438fd8
mov ebx, dword [0x4b82c8]
inc ebx
mov dword [0x4b82c8], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x438fff
push 0x70
call fcn.0048dae5
add esp, 4
test eax, eax
je 0x438ffd
push ebx
mov ecx, eax
call fcn.00438d80
mov edi, eax
jmp 0x438fff
xor edi, edi
mov eax, dword [0x4b29a8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x439018
call fcn.0043c0a0
mov ecx, eax
mov eax, dword [0x4b82b4]
mov dword [ecx + eax*4], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x43af50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
mov esi, 8
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0xc]
cmp esi, 0xffffffff
lea eax, [ebp - 4]
cmovbe eax, edx
mov edi, dword [eax]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x43af96
cmp byte [0x4b82d4], al
jne 0x43afc1
int3
test bl, 1
je 0x43afa9
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffffe
call fcn.0041f740
mov ecx, dword [ebp - 8]
sub esi, edi
add ecx, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ecx
test esi, esi
jne 0x43af73
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call fcn.0048f00d
int3
Function at 0x43c0a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4b1810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4b29a8]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x43c140
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x43c0ed
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x43c11e
cmp byte [0x4b82d4], 0
jne 0x43c1b7
int3
mov ecx, ebx
mov edx, 0x4b29a8
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x43c140
push ebx
call esi
mov ebx, dword [0x4b29a8]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43c155
cmp byte [0x4b82d4], 0
jne 0x43c1c5
int3
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.0048ecf5
add esp, 4
lea esi, [ebp - 0x408]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004918a1
mov esp, ebp
pop ebp
ret
push 1
call fcn.0048f00d
push 1
call fcn.0048f00d
push 1
call fcn.0048f00d
int3

Function at 0x43c1d0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x4b1810]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4b29a8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.0048ecf0
add esp, 4
mov edi, 0x100
jmp 0x43c230
mov esi, dword [0x4b82e4]
xor dl, dl
test esi, esi
jle 0x43c268
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x43c263
mov eax, dword [esi*4 + 0x4b7b70]
test eax, eax
je 0x43c263
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x43c240
dec edi
test edi, edi
jle 0x43c271
test dl, dl
jne 0x43c230
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004918a1
mov esp, ebp
pop ebp
ret
Function at 0x43e280
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi], 0x413b2c
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x234]
mov dword [esi + 0x20], eax
call fcn.00438870
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov dword [ebp + 8], esi
mov edx, dword [eax + 0x5c]
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
cmp eax, edx
je 0x43e2f7
cmp dword [eax], esi
je 0x43e2f3
add eax, 4
cmp eax, edx
jne 0x43e2e8
cmp eax, edx
jne 0x43e300
lea eax, [ebp + 8]
push eax
call fcn.00438a40
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [0x4b826c]
lea ecx, [edi + 0x1e8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004435d0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43e370
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [edi], 0x413b2c
call fcn.00438870
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
lea ecx, [eax + 0x54]
call fcn.00438920
mov esi, dword [edi + 0x10]
test esi, esi
je 0x43e40c
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x43e3c5
cmp edx, 0x7fffffff
jne 0x43e3c5
movsd xmm0, qword [0x4b27e8]
jmp 0x43e3d2
call fcn.004915ef
divsd xmm0, qword [0x4141e0]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movsd qword [esp + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
sub esp, 0xc
push 0
call fcn.0043e4b0
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.004433d0
add esp, 0xc
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 8], 0
je 0x43e447
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x234]
cmp dword [edi + 0x20], eax
jne 0x43e447
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi + 8]
push ecx
mov edx, esp
mov dword [edi + 8], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [edi + 0xc]
call dword [eax + 8]
call fcn.00438870
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], eax
add ecx, 0x1e8
lea eax, [esp + 0xc]
push eax
call fcn.00442020
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
push 0
push dword [eax + 0x1dc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x43e48c
call fcn.0043bf30
mov esi, dword [edi + 8]
test esi, esi
je 0x43e4a3
mov ecx, esi
call fcn.00442dd0
push esi
call fcn.0048db5b
add esp, 4
mov dword [edi], 0x4130dc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44b804
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x401930
lea ecx, [ebp - 0x18]
call fcn.004190c0
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00423af0
push dword [esi]
call fcn.00422650
pop ecx
test al, al
je 0x44b857
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44b857
mov bl, 1
jmp 0x44b859
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0041a0b0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c5d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
push edi
push 0x60
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x40c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x44c621
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x44c621
call fcn.0044a7b5
mov esi, eax
jmp 0x44c6b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44c63b
call fcn.0044a7b5
jmp 0x44c6ac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44c634
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44c661
mov esi, 0x8007000e
jmp 0x44c6ae
push eax
lea ecx, [ebp - 0x40c]
call fcn.0044a2c3
cmp dword [ebp - 0x40c], 0
je 0x44c65a
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x44c634
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.0044c4cb
mov esi, eax
test edi, edi
je 0x44c6b9
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x44c6d2
lea ecx, [ebp - 0x40c]
call fcn.004598ff
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x451160
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esi + 0x2fc]
test ecx, ecx
je 0x4511a4
call fcn.004530ac
mov ecx, dword [esi + 0x2fc]
call fcn.00453629
mov ecx, dword [esi + 0x2fc]
call fcn.00452fbb
xor eax, eax
pop esi
ret 0x10

Function at 0x459a9c
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
push dword [ecx + 4]
jmp 0x459ab0
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x459aa4
pop esi
ret
Function at 0x459e75
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x58]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x459ec1
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x459eec
shr ecx, 2
test cl, 1
je 0x459ef4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x459f23
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push 0x40396c
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x459f23
or byte [edi + 0x5c], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45a43c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x834], ax
mov esi, ecx
lea eax, [ebp - 0x832]
push ebx
push eax
call fcn.004486f7
add esp, 0xc
lea eax, [ebp - 0x834]
push 0x400
push eax
push dword [esi + 0x68c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x834]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004190c0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0046207c
add esp, 0xc
lea ecx, [ebp - 0x34]
xor edi, edi
inc edi
push ebx
push edi
call fcn.0041a0b0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x45a4d4
mov dword [esi + 0x6b4], ebx
jmp 0x45a4ef
cmp eax, edi
jne 0x45a4e4
mov dword [esi + 0x6b4], 3
jmp 0x45a4ef
cmp eax, 2
jne 0x45a4ef
mov dword [esi + 0x6b4], edi
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [esi + 0x694]
push dword [esi + 4]
call fcn.00464430
lea eax, [ebp - 0x834]
push eax
call fcn.00416890
add esp, 0x10
lea ecx, [esi + 0x6bc]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.0041aa00
mov ecx, esi
call fcn.00459f2c
push ebx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041a0b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10