joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405964
Capabilities:
Inspect load icon resource

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 8]
and eax, 3
sub eax, ebx
je 0x4059ee
dec eax
je 0x4059ca
dec eax
je 0x40599d
dec eax
jne 0x405a18
push 0x19
call fcn.004030b7
pop ecx
push eax
push 0x4b3
mov ecx, esi
call fcn.00405c85
push 0x1a
jmp 0x405a05
push 0x1a
call fcn.004030b7
pop ecx
mov edi, 0x4b4
push eax
push edi
mov ecx, esi
call fcn.00405c85
push ebx
push 0x4b3
mov ecx, esi
call fcn.00405b9c
push edi
mov ecx, esi
call fcn.004057a9
jmp 0x405a18
push 0x19
call fcn.004030b7
pop ecx
push eax
push 0x4b3
mov ecx, esi
call fcn.00405c85
push ebx
push 0x4b4
mov ecx, esi
call fcn.00405b9c
jmp 0x405a18
push 0x1b
call fcn.004030b7
pop ecx
push eax
push 0x4b3
mov ecx, esi
call fcn.00405c85
push 0x1c
call fcn.004030b7
pop ecx
push eax
push 0x4b4
mov ecx, esi
call fcn.00405c85
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and eax, 0x1c
cmp eax, 4
je 0x405a5b
cmp eax, 8
je 0x405a52
cmp eax, 0xc
je 0x405a4b
cmp eax, 0x10
jne 0x405a91
push 0x7f04
jmp 0x405a57
push 0x7f01
jmp 0x405a57
push 0x7f02
push 0
jmp 0x405a62
push 0x65
push 0
call ebx
push eax
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x405a91
push 0x4b1
mov dword [esi + 0x30], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [esp + 0x10]
push 1
push 0x172
push eax
call ebp
jmp 0x405aa3
and dword [esi + 0x30], 0
push 0
push 0x4b1
mov ecx, esi
call fcn.00405b9c
test byte [0x418e3d], 2
jne 0x405afe
push 0x65
push 0
call ebx
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0x32
mov dword [esp + 0x18], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push 0x65
push 0
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x405ae4
mov ebx, dword [esp + 0x10]
push dword [esp + 0x10]
mov edi, 0x80
push 1
push edi
push dword [esi + 4]
call ebp
push ebx
push 0
push edi
push dword [esi + 4]
call ebp
push dword [esi + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi + 0x10]
push 0x4b2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test byte [0x418e3c], 8
jne 0x405b2b
mov ecx, esi
call fcn.00405fd3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x406141
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
mov edi, 0x4b6
push eax
mov esi, ecx
push edi
call fcn.00405b41
mov eax, dword [ebp - 4]
push 1
sub eax, dword [ebp - 0xc]
push edi
mov ecx, esi
inc eax
inc eax
mov dword [esi + 0x40], eax
call fcn.00405b9c
inc edi
push 1
push edi
mov ecx, esi
call fcn.00405b9c
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
lea eax, [ebp - 0x4d0]
push 0x2b4
push eax
lea eax, [ebp - 0x21c]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4d0]
push edi
push dword [esi + 4]
mov dword [esi + 0x38], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4062e3
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.00405964
pop edi
pop esi
leave
ret

Function at 0x40d210
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x412b97
call fcn.00411950
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x414794
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x4145c8
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.004112a1
push dword [esi + 8]
mov ecx, ebx
call fcn.004112a1
push dword [esi + 0xc]
mov ecx, edi
call fcn.004112a1
push dword [esi + 0xc]
mov ecx, edi
call fcn.004112a1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40d7cb
Capabilities:
Create thread

Disassembly:
mov eax, 0x412d4d
call fcn.00411950
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x4146b0
mov dword [esi + 4], 0x414830
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
call fcn.00406f83
push 4
lea ecx, [esi + 0x5c]
pop ebx
mov dword [ebp - 4], edi
push ebx
call fcn.0040798c
mov dword [esi + 0x5c], 0x414828
lea ecx, [esi + 0x70]
push ebx
mov byte [ebp - 4], 1
call fcn.0040798c
mov dword [esi + 0x70], 0x414820
lea eax, [esi + 0x84]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov dword [eax], 0x414818
mov dword [esi + 0x98], edi
push edi
push edi
push edi
lea ecx, [esi + 0x9c]
push edi
mov byte [ebp - 4], bl
call fcn.004111a9
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov dword [eax], 0x4143e0
push edi
push edi
push edi
lea ecx, [esi + 0xb4]
push edi
mov byte [ebp - 4], 6
call fcn.004111a9
push edi
push edi
push edi
lea ecx, [esi + 0xb8]
push 1
mov byte [ebp - 4], 7
call fcn.004111a9
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
push edi
push esi
push 0x40d927
push edi
push edi
mov dword [esi], 0x414804
mov dword [esi + 4], 0x4147f8
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x98], eax
jne 0x40d8d5
lea eax, [ebp - 0x10]
push 0x415408
push eax
mov dword [ebp - 0x10], 0x425d1
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40db5a
Capabilities:
Create thread

