joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65c42590
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
test byte [0x65c45018], 8
jne 0x65c42700
lea eax, [esi - 0x101]
cmp ax, 1
jbe 0x65c425d8
cmp si, 0x104
je 0x65c425d8
mov eax, 9
mov word [0x65c490c8], ax
mov eax, 1
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x65c42789
lea edx, [ebx + 0xa8]
mov word [eax + 8], si
mov dword [eax], edx
mov edx, dword [ebx + 0xac]
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ebx + 0xac], eax
mov eax, dword [0x65c49010]
test eax, eax
je 0x65c426c0
mov edx, dword [0x65c4900c]
mov esi, dword [sym.imp.user32.dll_PostMessageW]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
call esi
mov eax, dword [ebx + 0xb0]
sub esp, 0x10
test eax, eax
je 0x65c42770
cmp eax, dword [0x65c49010]
jne 0x65c426d0
mov eax, dword [ebx + 0xb4]
mov edx, dword [0x65c4900c]
test eax, eax
je 0x65c42694
cmp eax, dword [ebx + 0xb0]
je 0x65c42694
cmp dword [0x65c49010], eax
jne 0x65c42744
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], 0
call esi
xor eax, eax
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx + 0xb0]
mov esi, dword [sym.imp.user32.dll_PostMessageW]
test eax, eax
je 0x65c42730
mov edx, dword [0x65c4900c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call esi
sub esp, 0x10
jmp 0x65c42670
movzx eax, si
mov dword [esp + 0xc], str.DG_CONTROL_DAT_NULL_MSG_i_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.TWAIN_ControlNull
mov dword [esp + 4], 0x65c45018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x65c425ab
mov eax, dword [ebx + 0xb4]
mov edx, dword [0x65c4900c]
test eax, eax
je 0x65c42694
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call esi
mov edx, dword [0x65c4900c]
sub esp, 0x10
jmp 0x65c42694
mov eax, dword [ebx + 0xb4]
mov edx, dword [0x65c4900c]
test eax, eax
jne 0x65c42688
jmp 0x65c42694
mov word [0x65c490c8], 2
mov eax, 1
jmp 0x65c425ce
Function at 0x65c42930
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 0xc]
test byte [0x65c45018], 8
jne 0x65c429f0
mov ebx, dword [0x65c490c0]
test ebx, ebx
je 0x65c42a30
mov edx, dword [edi]
xor esi, esi
jmp 0x65c4296e
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x65c42a30
mov ebx, eax
cmp dword [ebx + 4], edx
jne 0x65c42960
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x402
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [ebx + 0xa4]
sub esp, 0x14
mov edi, eax
test esi, esi
je 0x65c42a20
mov eax, dword [ebx]
mov dword [esi], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp di, 1
sbb eax, eax
not eax
and eax, 0xb
mov word [0x65c490c8], ax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.DG_CONTROL_DAT_IDENTITY_MSG_CLOSEDS_n
mov dword [esp + 8], str.TWAIN_CloseDS
mov dword [esp + 4], 0x65c45018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x65c42949
mov eax, dword [ebx]
mov dword [0x65c490c0], eax
jmp 0x65c429a8
mov eax, 3
mov edi, 1
mov word [0x65c490c8], ax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x65c43b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x65c43b68
cmp byte [esi + ebx - 1], 0xa
je 0x65c43b3c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x65c490a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x65c441c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x65c44398
mov edi, dword [0x65c490a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x65c442a7
test byte [0x65c45040], 8
jne 0x65c44340
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x65c45050], 8
jne 0x65c44300
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x65c44249
cmp esi, 3
jbe 0x65c442b8
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x65c4425a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x65c47604]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x65c44249
mov dword [esp], 0x65c45050
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x65c44220
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x65c44220
mov dword [esp], 0x65c45040
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x65c4420b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x65c44213
mov eax, 0xffffffff
jmp 0x65c442a7
Function at 0x401390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48baac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 0
je 0x4013c4
mov dword [ebp - 0x1c], 0x20119
jmp 0x4013cb
mov dword [ebp - 0x1c], 0x20219
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40143f
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x401435
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e301
mov esp, ebp
pop ebp
ret
Function at 0x401ea0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e0f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x48baac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x58]
call fcn.0040c1c0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
push 0xea60
mov ecx, dword [ebp - 0x48]
call fcn.0040c590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040c3d0
call fcn.0040c1f0
call fcn.00401000
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0x14]
call fcn.00401720
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x44
call fcn.00402980
jmp 0x401f36
lea ecx, [ebp - 0x14]
call fcn.00402a70
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x44
call fcn.00402810
push eax
lea ecx, [ebp - 0x14]
call fcn.004028a0
movzx eax, al
test eax, eax
je 0x402006
lea ecx, [ebp - 0x14]
call fcn.00402a50
mov ecx, eax
call fcn.00407520
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x401f7a
mov dword [ebp - 0x30], 0
jmp 0x401fea
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
add dword [ebp - 0x1c], 1
cmp byte [ebp - 0x15], 0
jne 0x401f89
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3fffffff
jle 0x401fbf
mov dword [ebp - 0x2c], 0
jmp 0x401fe4
mov eax, dword [ebp - 0x20]
shl eax, 1
call fcn.00460420
mov dword [ebp - 0x3c], esp
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00401010
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x402001
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
jmp 0x401f2e
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044e301
mov esp, ebp
pop ebp
ret
Function at 0x408fd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 1
jle 0x4090e1
push str.sysrun
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.0044f161
add esp, 8
test eax, eax
jne 0x4090e1
push str.GlobalNamLoaderMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4090e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409076
cmp dword [ebp + 8], 2
jle 0x40905f
push str.sschanged
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.0044f161
add esp, 8
test eax, eax
jne 0x40905f
push 1
push 0x47a768
call fcn.00408f20
add esp, 8
push 0x47a794
push 1
mov eax, dword [0x490050]
push eax
call fcn.00408ae0
add esp, 0xc
jmp 0x4090e1
push 0x47a7b0
push 1
mov ecx, dword [0x490050]
push ecx
call fcn.00408ae0
add esp, 0xc
call fcn.0040b440
mov ecx, eax
call fcn.0040b500
mov edx, 1
test edx, edx
je 0x4090c7
push 0xffffffffffffffff
call fcn.0040b440
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4090c5
call fcn.0040b440
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4090c7
jmp 0x409098
push str._Loader_:Loader
push 1
mov edx, dword [0x490050]
push edx
call fcn.00408ae0
add esp, 0xc
xor eax, eax
jmp 0x4090e4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x40b0a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x48baac]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40b0ec
xor eax, eax
jmp 0x40b182
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x40b173
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044f161
add esp, 8
test eax, eax
jne 0x40b16e
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x238], eax
push 0
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x40b182
jmp 0x40b0ec
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e301
mov esp, ebp
pop ebp
ret

