joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429f40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47bc76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x4885d8
mov dword [esp + 0x14], edi
mov dword [edi + 0xc], ebx
mov dword [esp + 0x20], ebx
mov dword [edi + 0x10], ebx
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
push 0xfde9
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.004215b0
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0xfde9
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c], 2
call fcn.004215b0
mov esi, dword [esp + 0x38]
mov edx, dword [esi + 0x18]
push 1
push ebx
push ebx
push edx
mov byte [esp + 0x30], 3
call fcn.0045b660
mov ecx, dword [esi + 0x14]
xor ebp, ebp
add eax, ecx
adc edx, ebp
push edx
mov edx, dword [esi + 0x10]
push eax
push 1
push ebx
push ebx
push edx
call fcn.0045b660
mov ecx, dword [esi + 0xc]
add eax, ecx
adc edx, ebp
push edx
mov edx, dword [esi + 8]
push eax
push 1
push ebx
push ebx
push edx
call fcn.0045b660
mov ecx, dword [esi + 4]
add eax, ecx
adc edx, ebp
push edx
mov edx, dword [esi + 0x1c]
push eax
push 1
push ebx
push ebx
push edx
call fcn.0045b660
mov ecx, dword [esi + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x4c]
adc edx, ebx
push edx
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00429d30
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00459039
mov edx, dword [esp + 0x14]
push edx
call fcn.00459039
mov ecx, dword [esp + 0x20]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14