Disassembly:
mov eax, 0x412de7
call fcn.00411950
sub esp, 0xcc
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x18]
push dword [ecx + eax*8 + 4]
lea eax, [ecx + eax*8]
lea ecx, [ebp - 0xd8]
push dword [eax]
call fcn.0040d2cd
lea esi, [edi + 0x70]
lea eax, [ebp - 0xd8]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040e38a
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + eax*4 - 4]
call fcn.0040d41b
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0xb8]
mov ecx, dword [edx + ecx*4 - 4]
mov dword [ecx + 0x64], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + eax*4 - 4]
lea ecx, [edi + 0xa0]
mov eax, dword [eax + 0x68]
push dword [eax]
call fcn.0040807a
mov dword [ebp - 0x14], ebx
add edi, 0x84
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040e435
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [edi + 0xc]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [edi + 8]
lea esi, [edx + ecx*4 - 4]
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push 0x40dc50
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop edi
pop esi
cmp eax, ebx
pop ebx
jne 0x40dc35
lea eax, [ebp - 0x10]
push 0x415408
push eax
mov dword [ebp - 0x10], 0x425d0
call sub.MSVCRT.dll__CxxThrowException
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.0040d490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x40e970
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x40e99b
push ebx
push edi
movzx edi, byte [edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x41973c]
xor eax, edi
inc edx
dec esi
jne 0x40e981
pop edi
pop ebx
mov dword [ecx], eax
pop esi
ret 8

Function at 0x40eade
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40eb05
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40eb05
xor al, al
jmp 0x40eb25
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00411ab0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x1002df80
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e144
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x1002dfaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002dfb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002dfa0
mov eax, 1
add ebx, ebx
jne 0x1002dfc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002dfb8
jne 0x1002dfd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002dfb8
xor ecx, ecx
sub eax, 3
jb 0x1002dfe8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e05a
mov ebp, eax
add ebx, ebx
jne 0x1002dff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e024
inc ecx
add ebx, ebx
jne 0x1002e010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e005
jne 0x1002e021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e005
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e035
jmp 0x1002dfa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e044
add edi, ecx
jmp 0x1002dfa6
pop esi
mov edi, esi
mov ecx, 0xc42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e062
cmp byte [edi], 0x11
jne 0x1002e062
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1002e067
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x1002e0d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e44c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e49c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e094
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2e4a0]
or eax, eax
je 0x1002e0d0
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e0b1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e107
cmp al, 0xef
ja 0x1002e0fa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e0dc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e0e9
mov ebp, dword [esi + 0x2e4a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1002e13b
sub esp, 0xffffff80
jmp 0x10013194

Function at 0x43b63d
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
mov ecx, ebx
call fcn.0043b66f
add ebx, ebx
xor dword [edi], edx
dec ecx
sub ecx, ecx
inc edi
sub esp, 4
mov dword [esp], ebx
mov ecx, dword [esp]
add esp, 4
inc ecx
cmp edi, eax
jne fcn.0043b63d
add ebx, ecx
ret
Function at 0x414dd7
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], ecx
add eax, 4
add edx, edi
and ebx, edx
add edx, 0x5d7bc992
cmp eax, esi
jne fcn.00414dd7
mov ebx, edi
push 0x8602b165
mov edi, dword [esp]
add esp, 4
mov ebx, 0xe43564cd
ret
Function at 0x100023b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10002411
mov eax, dword [ebp + 0x14]
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov eax, dword [eax]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
push esi
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0xc]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x100023d2
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
pop edi
pop ebp
ret 0x18