Function at 0x40bb70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48baac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x1c], 0x20219
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40bc0e
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40bc04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e301
mov esp, ebp
pop ebp
ret 8
Function at 0x40bc50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e463
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x48baac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
push 1
lea ecx, [ebp - 0x14]
call fcn.00401370
push 8
call fcn.0044e3b4
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x40bcba
push 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0040bdc0
mov dword [ebp - 0x20], eax
jmp 0x40bcc1
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402700
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.00402a40
push eax
push 0x40be00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40bd12
lea ecx, [ebp - 0x14]
call fcn.0040bd90
jmp 0x40bd29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
push 0x484dc8
lea edx, [ebp - 0x28]
push edx
call fcn.0044fb3b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040bd60
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044e301
mov esp, ebp
pop ebp
ret
Function at 0x40dcc0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46e9b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
call fcn.00407540
sub esp, 8
lea ecx, [edi + 0x18]
mov dword [esp + 0x24], 0
call fcn.0040e690
sub esp, 8
lea ecx, [edi + 0xb0]
mov byte [esp + 0x24], 1
call fcn.0040e690
lea ecx, [edi + 0x148]
mov byte [esp + 0x1c], 2
call fcn.0040f090
mov byte [esp + 0x1c], 3
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
call fcn.0040fbf0
mov dword [edi + 0x15c], eax
lea ecx, [edi + 0x164]
mov byte [esp + 0x1c], 4
call fcn.00407540
lea ecx, [edi + 0x17c]
mov byte [esp + 0x1c], 5
call fcn.00407540
lea esi, [edi + 0x194]
mov byte [esp + 0x1c], 6
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00407540
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.00407540
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 8
call fcn.00407540
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 9
call fcn.00407540
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0xa
call fcn.00407540
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 0xb
call fcn.00407540
lea ecx, [esp + 0xb]
call fcn.00402cb0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov word [esi + 0x9c], 0
mov byte [esi + 0x9e], 0
lea esi, [edi + 0x238]
mov byte [esp + 0x1c], 0xc
sub esp, 8
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.0040e690
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 0xd
call fcn.00407540
lea ecx, [esi + 0xb0]
mov byte [esp + 0x1c], 0xe
call fcn.00407690
lea ecx, [edi + 0x300]
mov byte [esp + 0x1c], 0xf
call fcn.00407540
lea ecx, [edi + 0x318]
mov byte [esp + 0x1c], 0x10
call fcn.00407540
lea ecx, [edi + 0x330]
mov byte [esp + 0x1c], 0x11
call fcn.0042fb70
mov byte [esp + 0x1c], 0x12
lea ecx, [esp + 0xb]
mov dword [edi + 0x408], 0
call fcn.00402cb0
push 0x200
lea ecx, [edi + 0x40c]
mov dword [edi + 0x40c], 0
mov dword [edi + 0x410], 0
mov dword [edi + 0x414], 0
call fcn.00422100
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40e0a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46eab3
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x490570], 0
push ebx
push esi
push edi
jne 0x40e20c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push eax
mov dword [0x490044], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x40e121
push 0x418
call fcn.0044e3b4
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
test eax, eax
je 0x40e10a
mov ecx, eax
call fcn.0040dcc0
jmp 0x40e10c
xor eax, eax
push eax
mov dword [esp + 0x30], 0xffffffff
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [0x490374]
test ebx, ebx
jne 0x40e136
call fcn.0040d7c0
mov ebx, dword [0x490374]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [esp + 0x14]
xor edi, edi
or edi, dword [esp + 0x10]
push 0
add edi, 0x2ac18000
push 0x989680
adc esi, 0xfe624e21
push esi
push edi
call fcn.00453c00
push 0
push 0x989680
push edx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.00453bc0
push 0
sub edi, eax
push 0xa
sbb esi, edx
push esi
push edi
call fcn.00453c00
movq xmm0, qword [esp + 0x10]
movq qword [ebx + 0x30], xmm0
mov dword [esp + 0x18], eax
movq xmm0, qword [esp + 0x18]
lea ecx, [esp + 0x10]
movq qword [ebx + 0x38], xmm0
call fcn.0040c1c0
mov dword [esp + 0x10], vtable.log4cplus::Logger.0
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40e1f0
mov eax, dword [ecx + 0x14]
lea edx, [ecx + 0x14]
mov eax, dword [eax + 4]
add edx, eax
or ecx, 0xffffffff
lea eax, [edx + 8]
lock xadd dword [eax], ecx
cmp ecx, 1
sete al
test al, al
je 0x40e1f0
test edx, edx
je 0x40e1f0
mov eax, dword [edx]
push 1
mov ecx, edx
call dword [eax]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], vtable.log4cplus::spi::AppenderAttachable.0
call fcn.0042d7c0
mov byte [0x490570], 1
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4102f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f219
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov dword [esp + 0x14], 0
push esi
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x20]
push edi
mov edi, ecx
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov esi, dword [edi + 0x30]
mov dword [esp + 0x10], 1
mov ecx, dword [esi]
cmp ecx, dword [ebp]
je 0x410365
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x41035b
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp]
mov dword [esi], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x410384
lea esp, [esp]
push dword [esi + 4]
mov ecx, dword [esi + 8]
push edi
push 1
call ecx
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jne 0x410370
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x411b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46ed0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
cmp dword [esp + 0x2c], 0
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
je 0x411b80
lea ecx, [esi + 0x158]
mov dword [esi + 4], 0x47b5e0
call fcn.004103d0
mov dword [esp + 0x14], 0
mov dword [esp + 4], 1
push ecx
push dword [esp + 0x30]
push dword [esp + 0x30]
push ecx
push dword [esp + 0x2c]
mov ecx, esi
call fcn.00410d80
mov dword [esp + 0x14], 2
mov eax, dword [esi + 4]
mov dword [esi], vtable.log4cplus::FileAppender.0
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [eax + esi + 4], vtable.log4cplus::FileAppender.1.0
call fcn.00411aa0
push dword [esp + 0x24]
mov dword [esp + 0x18], 3
mov eax, dword [esi + 4]
push dword [esp + 0x24]
mov dword [esi], vtable.log4cplus::RollingFileAppender.0
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [eax + esi + 4], vtable.log4cplus::RollingFileAppender.1.0
call fcn.00411e10
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18