Function at 0x42b390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
jbe 0x42b3d3
mov edi, dword [ebp + 8]
jmp 0x42b3b0
mov ecx, dword [ebx + 8]
push 0
lea eax, [esp + 0x10]
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42b3dc
mov eax, dword [esp + 0xc]
sub esi, eax
add edi, eax
test esi, esi
ja 0x42b3b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4889ec
lea ecx, [esp + 0x11c]
call fcn.0044ba90
push 0x49859c
lea edx, [esp + 0x14]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x14]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00459658
int3
Function at 0x437f50
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push 2
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
test eax, eax
jne 0x437fbe
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x52e
je 0x437fb6
call esi
push eax
push str.LogonUser
lea ecx, [esp + 0x11c]
call fcn.0044ba90
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push 0x49859c
lea ecx, [esp + 0x14]
push ecx
call fcn.00459658
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4392db
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x24]
mov dword [ebp - 0xc], edi
jmp 0x4392ee
mov edi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp - 8], eax
jne 0x43930d
test ecx, ecx
jne 0x43931b
test edx, edx
jne 0x43931b
mov dword [ebp - 8], edi
jmp 0x439385
cmp eax, 0xffffffff
jne 0x43931b
mov dword [ebp - 8], 0xfffffffe
jmp 0x439385
mov eax, dword [esi + 0x24]
lea eax, [edi + eax - 0x106]
cmp ecx, eax
jb 0x439385
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0045c350
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x43934c
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x43936b
add dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x43942b
mov ebx, dword [esi + 0x6c]
add ebx, dword [esi + 0x64]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 8]
add ebx, dword [esi + 0x30]
cmp eax, ecx
mov dword [ebp - 4], eax
jbe 0x4393aa
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4393b4
xor eax, eax
jmp 0x4393ec
sub eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x18], 0
jne 0x4393d6
push dword [ebp - 4]
push dword [edi]
push dword [edi + 0x30]
call fcn.00439df6
add esp, 0xc
mov dword [edi + 0x30], eax
push dword [ebp - 4]
push dword [edi]
push ebx
call fcn.0045c350
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x6c], eax
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x439417
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x43942b
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4392eb
pop edi
pop ebx
leave
ret
Function at 0x43cd60
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x43cf70
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x5c
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
push eax
push ecx
push edx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], 0xc3d2e1f0
call fcn.0043cda0
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.0043ce70
add esp, 0x70
ret
Function at 0x444fc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47c998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x14], 1
call fcn.00444200
mov dword [esi], 0x48b260
lea edx, [esp + 0x2c]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0x14], 2
call fcn.00444410
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00442160
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00443a60
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0045903e
mov ecx, dword [esp + 0xc]
add esp, 4
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x446a90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47cae1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x48b31c
lea eax, [esi + 0x3c]
push eax
mov dword [esp + 0x20], 2
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
lea edi, [esi + 0x30]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00446020
mov eax, dword [edi + 4]
push eax
call fcn.0045903e
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00446490
mov eax, dword [edi + 4]
push eax
call fcn.0045903e
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x18]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], bl
call fcn.00443560
mov eax, dword [edi + 4]
push eax
call fcn.0045903e
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add esi, 0xc
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00443d00
mov edx, dword [esi + 4]
push edx
call fcn.0045903e
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x446d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ca38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x3c]
push edi
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 4]
push eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 0
call fcn.00446920
mov edx, dword [eax + 8]
add eax, 4
test edx, edx
jne 0x446d8a
xor esi, esi
jmp 0x446d92
mov esi, dword [eax + 8]
sub esi, edx
sar esi, 2
test edx, edx
je 0x446db3
mov ecx, dword [eax + 0xc]
sub ecx, edx
sar ecx, 2
cmp esi, ecx
jae 0x446db3
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
add ecx, 4
mov dword [eax + 8], ecx
jmp 0x446dc5
mov ecx, dword [eax + 8]
lea edx, [esp + 0x1c]
push edx
push 1
push ecx
mov ecx, eax
call fcn.00443b20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4470a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47cb61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x48b31c
call fcn.00441710
mov dword [edi + 4], eax
mov ebx, 1
mov byte [eax + 0x51], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0x1c], ebp
call fcn.00441750
mov dword [edi + 4], eax
mov byte [eax + 0x25], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.00413f90
mov dword [edi + 4], eax
mov byte [eax + 0x1d], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00441790
mov dword [edi + 4], eax
mov byte [eax + 0x31], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
lea eax, [esi + 0x3c]
push eax
mov dword [edi + 8], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebp
call fcn.0045b051
push eax
call fcn.0045cc35
add esp, 8
call fcn.0045cc42
mov dword [esi + 8], eax
cmp eax, ebp
mov byte [esi + 0x54], bl
mov eax, esi
jne 0x447197
mov dword [esi + 8], ebx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4471d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47cb78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
push 0xffffffffffffffff
xor ebx, ebx
push 0x4825cd
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.0044b020
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0x30], ebx
call fcn.00444c20
mov ecx, eax
call fcn.00441420
push edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.00459039
mov edx, dword [esp + 0x34]
add esp, 4
push edx
mov ecx, esi
call fcn.00446de0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x4494a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47cc54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x48b4a0
xor ebx, ebx
mov dword [esp + 0x1c], 4
mov dword [esi + 0x5c], ebx
call fcn.004490a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax]
lea edi, [esi + 0x48]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 3
call fcn.00448820
mov eax, dword [edi + 4]
push eax
call fcn.0045903e
add esp, 4
lea ecx, [esi + 0x30]
push ecx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
lea edi, [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00448690
mov eax, dword [edi + 4]
push eax
call fcn.0045903e
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x18]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], bl
call fcn.004440c0
mov eax, dword [edi + 4]
push eax
call fcn.0045903e
add esp, 4
mov ecx, esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00428ac0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4497d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ccc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esi], 0x48b4a0
mov dword [esi + 0x14], ebp
call fcn.00418c80
mov dword [edi + 4], eax
mov bl, 1
mov byte [eax + 0x11], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.00447840
mov dword [edi + 4], eax
mov byte [eax + 0x31], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.00447880
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], eax
mov byte [eax + 0x19], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 8], ebp
mov dword [esi + 0x58], eax
pop edi
mov dword [esi + 0x54], ebp
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x449990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47cce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push 0xffffffffffffffff
push eax
mov esi, ecx
call fcn.0044b020
add esp, 8
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x20], edx
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], 0x487c94
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x449a20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47cd13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, ecx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], esi
call fcn.0044b020
add esp, 8
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov ecx, dword [edi + 0x24]
xor eax, eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x28], 0x487c94
mov ebp, dword [edi + 0x30]
cmp ebp, dword [edi + 0x34]
mov byte [esp + 0x18], 1
je 0x449b0d
push ebx
lea ebx, [esi + 0x2c]
nop
mov ecx, dword [ebp]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebx + 4]
test edx, edx
mov dword [esp + 0x24], eax
jne 0x449ac7
xor eax, eax
jmp 0x449acf
mov eax, dword [ebx + 8]
sub eax, edx
sar eax, 2
test edx, edx
je 0x449af0
mov ecx, dword [ebx + 0xc]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jae 0x449af0
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
add eax, 4
mov dword [ebx + 8], eax
jmp 0x449b02
mov eax, dword [ebx + 8]
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov ecx, ebx
call fcn.00423a10
mov eax, dword [edi + 0x34]
add ebp, 4
cmp ebp, eax
jne 0x449ab0
pop ebx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x47cf2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x48b9a0
mov eax, dword [esi + 0x14]
lea edi, [esi + 4]
cmp eax, edi
mov dword [esp + 0x14], 0
je 0x44c4d3
mov ecx, dword [esi + 0x14]
call fcn.0044d120
cmp dword [esi + 0x14], edi
jne 0x44c4c6
mov eax, dword [0x4a7988]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
jne 0x44c4f6
mov esi, dword [esi + 0x1c]
mov ecx, dword [0x4a7988]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x44c508
push str.out_of_sequence_dtor
push 0x4a7978
call fcn.00402c00
add esp, 8
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call fcn.0044d120
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44c5c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x200
mov eax, dword [0x4a7988]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push eax
call esi
test eax, eax
jne 0x44c61f
push str.no_TimerManager
lea ecx, [esp + 0xc]
push 0x100
push ecx
mov byte [esp + 0x14], al
call fcn.0044c260
add esp, 0xc
push 0x498d60
lea edx, [esp + 0x10c]
mov ecx, 0x40
lea esi, [esp + 0xc]
lea edi, [esp + 0x10c]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00459658
mov eax, dword [0x4a7988]
push eax
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44f230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47d1b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0x48950c
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 8]
push esi
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.0044ee30
cmp eax, esi
pop esi
jne 0x44f2ad
xor ecx, ecx
mov dword [esp + 4], ecx
push 0x4a0038
lea ecx, [esp + 4]
mov eax, 0x190
xor edx, edx
push ecx
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
call fcn.00459658
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x44f561
Capabilities:
Check http status code

Disassembly:
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
cmp ecx, 0x190
push edi
mov eax, 0x48c014
jg 0x44f59c
je 0x44f595
mov edx, ecx
sub edx, 0xc8
je 0x44f58e
sub edx, 6
jne 0x44f5b7
mov eax, str.Partial_content
jmp 0x44f5b7
mov eax, 0x48c000
jmp 0x44f5b7
mov eax, str.Bad_Request
jmp 0x44f5b7
mov edx, ecx
sub edx, 0x194
je 0x44f5b2
sub edx, 0x61
jne 0x44f5b7
mov eax, str.Not_Implemented
jmp 0x44f5b7
mov eax, str.Not_Found
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x44f5c1
mov edi, eax
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x44f5cb
mov ebp, edi
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x98], str.text_html
call fcn.0044f320
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 0x32
push str.__DOCTYPE_HTML_PUBLIC_____IETF__DTD_HTML_2.0__EN__
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 2
push 0x48be4c
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 0x13
push str._HTML__HEAD__TITLE_
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 2
push 0x48be4c
call dword [edx + 4]
mov eax, edi
lea ecx, [eax + 1]
jmp 0x44f630
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44f630
sub eax, ecx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 2
push 0x48be4c
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 0x19
push str.__TITLE___HEAD__BODY__H1_
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 2
push 0x48be4c
call dword [edx + 4]
mov eax, ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44f681
sub eax, ecx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push eax
push ebp
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 2
push 0x48be4c
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 0x13
push str.__H1___BODY___HTML_
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 2
push 0x48be4c
call dword [edx + 4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov eax, dword [esi + 4]
pop edi
pop esi
mov byte [eax + 0xc], 1
pop ebp
ret 0xc