Function at 0xdd5af4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdd5afe
pushal
call 0xdd5b04
pop ebp
sub ebp, 0x10
sub ebp, 0x9d5af4
jmp 0xdd5b1a
mov eax, 0x9d5af4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0x5a490679
xor byte [eax], dl
inc eax
dec ecx
jne 0xdd5b31
jmp 0xdd5b44
mov ah, 0xf2
invalid
Function at 0x405e60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49d5db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, ecx
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 eax, dword [edi + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
push ebx
lea edx, [edi + 0x10]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x18], esi
mov byte [ecx + 4], bl
call fcn.004017d0
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
push ebx
add edi, 0x34
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edi
mov dword [esp + 0x24], ebx
mov byte [ecx + 4], bl
call fcn.004017d0
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40ccf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49d96b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
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 eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0xc], esi
mov dword [esi + 0x14], edx
call fcn.0040c670
lea ecx, [edi + 0x24]
push ecx
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], 0
call fcn.0040c6f0
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x3c], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40e000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49da96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x10]
xor ebx, ebx
mov eax, 0xf
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
push edi
mov dword [esp + 0xc], esi
mov byte [ecx + 4], bl
lea edi, [esi + 0x34]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [edi + 4], bl
push ebx
push 0x4aa28a
mov byte [esp + 0x20], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004018c0
push ebx
push 0x4aa28a
mov ecx, edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.004018c0
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x410fb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49dd9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00436470
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
mov dword [esi], 0x4abc68
mov dword [esi + 0x2c], ebx
call edi
lea eax, [esi + 0x64]
push eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
call edi
mov ebp, 0xf
mov dword [esi + 0x94], ebp
mov dword [esi + 0x90], ebx
mov byte [esi + 0x80], bl
mov byte [esi + 0x98], bl
lea eax, [esi + 0xb8]
push eax
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
call edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xe8], ebp
mov dword [esi + 0xe4], ebx
mov byte [esi + 0xd4], bl
mov byte [esi + 0xec], bl
mov byte [esi + 0xf0], bl
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x110], ebp
mov dword [esi + 0x10c], ebx
mov byte [esi + 0xfc], bl
mov dword [esi + 0x12c], ebp
mov dword [esi + 0x128], ebx
mov byte [esi + 0x118], bl
pop edi
mov byte [esi + 0x130], bl
mov dword [esi + 0x134], 0xfffffff6
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x413d80
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x3814
call fcn.0047f090
mov eax, dword [0x4d2084]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x3820]
push edi
push esi
mov ecx, 0x4d8ac8
mov dword [esp + 0x3820], eax
call fcn.0042b870
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x413e53
push esi
mov ecx, 0x4d8ac8
call fcn.0042b830
cmp eax, ebx
je 0x413e53
mov ecx, eax
call fcn.00404640
cmp eax, 1
je 0x413e53
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
cmp dword [edi + 0x314], ebx
jne 0x413e05
push esi
lea eax, [esp + 0x20]
push str.SELECT_SenderID_SenderName_ReceivedDate_Title_Content_FROM_mail_WHERE_ReceiverID_d_ORDER_BY_ReceivedDate_DESC
push eax
call fcn.0047f034
add esp, 0xc
jmp 0x413e30
cmp dword [edi + 0x318], 0x10
jb 0x413e16
mov edi, dword [edi + 0x304]
jmp 0x413e1c
add edi, 0x304
push edi
push esi
lea ecx, [esp + 0x24]
push str.SELECT_SenderID_SenderName_ReceivedDate_Title_Content_FROM_mail_WHERE_ReceiverID_d_AND_ReceivedDate__s_ORDER_BY_ReceivedDate_DESC
push ecx
call fcn.0047f034
add esp, 0x10
lea edx, [esp + 0xc]
push edx
mov ecx, 0x4d8c8c
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x413c30
mov dword [esp + 0x1c], esi
call fcn.004054e0
mov ecx, dword [esp + 0x381c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047ece2
add esp, 0x3814
ret 4
Function at 0x415490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49e268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
mov dword [esi + 8], 1
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], 0x4ac6ec
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [ecx + 4], bl
call fcn.004017d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x30], edx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x418c60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49e3ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 4], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov dword [esp + 0x18], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb8], ebx
mov byte [esi + 0xa8], bl
mov word [esi + 0xc8], bx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xe8], ebx
mov byte [esi + 0xec], bl
mov byte [esi + 0xed], bl
or al, 0xff
mov byte [esi + 0xe4], al
mov byte [esi + 0xe5], al
xor ecx, ecx
lea edx, [esi + 0xd0]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov byte [esi + 0x10c], al
mov byte [esi + 0x10d], al
mov word [esi + 0xf0], bx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x110], ebx
mov byte [esi + 0x114], bl
mov byte [esi + 0x115], bl
xor eax, eax
lea ecx, [esi + 0xf8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea edi, [esi + 0x118]
mov ecx, edi
mov byte [esp + 0x18], 4
call fcn.00417bc0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov ecx, edi
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov byte [esi + 0xe4], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov byte [esi + 0x10c], 1
call fcn.00443d00
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x418dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e442
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 8]
push edi
mov ecx, ebp
mov dword [esp + 0x10], esi
call fcn.004902d0
xor edi, edi
mov dword [ebp + 4], eax
mov dword [ebp + 8], edi
lea ebx, [esi + 0x14]
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004902d0
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 1
call fcn.004281f0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.004281f0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 3
call fcn.004281f0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 4
call fcn.004902d0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x88]
mov byte [esp + 0x1c], 5
call fcn.00418c60
mov eax, 0x3f800000
mov ecx, ebp
mov dword [esi], 1
mov dword [esi + 4], 2
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 3
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x1ac], eax
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x6c], 0x44160000
mov dword [esi + 0x78], 0x44960000
mov dword [esi + 0x84], 0x44e10000
call fcn.00443d00
mov ecx, ebx
call fcn.00443d00
lea ecx, [esi + 0x20]
call fcn.00443d00
lea ecx, [esi + 0x2c]
call fcn.00443d00
lea ecx, [esi + 0x38]
call fcn.00443d00
lea ecx, [esi + 0x44]
call fcn.00443d00
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret