joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov word [ebp - 8], ax
mov ecx, esi
push 0x10
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x650073
mov dword [ebp - 0x24], 0x5f0074
mov dword [ebp - 0x20], 0x690077
mov dword [ebp - 0x1c], 0x64006e
mov dword [ebp - 0x18], 0x77006f
mov dword [ebp - 0x14], 0x74005f
mov dword [ebp - 0x10], 0x740069
mov dword [ebp - 0xc], 0x65006c
call fcn.0042b3e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 4

Function at 0x449630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x13
mov ecx, esi
mov dword [ebp - 0x30], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0x650073
mov dword [ebp - 0x28], 0x5f0074
mov dword [ebp - 0x24], 0x6e0077
mov dword [ebp - 0x20], 0x5f0064
mov dword [ebp - 0x1c], 0x650072
mov dword [ebp - 0x18], 0x740063
mov dword [ebp - 0x14], 0x62005f
mov dword [ebp - 0x10], 0x5f0079
mov dword [ebp - 0xc], 0x6e0077
mov dword [ebp - 8], 0x64
call fcn.0042b3e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 4

Function at 0x4496d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov word [ebp - 8], ax
mov ecx, esi
push 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0x650067
mov dword [ebp - 0x1c], 0x5f0074
mov dword [ebp - 0x18], 0x6e0077
mov dword [ebp - 0x14], 0x5f0064
mov dword [ebp - 0x10], 0x650072
mov dword [ebp - 0xc], 0x740063
call fcn.0042b3e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 4
Function at 0x449750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov word [ebp - 8], ax
mov ecx, esi
push 0xe
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x650073
mov dword [ebp - 0x20], 0x5f0074
mov dword [ebp - 0x1c], 0x6e0077
mov dword [ebp - 0x18], 0x5f0064
mov dword [ebp - 0x14], 0x650063
mov dword [ebp - 0x10], 0x74006e
mov dword [ebp - 0xc], 0x720065
call fcn.0042b3e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 4
Function at 0x44c5a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a13
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x560094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.0045fb00
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x10]
mov word [eax + 0xc], 0
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
call fcn.0042e7c0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
push eax
call fcn.0042e7c0
mov dword [edi + 0x40], 0
lea eax, [edi + 0x30]
mov dword [edi + 0x44], 0
movups xmm0, xmmword [esi + 0x30]
mov dword [ebp + 8], eax
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x40]
movq qword [eax + 0x10], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov dword [eax + 0x28], 0
xor ecx, ecx
mov dword [eax + 0x2c], 0
movups xmm0, xmmword [esi + 0x48]
movups xmmword [eax + 0x18], xmm0
movq xmm0, qword [esi + 0x58]
movq qword [eax + 0x28], xmm0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], cx
lea edi, [eax + 0x30]
mov byte [ebp - 4], 4
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov ecx, edi
call fcn.0045fae0
mov dword [edi], eax
mov ecx, dword [esi + 0x60]
mov dword [edi], ecx
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x64]
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x64], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x456dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f19d2
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], esi
mov dword [ebx], 0
mov dword [ebp - 4], 1
call fcn.0042a1d0
mov ecx, eax
test ecx, ecx
je 0x456f6c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x220], 1
call fcn.004c1860
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x456e87
mov eax, dword [esi]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push 0x50b754
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x456eba
lea eax, [ebp - 0x218]
push eax
jmp 0x456f35
push esi
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push eax
lea ecx, [edi + 0x238]
call fcn.00465da0
mov esi, dword [ebp - 0x224]
cmp esi, dword [edi + 0x238]
je 0x456f30
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x224], eax
jb 0x456ef9
mov edx, dword [edx]
mov ecx, dword [ebp - 0x22c]
cmp dword [ecx + 0x14], 8
mov edi, dword [ecx + 0x10]
jb 0x456f0a
mov ecx, dword [ecx]
cmp dword [ebp - 0x224], edi
mov eax, edi
cmovb eax, dword [ebp - 0x224]
push eax
push edx
push ecx
call fcn.0043cc20
add esp, 0xc
test eax, eax
jne 0x456f5c
cmp edi, dword [ebp - 0x224]
jae 0x456f5e
push str.application_unknown
mov ecx, ebx
call fcn.00452100
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 8
js 0x456f30
add esi, 0x28
cmp dword [esi + 0x14], 8
jb 0x456f69
mov esi, dword [esi]
push esi
jmp 0x456f35
push 0x80004005
call fcn.00429e90
int3
Function at 0x45b550
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1fef
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45b6de
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, 0xffffffff
je 0x45b6de
cmp dword [ebp - 0x18], 0
ja 0x45b6de
push 0xc
call fcn.0049f760
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x45b602
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
push ebx
mov dword [eax + 8], 0
call fcn.00451100
jmp 0x45b604
xor eax, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0044fab0
push 0
push 0
push 0
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x45b65b
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push 0
push ecx
push ebx
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x45b67d
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call fcn.004509a0
mov ecx, eax
mov ebx, 3
jmp 0x45b693
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0
mov ebx, 5
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
test bl, 4
je 0x45b6c7
lea ecx, [ebp - 0x24]
and ebx, 0xfffffffb
call fcn.00451920
test bl, 2
je 0x45b6d4
lea ecx, [ebp - 0x38]
call fcn.00451920
lea ecx, [ebp - 0x2c]
call fcn.00451920
jmp 0x45b6eb
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret
Function at 0x45efa0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x45f1b5
push ebx
push edi
cmp eax, 0x7c
je 0x45f1b3
cmp eax, 0x29
jne 0x45efe1
cmp dword [esi + 0x10], 0
jne 0x45f1b3
cmp eax, eax
jne 0x45efe1
test dword [esi + 0x50], 0x10000000
je 0x45f1c2
jmp 0x45f16c
cmp eax, 0x2e
jne 0x45f03b
push 5
lea ecx, [esi + 0x24]
call fcn.00464230
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x45f02f
cmp byte [eax], 0x5c
jne 0x45f02c
lea ecx, [eax + 1]
cmp ecx, edx
je 0x45f02c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x45f019
mov bl, byte [ecx]
cmp bl, 0x28
je 0x45f02a
cmp bl, 0x29
je 0x45f02a
test dl, 0x10
jne 0x45f02c
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x45f02a
cmp dl, 0x7d
jne 0x45f02c
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00464b80
jmp 0x45f19e
cmp eax, 0x5c
jne 0x45f097
mov ecx, esi
call fcn.004642b0
test byte [esi + 0x50], 0x80
je 0x45f08b
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x45f06a
push 4
lea ecx, [esi + 0x24]
call fcn.00464230
mov ecx, esi
call fcn.004642b0
jmp 0x45f1a5
cmp al, 0x42
jne 0x45f08b
push 4
lea ecx, [esi + 0x24]
call fcn.00464230
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004642b0
jmp 0x45f1a5
mov ecx, esi
call fcn.0045f470
jmp 0x45f19e
cmp eax, 0x5b
jne 0x45f0f8
mov ecx, esi
call fcn.004642b0
lea ecx, [esi + 0x24]
call fcn.0045da40
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x45f0c4
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004642b0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x45f0e2
cmp eax, 0x5d
jne 0x45f0e2
push eax
lea ecx, [esi + 0x24]
call fcn.0045d950
mov ecx, esi
call fcn.004642b0
mov ecx, esi
call fcn.00460730
cmp dword [esi + 0x4c], 0x5d
jne 0x45f1cb
jmp 0x45f197
cmp eax, 0x28
jne 0x45f128
mov ecx, esi
call fcn.004642b0
mov ecx, esi
call fcn.00465090
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x45f1c2
mov ecx, esi
call fcn.004642b0
test bl, bl
je 0x45f1a5
jmp 0x45f19e
cmp eax, 0x5e
jne 0x45f140
push 2
lea ecx, [esi + 0x24]
call fcn.00464230
mov ecx, esi
call fcn.004642b0
jmp 0x45f1a5
cmp eax, 0x24
jne 0x45f158
push 3
lea ecx, [esi + 0x24]
call fcn.00464230
mov ecx, esi
call fcn.004642b0
jmp 0x45f1a5
cmp eax, 0x2a
je 0x45f1b9
cmp eax, 0x2b
je 0x45f1b9
cmp eax, 0x3f
je 0x45f1b9
cmp eax, 0x7b
je 0x45f1b9
cmp eax, 0x7d
jne 0x45f17c
test dword [esi + 0x50], 0x10000000
je 0x45f1d4
jmp 0x45f18a
cmp eax, 0x5d
jne 0x45f18a
test dword [esi + 0x50], 0x10000000
je 0x45f1cb
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0045d670
mov ecx, esi
call fcn.004642b0
mov ecx, esi
call fcn.004645e0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x45efb3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.004634d0
push 5
mov ecx, esi
call fcn.004634d0
push 4
mov ecx, esi
call fcn.004634d0
push 6
mov ecx, esi
call fcn.004634d0
int3
Function at 0x465530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x465561
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x465550
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x465570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4655a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x465590
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x46da70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3256
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.004c1860
add esp, 0xc
mov dword [ebp - 0x420], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x46db2c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x46db2c
call fcn.0046c470
mov esi, eax
jmp 0x46dc19
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x46db4f
call fcn.0046c470
jmp 0x46dc0c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x46db6d
call fcn.0046c470
jmp 0x46dc0c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x46db8e
mov esi, 0x8007000e
jmp 0x46dc0e
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.0046c340
jmp 0x46dbb8
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x46dbcf
mov esi, 0x8007000e
jmp 0x46dc0e
push esi
push dword [ebp - 0x420]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x46dbef
call fcn.0046c470
jmp 0x46dc0c
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.0046d8d0
mov esi, eax
test edi, edi
je 0x46dc19
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x46dc32
lea ecx, [ebp - 0x420]
call fcn.0046c8d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46eeb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x46ef37
test ebx, ebx
je 0x46ef37
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x46ef37
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x46ef37
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x46ef31
push esi
push ebx
push edi
call fcn.004c0d60
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x46ef31
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01a0
mov esp, ebp
pop ebp
ret
Function at 0x473420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f38a3
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push esi
push edi
mov eax, dword [0x560094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x34], 0
je 0x473520
call fcn.0047cdb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x47350b
push 0x65
push 0x523880
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.0042b2e0
push 3
push 0x52387c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0042b2e0
push 0x6f
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00428a70
mov esi, eax
push str.quit_so_send_fail
push esi
mov byte [ebp - 4], 2
call fcn.00429750
add esp, 8
call fcn.0047cdb0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.004299d0
lea ecx, [ebp - 0x2c]
call fcn.00429290
lea ecx, [ebp - 0x44]
call fcn.00429290
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 0
jne 0x473544
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00473610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x90]
test eax, eax
jne 0x473595
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
push eax
push 1
push eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x94], eax
call esi
push 0
push 0
push edi
push 0x473cb0
push 0
push 0
mov dword [edi + 0x98], eax
call fcn.004ca296
add esp, 0x18
mov dword [edi + 0x90], eax
test eax, eax
je 0x47350b
cmp dword [edi + 0x94], 0
je 0x47350b
cmp dword [edi + 0x98], 0
je 0x47350b
lea eax, [edi + 0x60]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x14]
movlpd qword [ebp - 0x14], xmm0
call fcn.00472380
push dword [ebp + 8]
lea ecx, [edi + 0x7c]
mov dword [ebp - 4], 3
call fcn.004743c0
lea ecx, [ebp - 0x14]
call fcn.00472690
push dword [edi + 0x98]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47bb90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3f1f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x560094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.0042a1d0
mov ecx, eax
test ecx, ecx
je 0x47bd44
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.0042a1d0
mov ecx, eax
test ecx, ecx
je 0x47bd4e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.0042a1d0
mov ecx, eax
test ecx, ecx
je 0x47bd58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0x10], eax
test edx, edx
jne 0x47bc68
xor ecx, ecx
jmp 0x47bc80
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bc70
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00432570
push edi
mov ecx, ebx
call fcn.0043f9d0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x47bc9c
xor ecx, ecx
jmp 0x47bcb4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bca4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00432570
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0047c940
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.0043f9d0
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47bcf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x47bd2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x47bd2e
cmp dword [esi + 0x10], 0
je 0x47bd25
push dword [edi]
call fcn.004d5707
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00429e90
push 0x80004005
call fcn.00429e90
push 0x80004005
call fcn.00429e90
int3
Function at 0x47c7c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4008
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x47c921
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x47c818
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x47c921
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x47c832
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x47c921
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x47c84c
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x47c921
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x47c866
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x47c921
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x47c921
push 3
mov ecx, esi
call fcn.0047c780
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042e7c0
push 0x527b44
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0047e030
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c8be
push 0
mov ecx, esi
call fcn.0047c780
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x47c8cf
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x47c911
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x47c911
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x47c911
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.00436750
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.004292e0
lea ecx, [ebp - 0x2c]
call fcn.0047be10
lea ecx, [ebp - 0x28]
call fcn.004292e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 4