joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022a0
Capabilities:
Execute command

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov esi, eax
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
call sym._totalUsers
lea ecx, [esi - 1]
test esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], ecx
je 0x4023cb
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ebp, dword [edx + edi*4]
mov eax, dword [ebp + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp]
mov dword [esp], str.e_91m_n_n_t_t
mov dword [esp + 4], eax
call sym._wprintf
cmp dword [esp + 0x34], 0x32
jbe 0x402420
mov edx, dword [esp + 0x2c]
mov eax, edi
mov dword [esp], str.___e_91m_de_33m_e_93m_de_92m_s
add eax, 1
mov dword [esp + 4], eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], edx
call sym._wprintf
mov edx, dword [ebp + 4]
test edx, edx
je 0x4023d3
xor esi, esi
nop
mov eax, dword [ebp + 8]
mov ebx, dword [eax + esi*4]
add esi, 1
mov eax, dword [ebx]
mov dword [esp], eax
call sym._capitalizedString
mov edi, eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x44], 0x40a9d2
mov dword [esp + 0x48], str.Erkek
mov dword [esp + 0x4c], str.Bilinmiyor__MUHTEMEL_HATA_
mov dword [esp + 0x10], eax
movzx eax, byte [ebx + 0xc]
mov eax, dword [esp + eax*4 + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], edi
mov dword [esp], str.e_91m_t_t_t
mov dword [esp + 8], eax
call sym._wprintf
mov dword [esp], edi
call sym._free
cmp dword [ebp + 4], esi
ja 0x402340
cmp dword [esp + 0x34], 0x32
ja 0x4023d3
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x28], edx
je 0x402451
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
ja 0x4022e0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x28], ecx
je 0x402451
mov dword [esp], str.e_95m_n_t_t_Di
call sym._wprintf
lea esi, [esi]
call sym.__getch
mov dword [esp], 0x14
mov ebx, eax
call sym._Sleep_4
sub esp, 4
cmp bl, 0xd
jne 0x4023f0
mov dword [esp], 0x40aaf4
call sym._system
jmp 0x4023b9
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp], 0x40a9ac
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call sym._wprintf
mov eax, dword [ebp + 4]
test eax, eax
je 0x402467
mov eax, edi
add eax, 1
mov dword [esp + 0x30], eax
jmp 0x40233c
mov dword [esp], 0x40aaf8
call sym._wprintf
call sym._sleepUntilEnter
jmp 0x4023b9
mov eax, dword [esp + 0x28]
add eax, 1
mov dword [esp + 0x30], eax
jmp 0x4023ab
Function at 0x4024c0
Capabilities:
Execute command
Set console window title

Disassembly:
push edi
sub esp, 0x218
mov edi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], 0x20000
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call sym.__setmode
mov dword [esp + 4], 0x20000
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym.__setmode
mov dword [esp + 4], 0x20000
mov eax, dword [edi + 0x50]
lea edi, [esp + 0x30]
mov dword [esp], eax
call sym.__setmode
mov eax, dword [str.FSAL_Panel_v]
mov ecx, 0x78
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20c], 0
mov dword [esp + 0x12], eax
mov eax, dword [0x40ab66]
mov dword [esp + 0x16], eax
mov eax, dword [0x40ab6a]
mov dword [esp + 0x1a], eax
mov eax, dword [0x40ab6e]
mov dword [esp + 0x1e], eax
mov eax, dword [0x40ab72]
mov dword [esp + 0x22], eax
mov eax, dword [0x40ab76]
mov dword [esp + 0x26], eax
movzx eax, word [0x40ab7a]
mov word [esp + 0x2a], ax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [str.1.1.03]
lea edi, [esp + 0x12]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._wcscat
mov dword [esp], edi
call sym._SetConsoleTitleW_4
sub esp, 4
mov dword [esp], 0x40aaf4
call sym._system
add esp, 0x218
pop edi
ret
Function at 0x404c90
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x410044
call sym._EnterCriticalSection_4
mov ebx, dword [0x41003c]
sub esp, 4
test ebx, ebx
je 0x404cdb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x404cd4
test esi, esi
je 0x404cd4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x404cb0
mov dword [esp], 0x410044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x404ec0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x404f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x404fe8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x404f4e
cmp eax, 4
jne 0x404f70
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x404f5e
cmp edx, 4
je 0x404f5e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00404ec0
Function at 0x4090d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 1
jle 0x4091e1
push str.sysrun
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.0044f173
add esp, 8
test eax, eax
jne 0x4091e1
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 0x4091e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409176
cmp dword [ebp + 8], 2
jle 0x40915f
push str.sschanged
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.0044f173
add esp, 8
test eax, eax
jne 0x40915f
push 1
push 0x47a778
call fcn.00409020
add esp, 8
push 0x47a7a4
push 1
mov eax, dword [0x490050]
push eax
call fcn.00408be0
add esp, 0xc
jmp 0x4091e1
push 0x47a7c0
push 1
mov ecx, dword [0x490050]
push ecx
call fcn.00408be0
add esp, 0xc
call fcn.0040b540
mov ecx, eax
call fcn.0040b600
mov edx, 1
test edx, edx
je 0x4091c7
push 0xffffffffffffffff
call fcn.0040b540
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4091c5
call fcn.0040b540
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4091c7
jmp 0x409198
push str._Loader_:Loader
push 1
mov edx, dword [0x490050]
push edx
call fcn.00408be0
add esp, 0xc
xor eax, eax
jmp 0x4091e4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x40ddc0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46eb09
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.00407560
sub esp, 8
lea ecx, [edi + 0x18]
mov dword [esp + 0x24], 0
call fcn.0040e790
sub esp, 8
lea ecx, [edi + 0xb0]
mov byte [esp + 0x24], 1
call fcn.0040e790
lea ecx, [edi + 0x148]
mov byte [esp + 0x1c], 2
call fcn.0040f190
mov byte [esp + 0x1c], 3
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
call fcn.0040fcf0
mov dword [edi + 0x15c], eax
lea ecx, [edi + 0x164]
mov byte [esp + 0x1c], 4
call fcn.00407560
lea ecx, [edi + 0x17c]
mov byte [esp + 0x1c], 5
call fcn.00407560
lea esi, [edi + 0x194]
mov byte [esp + 0x1c], 6
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00407560
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 7
call fcn.00407560
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 8
call fcn.00407560
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 9
call fcn.00407560
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0xa
call fcn.00407560
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 0xb
call fcn.00407560
lea ecx, [esp + 0xb]
call fcn.004030b0
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.0040e790
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 0xd
call fcn.00407560
lea ecx, [esi + 0xb0]
mov byte [esp + 0x1c], 0xe
call fcn.00407790
lea ecx, [edi + 0x300]
mov byte [esp + 0x1c], 0xf
call fcn.00407560
lea ecx, [edi + 0x318]
mov byte [esp + 0x1c], 0x10
call fcn.00407560
lea ecx, [edi + 0x330]
mov byte [esp + 0x1c], 0x11
call fcn.0042fc80
mov byte [esp + 0x1c], 0x12
lea ecx, [esp + 0xb]
mov dword [edi + 0x408], 0
call fcn.004030b0
push 0x200
lea ecx, [edi + 0x40c]
mov dword [edi + 0x40c], 0
mov dword [edi + 0x410], 0
mov dword [edi + 0x414], 0
call fcn.00422200
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40e1a0
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 0x46ebe3
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp byte [0x490610], 0
push ebx
push esi
push edi
jne 0x40e30c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push eax
mov dword [0x490044], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x40e221
push 0x418
call fcn.0044e4b5
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
test eax, eax
je 0x40e20a
mov ecx, eax
call fcn.0040ddc0
jmp 0x40e20c
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 0x40e236
call fcn.0040d8c0
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.00453d00
push 0
push 0x989680
push edx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.00453cc0
push 0
sub edi, eax
push 0xa
sbb esi, edx
push esi
push edi
call fcn.00453d00
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.0040c2c0
mov dword [esp + 0x10], vtable.log4cplus::Logger.0
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40e2f0
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 0x40e2f0
test edx, edx
je 0x40e2f0
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.0042d8c0
mov byte [0x490610], 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 0x411c30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46ee2b
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 0x411c80
lea ecx, [esi + 0x158]
mov dword [esi + 4], 0x47b5f8
call fcn.004104d0
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.00410e80
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.00411ba0
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.00411f10
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x4121b0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x46f366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0040dcb0
mov ebp, eax
mov dword [esp + 0x10], 0
lea edi, [esi + 0x48]
mov dword [esp + 0x9c], 0
lea ecx, [edi + 4]
call fcn.00416310
test eax, eax
jne 0x412209
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00409a50
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
push 0
add ecx, eax
call fcn.00409a10
cmp byte [esi + 0x34], 0
je 0x412260
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
mov dword [esp + 0xa0], 0
call fcn.0040a2b0
push eax
call fcn.00458c70
add esp, 8
cmp eax, 0xffffffff
je 0x412259
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0x150]
jge 0x412260
push 0xe
jmp 0x4123c1
mov edx, dword [esi + 0x154]
lea ebx, [esi + 0xf0]
test edx, edx
jle 0x41237a
mov ecx, ebx
call fcn.004107c0
push 0x47b9c8
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.00418170
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 3
call fcn.0040a2b0
push eax
call fcn.00456cab
add esp, 4
test eax, eax
je 0x4122b1
call fcn.004521b2
push ebx
mov edx, str.Renaming_file
lea ecx, [esp + 0x60]
call fcn.0040c740
add esp, 4
push str._to
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], 4
call fcn.00417db0
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 5
call fcn.00417de0
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x40c9b0
push 0x48fed8
mov ecx, ebp
mov byte [esp + 0xb0], 6
call fcn.0040cbd0
lea ecx, [esp + 0x2c]
call fcn.00407890
lea ecx, [esp + 0x44]
call fcn.00407890
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 3
call fcn.00407890
lea ecx, [esp + 0x14]
call fcn.0040a2b0
push eax
mov ecx, ebx
call fcn.0040a2b0
push eax
call fcn.00457208
add esp, 8
test eax, eax
je 0x412362
call fcn.004521b2
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push eax
mov edx, ebx
mov ecx, ebp
call fcn.00410580
add esp, 8
lea ecx, [esp + 0x14]
jmp 0x4123b2
push str._has_no_backups_specified
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.00418170
add esp, 4
push 0
push eax
push str.log4cplus:
push 0x40c9b0
push 0x48fed8
mov ecx, ebp
mov byte [esp + 0xb0], 7
call fcn.0040cbd0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 0
call fcn.00407890
push 0x12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push ebx
mov edx, edi
mov ecx, ebp
call fcn.00410740
mov ecx, dword [esp + 0x98]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 4
Function at 0x416440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46ff08
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x416667
cmp byte [edi + 0x46], 0
je 0x416667
mov esi, dword [edi]
call fcn.00409d70
movzx eax, ax
push eax
mov ecx, edi
call dword [esi + 0xc]
movzx eax, ax
mov dword [esp + 0x1c], eax
call fcn.00409d70
movzx eax, ax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00409d30
add esp, 8
test al, al
je 0x4164c6
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x13]
call fcn.004030b0
push eax
lea ecx, [esp + 0x3c]
call fcn.004078e0
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.004087c0
push 0
push 8
lea ecx, [esp + 0x40]
call fcn.00408860
test al, al
je 0x416517
lea ecx, [esp + 0x38]
mov byte [esp + 0x14], 0
call fcn.004083e0
xorps xmm0, xmm0
push 8
lea ecx, [esp + 0x3c]
movq qword [eax], xmm0
call fcn.00408950
mov dword [esp + 0x5c], 0
lea ebp, [edi + 0x48]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.004076e0
mov ecx, eax
call fcn.00403090
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00407940
add esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
call fcn.004076e0
mov ecx, eax
call fcn.00403090
mov ecx, dword [edi + 0x40]
lea ebx, [esp + 0x24]
mov edx, dword [ecx]
push ebx
push esi
push eax
push ebp
call dword [edx + 0x20]
sub eax, 0
je 0x41659a
dec eax
je 0x41659e
sub eax, 2
je 0x416647
lea ecx, [esp + 0x38]
xor bl, bl
call fcn.00408290
mov al, bl
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x46], 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
call fcn.004076e0
mov ecx, eax
call fcn.00403090
mov esi, dword [esp + 0x24]
sub esi, eax
je 0x4165e3
push dword [edi + 0x50]
lea eax, [esp + 0x38]
push esi
push 1
push eax
lea ecx, [esp + 0x48]
call fcn.004076e0
mov ecx, eax
call fcn.00403090
push eax
call fcn.0045718a
add esp, 0x10
cmp esi, eax
jne 0x41657a
cmp byte [edi + 0x46], 0
je 0x416647
test esi, esi
jne 0x416522
mov ecx, dword [esp + 0x48]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x41663e
lea ebx, [ecx + 8]
push esi
push ebx
lea ecx, [esp + 0x40]
call fcn.00408860
test al, al
je 0x416522
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x38]
mov byte [esp + 0x18], 0
call fcn.004083e0
xorps xmm0, xmm0
push ebx
lea ecx, [esp + 0x3c]
movq qword [eax + esi], xmm0
call fcn.00408950
jmp 0x416522
lea ecx, [esp + 0x38]
call fcn.00407b80
lea ecx, [esp + 0x38]
mov bl, 1
call fcn.00408290
mov al, bl
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x54]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419710
Capabilities:
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 0x46f543
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x41977c
push 0x418
call fcn.0044e4b5
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
test eax, eax
je 0x419765
mov ecx, eax
call fcn.0040ddc0
mov esi, eax
jmp 0x419767
xor esi, esi
push esi
mov dword [esp + 0x30], 0xffffffff
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
add esi, 0xb0
mov ecx, esi
call fcn.0041d3e0
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.00432f40
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004091f0
push dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x30], 1
call fcn.0041b2a0
lea ecx, [esp + 8]
call fcn.00407890
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x419b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f523
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 7]
push eax
mov dword [esp + 0xc], edi
call fcn.004037a0
push eax
lea ecx, [esp + 9]
call fcn.00407400
lea eax, [esp + 5]
push eax
lea ecx, [esp + 0xa]
call fcn.00407400
lea eax, [esp + 6]
push eax
mov ecx, edi
call fcn.004078e0
push 0
push 0
mov ecx, edi
call fcn.00407e70
push 0xffffffffffffffff
push 0
push dword [esp + 0x24]
mov ecx, edi
call fcn.00407ad0
mov dword [esp + 0x14], 0
mov al, byte [edi + 0x20]
and al, 0xfe
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
or al, 2
mov byte [edi + 0x20], al
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [esp + 0x14], 1
lea ecx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00407560
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x50], eax
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x421360
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46fd54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
cmp dword [esp + 0x28], 0
push edi
mov dword [esp + 0x10], ebx
je 0x4213ae
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x14], 0x47dda0
call fcn.004104d0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov ecx, ebx
call fcn.00420850
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
mov eax, dword [ebx + 0x14]
mov dword [ebx], vtable.log4cplus::spi::LoggerImpl.1.0
mov eax, dword [eax + 4]
mov dword [eax + ebx + 0x14], vtable.log4cplus::spi::LoggerImpl.0
lea eax, [esp + 0xb]
push eax
call fcn.004037a0
push eax
lea ecx, [esp + 0x30]
call fcn.00407400
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xe]
call fcn.00407400
lea eax, [esp + 0xa]
push eax
lea ecx, [ebx + 0x18]
call fcn.004078e0
push 0
push 0
lea ecx, [ebx + 0x18]
call fcn.00407e70
push 0xffffffffffffffff
push 0
push dword [esp + 0x2c]
lea ecx, [ebx + 0x18]
call fcn.00407ad0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x38], 1
pop edi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

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

Disassembly:
push 0xffffffffffffffff
push 0x470fab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push dword [0x490044]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4218b7
push 0x418
call fcn.0044e4b5
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x4218a0
mov ecx, eax
call fcn.0040ddc0
mov esi, eax
jmp 0x4218a2
xor esi, esi
push esi
mov dword [esp + 0x18], 0xffffffff
push dword [0x490044]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 0x2c]
lea eax, [edi + 0x18]
push dword [esp + 0x2c]
add esi, 0x330
push dword [esp + 0x2c]
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
call fcn.004301f0
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14