joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3481319b
Capabilities:
Check os version
Get http document via iwebbrowser2
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
jmp fcn.34812a85

Function at 0x34814117
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x3485074b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esi], vtable.CDataSource.0
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.348141f8
lea eax, [esi + 0x64]
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
push eax
mov dword [esp + 0x20], edi
mov dword [esi + 0x60], edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
or eax, 0xffffffff
lea ebx, [esi + 0x98]
mov ecx, ebx
mov byte [esp + 0x1c], 1
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
call fcn.34814475
mov eax, dword [esp + 0x24]
cmp eax, edi
mov dword [ebx], vtable.CDBInitProperties.0
je 0x348141f3
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
mov dword [esi + 8], esi
jmp 0x348141dc
Function at 0x348151b2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x3485058d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
or eax, 0xffffffff
mov dword [esi], vtable.CDBSession.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
lea eax, [esi + 0x68]
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
lea ebx, [esi + 0x88]
mov ecx, ebx
mov byte [esp + 0x1c], 1
mov dword [esi + 0x80], edi
call fcn.34814475
mov eax, dword [esp + 0x24]
cmp eax, edi
mov dword [ebx], vtable.CSessionProperties.0
mov dword [esi + 0x98], edi
je 0x34815283
mov dword [esi + 0x1c], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
mov dword [esi + 0x1c], esi
jmp 0x3481526c
Function at 0x34815538
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x34850829
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], esi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov ebp, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
add ebx, 0x64
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x3c]
cmp eax, esi
mov dword [esp + 0x28], esi
je 0x34824c1c
mov dword [eax], esi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], esi
je 0x34824c23
or eax, 0xffffffff
cmp dword [ecx + 0x90], eax
je 0x34824c2a
cmp dword [ecx + 0x94], eax
je 0x34824c2a
push 0x9c
call fcn.3481f5da
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
mov byte [esp + 0x28], 1
je 0x348155f2
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
call fcn.348151b2
mov esi, eax
test esi, esi
mov byte [esp + 0x28], 0
mov dword [esp + 0x1c], esi
je 0x34824c86
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x94]
mov ecx, dword [eax + 0x90]
push edx
push ecx
push eax
mov ecx, esi
call fcn.348156de
mov edi, eax
test edi, edi
jl 0x34824c8d
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xa4]
push 0x11c
call fcn.3481ed25
test eax, eax
jne 0x34815662
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x90]
push 0
push 1
push 0x4d
push ecx
add eax, 0x60
push eax
call sub.acecore.dll_Ordinal_176
test eax, eax
mov dword [esp + 0x18], eax
jl 0x34824c9a
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x38]
or eax, 0xffffffff
cmp dword [esp + 0x34], 0
mov dword [edx + 0x94], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x90], eax
je 0x34815695
push ebx
push 0x3485c818
call fcn.3481f5f0
test eax, eax
je 0x34824ca1
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
mov ecx, dword [edx]
push eax
push ebx
push esi
call ecx
mov edx, dword [esp + 0x3c]
cmp dword [edx], 0
mov ebx, dword [esp + 0x30]
je 0x34824cac
test edi, edi
jl 0x34824c47
test ebx, ebx
je 0x348156c6
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
mov edi, 0x80070057
jmp 0x34824c4e
mov edi, 0x8000ffff
jmp 0x34824c4e
lea eax, [esp + 0x18]
push eax
call fcn.348145ec
mov edi, eax
cmp edi, esi
jge 0x348155ca
mov dword [esp + 0x14], esi
jmp 0x348156b3
cmp dword [esp + 0x14], 1
jne 0x34824c5d
mov eax, dword [ebp + 8]
push 0x3485323c
push edi
push eax
call fcn.3481febc
test edi, edi
jge 0x348156bb
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x348156bb
mov ecx, esi
call fcn.34815c0e
push esi
call fcn.3481f800
add esp, 4
jmp 0x348156bb
mov edi, 0x8007000e
jmp 0x34824c4e
mov dword [esp + 0x14], 0
jmp 0x348156b3
mov edi, 0x80004005
jmp 0x34824c4e
mov ebx, dword [esp + 0x30]
mov edi, 0x80040e22
jmp 0x34824c4e
mov edi, 0x80004002
jmp 0x34824c4e
Function at 0x348174ed
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x34850379
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 8]
add esi, 0xf8
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx + 0x54]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0x40
lea edx, [edi + 0xc]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
push eax
push ebp
push ecx
push edx
mov dword [esp + 0x38], 0
call fcn.3481e95a
mov ebx, eax
test ebx, ebx
jl 0x34823b20
cmp dword [esp + 0x28], 1
jne 0x3481758b
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x3481758b
test ebp, ebp
je 0x3481758b
cmp dword [ebp], 0
je 0x34823ae7
test ebx, ebx
jl 0x34823b20
test esi, esi
je 0x3481759e
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
add eax, 8
push eax
push 0x34858688
call fcn.3481f5f0
test eax, eax
je 0x3481758b
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x110]
test ecx, ecx
je 0x3481758b
mov edx, dword [esp + 0x34]
push edx
push ebp
call fcn.3483111c
mov ebx, eax
jmp 0x3481758b
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push 0
push 0x348564bc
push ebx
push ecx
push edx
call fcn.3481cfc1
jmp 0x34817593
Function at 0x3481806b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x348510fa
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
lea eax, [esi + 0x48]
push eax
mov dword [esp + 0x20], edi
mov dword [esi], vtable.CRowset.0
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
or ebp, 0xffffffff
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], 1
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
call fcn.3481cbc7
and dword [esi + 0xac], 0xfffffffc
mov eax, dword [esp + 0x24]
cmp eax, edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], ebp
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf8], ebp
mov dword [esi + 0xfc], 1
jne 0x3482599c
mov dword [esi + 8], esi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
mov dword [esi + 8], eax
jmp 0x348181b1
Function at 0x3481c8b9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x348501b3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.CCommand.0
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
call fcn.3481c99a
lea eax, [esi + 0xf8]
push eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x24]
cmp eax, edi
mov byte [esp + 0x18], 2
mov dword [esi + 0x110], edi
jne 0x3481c95e
mov eax, esi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x58]
cmp ecx, edi
mov dword [esi + 0x38], ecx
jne 0x3482389e
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
call fcn.3484ca97
jmp 0x3481c984
Function at 0x3481e8ac
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x34850333
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov ebx, dword [esp + 0x20]
mov esi, dword [ebx + 8]
add esi, 0x64
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x80]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x1a
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [eax + 0x98]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov dword [esp + 0x34], 0
call fcn.3481e95a
mov edi, eax
test edi, edi
jl 0x34823aba
test esi, esi
je 0x3481e943
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x14
mov ecx, dword [ebx + 8]
push 0x3485c828
push edi
push ecx
call fcn.3481febc
jmp 0x3481e938

Function at 0x3481f5cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3485dd14]
jne 0x3484f4b1
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x34867200], eax
mov dword [0x348671fc], ecx
mov dword [0x348671f8], edx
mov dword [0x348671f4], ebx
mov dword [0x348671f0], esi
mov dword [0x348671ec], edi
mov word [0x34867218], ss
mov word [0x3486720c], cs
mov word [0x348671e8], ds
mov word [0x348671e4], es
mov word [0x348671e0], fs
mov word [0x348671dc], gs
pushfd
pop dword [0x34867210]
mov eax, dword [ebp]
mov dword [0x34867204], eax
mov eax, dword [ebp + 4]
mov dword [0x34867208], eax
lea eax, [ebp + 8]
mov dword [0x34867214], eax
mov eax, dword [ebp - 0x320]
mov dword [0x34867150], 0x10001
mov eax, dword [0x34867208]
mov dword [0x34867104], eax
mov dword [0x348670f8], 0xc0000409
mov dword [0x348670fc], 1
mov eax, dword [0x3485dd14]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348653a4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x34867148], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34860cd0
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x34867148], 0
jne 0x3484f5a1
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x3482d070
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x348506d9
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 8]
add esi, 0x64
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0x90
push 0
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
mov dword [esp + 0x30], 0
call fcn.34814c28
test esi, esi
mov edi, eax
je 0x3482d0e3
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x18
Function at 0x3482d0f7
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x3485071a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.3481cbc7
mov ebp, dword [esp + 0x38]
mov ebx, dword [ebp + 8]
add ebx, 0x64
xor edi, edi
push ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov eax, 1
cmp dword [ecx + 0x80], eax
mov byte [esp + 0x30], 1
jne 0x3482d161
mov esi, 0x80004005
jmp 0x3482d2d8
mov edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x80], eax
mov eax, dword [ebp + 8]
push 0x9c
mov dword [eax + 0x60], ecx
call fcn.3481f5da
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, edi
mov byte [esp + 0x30], 2
je 0x3482d197
push edi
mov ecx, eax
call fcn.348151b2
mov edi, eax
test edi, edi
mov byte [esp + 0x30], 1
jne 0x3482d1aa
mov esi, 0x8007000e
jmp 0x3482d2d8
mov ecx, edi
call fcn.34815766
mov esi, eax
test esi, esi
jl 0x3482d2c8
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
mov dword [edi + 0x98], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [ebp + 8]
push pe_nt_image_headers32
mov dword [edi + 0x54], eax
call fcn.3481f5da
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x30], 3
je 0x3482d20b
push 0
mov ecx, eax
call fcn.3481806b
mov ebx, eax
jmp 0x3482d20d
xor ebx, ebx
test ebx, ebx
mov byte [esp + 0x30], 1
jne 0x3482d220
mov esi, 0x8007000e
jmp 0x3482d2c4
lea ecx, [esp + 0x14]
call fcn.3481f058
mov esi, eax
test esi, esi
jl 0x3482d2c4
push 0x34858780
lea ecx, [esp + 0x18]
call fcn.3481cbde
mov esi, eax
test esi, esi
jl 0x3482d2c4
mov ebp, dword [ebp + 8]
add ebp, 0x98
push ebp
lea ecx, [esp + 0x18]
call fcn.3481ddb2
mov esi, eax
test esi, esi
jl 0x3482d2c4
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push 0
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.3481e4ab
mov esi, eax
test esi, esi
jl 0x3482d2c4
mov eax, dword [esp + 0x48]
push 0x34856b70
push 0
push 0
push 1
push 0
push 0
push 0
push 3
lea edx, [esp + 0x34]
push edx
push eax
push 0
push 0
push 0
push edi
push 0
push ebx
call fcn.3481a843
mov esi, eax
test esi, esi
jl 0x3482d2c4
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebx]
mov ecx, dword [ecx]
push edx
push eax
push ebx
call ecx
mov esi, eax
test esi, esi
jge 0x3482d2f1
mov ebx, dword [esp + 0x38]
mov ecx, edi
call fcn.34815c0e
push edi
call fcn.3481f800
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x3482d2f5
mov eax, dword [eax]
test eax, eax
je 0x3482d2f5
push eax
call fcn.3481f800
add esp, 4
jmp 0x3482d2f5
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x3482d300
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.3481ddcd
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x24
Function at 0x34833dd9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x34850d67
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 0xc]
push eax
mov dword [esi], vtable.CRowsetConnectionPoint.0
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], edi
call fcn.34829f4d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x24], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 8], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x34833e5a
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x34850d95
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
lea ebp, [esi + 0xc]
push ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x30]
test edi, edi
mov dword [esp + 0x20], 0
je 0x34833ea7
mov dword [edi], 0
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x34834009
test edi, edi
je 0x34834009
mov edx, dword [esi + 0x24]
mov eax, dword [ebx]
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push edx
push ebx
call eax
test eax, eax
jge 0x34833ee4
test ebp, ebp
je 0x34833eda
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 0x80040202
jmp 0x34834019
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x34833ef6
mov edx, dword [ecx + 8]
mov dword [esi + 0x40], edx
jmp 0x34833fbb
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
jb 0x34833f5a
add eax, 5
push eax
push 4
call dword [sym.imp.msvcr80.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
jne 0x34833f30
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
test ebp, ebp
je 0x34833f26
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 0x80040201
jmp 0x34834019
mov eax, dword [esi + 0x28]
test eax, eax
je 0x34833f53
mov edx, dword [esi + 0x48]
add edx, edx
add edx, edx
push edx
push eax
push edi
call sub.msvcr80.dll_memcpy
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.msvcr80.dll_free]
add esp, 0x10
add dword [esi + 0x48], 5
mov dword [esi + 0x28], edi
push 0x20
call fcn.3481f5da
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
mov byte [esp + 0x20], 1
je 0x34833f7f
lea ecx, [edi + 0x10]
call fcn.34829f4d
mov ecx, edi
jmp 0x34833f81
xor ecx, ecx
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x28]
mov dword [eax + edx*4], ecx
add dword [esi + 0x44], 1
test ecx, ecx
mov eax, dword [esi + 0x44]
mov byte [esp + 0x20], 0
jne 0x34833fb4
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
test ebp, ebp
je 0x34833f26
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 0x80040201
jmp 0x34834019
mov edi, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 4]
mov dword [edi], eax
mov edx, dword [esi + 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x34833fd7
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x28]
mov dword [esi + 0x2c], ecx
mov dword [ecx], eax
call fcn.348334f1
test eax, eax
je 0x34833f1b
push 0x4b
push 0
add esi, 0x30
push esi
call fcn.34829fe5
test ebp, ebp
je 0x34834005
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x34834019
test ebp, ebp
je 0x34834014
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 0x80004003
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x34834340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x34850e40
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CRowsetConnectionPoint.0
cmp dword [esi + 0x28], 0
mov dword [esp + 0x1c], 1
je 0x348343df
xor edi, edi
cmp dword [esi + 0x44], edi
jbe 0x348343d2
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + edi*4]
cmp dword [ecx], 0
lea eax, [eax + edi*4]
je 0x348343af
mov edx, ecx
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test eax, eax
jne 0x348343af
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + edi*4]
mov dword [ecx], 0
mov edx, dword [esi + 0x28]
mov ebx, dword [edx + edi*4]
test ebx, ebx
je 0x348343ca
lea ecx, [ebx + 0x10]
call fcn.34829f5d
push ebx
call fcn.3481f800
add esp, 4
add edi, 1
cmp edi, dword [esi + 0x44]
jb 0x34834385
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.msvcr80.dll_free]
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 0
call fcn.34829f5d
add esi, 0xc
push esi
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret