joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b7a1
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.1000de50
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.10013c10
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.10013c10
push 0x10038198
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.10013c10
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.1000de50
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b846
sub ecx, edx
cmp ecx, 6
jbe 0x1000b86d
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.10013c10
pop ecx
pop ecx
test eax, eax
jne 0x1000b86d
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000b874
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x10036ae3
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.10013c10
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.1000d8d0
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000b8ee
mov ax, word [0x100381c4]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x824
ret

Function at 0x10013c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10013c1f
pop dword [ebp - 0x50]
mov eax, 0x10013c1f
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3b0cb
push 0
mov eax, 0x27a705c0
add eax, 0xe85bbbd4
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xe10893ed
sub ecx, 0xe1085de7
xor esi, esi
add esi, eax
mov edi, 0xb22fdeb6
sub edi, 0xa22b7eb6
add edi, dword [ebp - 0x50]
mov edx, 0xb24bde75
add dword [ebp - 0x24], 0xf05bfb3f
mov ebx, dword [edi]
add dword [ebp - 0x44], 0xe3103b20
xor ebx, edx
xor dword [ebp - 0x34], ecx
mov dword [esi], ebx
add esi, 0x53e0f4ef
sub esi, 0x53e0f4eb
add edi, 4
loop 0x10013c75
add eax, 0xcaeb
xor ebx, ebx
add ebx, eax
add eax, 0xe04dea0d
add eax, 0x1fb215f8
mov ecx, 0x19c777b3
sub ecx, 0x9c777b3
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x40bdb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x56d9e0], 0
je 0x40be07
mov eax, dword [0x5712a8]
test eax, eax
je 0x40bde0
push eax
call dword [0x56da38]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.00409490
mov eax, dword [0x5712a8]
test eax, eax
je 0x40be02
push eax
call dword [0x56da40]
mov esi, dword [ebp - 4]
jmp 0x40be11
mov esi, dword [ebp - 4]
jmp 0x40be14
push 0x14
call dword [0x56da08]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40be22
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x56d9e4], 0
mov ebx, dword [ebp + 8]
je 0x40be6c
mov eax, dword [0x56dae8]
test eax, eax
je 0x40be45
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x40be6c
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x40bd80
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.004a694b
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x40be79
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x40be92
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b630
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 8], esi
push edi
mov esi, dword [esi]
mov dword [ebp - 4], esi
test edx, edx
je 0x43b76f
nop dword [eax]
mov ecx, dword [edx + 4]
movzx eax, byte [edx]
test ecx, 0x200
jne 0x43b76d
cmp eax, 0x25
je 0x43b762
cmp eax, 0x9c
je 0x43b762
cmp eax, 0x5e
je 0x43b688
cmp eax, 0x9d
jne 0x43b6df
cmp byte [edx + 0x26], 0x5e
jne 0x43b6f9
mov eax, dword [ebp - 4]
push dword [edx + 8]
mov esi, dword [ebp - 8]
mov ecx, esi
push 0
mov dl, byte [eax + 0x42]
call fcn.0044d170
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43b76f
cmp dword [ebx + 0xc], 0
jne 0x43b76f
mov eax, dword [esi]
mov ecx, esi
push dword [ebx]
push ebx
mov dl, byte [eax + 0x42]
call fcn.0044d170
add esp, 8
test eax, eax
jne 0x43b76f
mov ecx, 1
test ecx, ecx
cmove eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x9a
je 0x43b6f9
cmp eax, 0x98
je 0x43b6f9
cmp eax, 0x9d
je 0x43b6f9
cmp eax, 0x3d
jne 0x43b703
cmp dword [edx + 0x2c], 0
jne 0x43b77f
test ecx, 0x100
je 0x43b76d
mov eax, dword [edx + 0xc]
test eax, eax
je 0x43b71f
test dword [eax + 4], 0x100
je 0x43b71f
mov edx, eax
jmp 0x43b765
mov edi, dword [edx + 0x14]
mov ebx, dword [edx + 0x10]
test edi, edi
je 0x43b75e
test ecx, 0x800
jne 0x43b75e
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x43b75e
lea edx, [edi + 8]
nop dword [eax]
mov eax, dword [edx]
test dword [eax + 4], 0x100
jne 0x43b757
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x43b740
mov edx, ebx
jmp 0x43b765
lea eax, [ecx + ecx*2]
mov ebx, dword [edi + eax*8 + 8]
mov edx, ebx
jmp 0x43b765
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x43b650
xor ebx, ebx
xor ecx, ecx
xor eax, eax
pop edi
test ecx, ecx
pop esi
cmove eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movsx esi, word [edx + 0x20]
test esi, esi
js 0x43b76d
mov eax, dword [edx + 0x2c]
add esi, esi
mov edi, dword [ebp - 4]
mov ecx, edi
push 0
mov eax, dword [eax + 4]
mov dl, byte [edi + 0x42]
push dword [eax + esi*8 + 8]
call fcn.0044d330
mov esi, dword [ebp - 8]
jmp 0x43b69d
Function at 0x43d190
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov ebx, ecx
mov dword [esp + 0x18], eax
test edi, edi
je 0x43d2fa
push 0
push 0x44
mov ecx, ebx
call fcn.00409c40
mov esi, eax
add esp, 8
test esi, esi
je 0x43d2ef
push dword [ebp + 8]
mov edx, dword [edi]
mov ecx, ebx
call fcn.0043cc70
add esp, 4
mov dword [esi], eax
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043ce10
add esp, 4
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x20]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043cc40
add esp, 4
mov dword [esi + 0x20], eax
mov edx, dword [edi + 0x24]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043cc70
add esp, 4
mov dword [esi + 0x24], eax
mov edx, dword [edi + 0x28]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043cc40
add esp, 4
mov dword [esi + 0x28], eax
mov edx, dword [edi + 0x2c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0043cc70
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x2c], eax
mov ecx, ebx
mov al, byte [edi + 4]
lea edi, [esi + 0x30]
mov byte [esi + 4], al
mov eax, dword [esp + 0x1c]
push dword [ebp + 8]
mov dword [esi + 0x34], eax
mov dword [edi], 0
mov edx, dword [edx + 0x38]
call fcn.0043cc40
mov dword [esi + 0x38], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [eax + 0x3c]
call fcn.0043cc40
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ecx + 8]
and eax, 0xffffffdf
mov dword [esi + 8], eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov ax, word [ecx + 6]
mov word [esi + 6], ax
mov edx, dword [ecx + 0x40]
mov ecx, ebx
call fcn.0043cb00
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [eax], esi
mov edi, dword [edi + 0x30]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x43d1c4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
mov ebx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
nop word [eax + eax]
xor edi, edi
cmp dword [eax + 0x14], edi
jle 0x446bae
nop dword [eax + eax]
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x446c07
mov bl, byte [esi]
mov edx, ecx
mov ecx, dword [ebp - 8]
add edx, edx
mov eax, esi
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x4ec1e0]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x4ec1e0]
sub esi, ecx
jne 0x446b9f
sub edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
test bl, bl
je 0x446bfd
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x4ec1e0]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x4ec1e0]
sub esi, edx
mov edx, dword [ebp - 0xc]
je 0x446b77
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc edi
mov esi, dword [ebp + 8]
cmp edi, dword [eax + 0x14]
jl 0x446b30
mov dl, byte [ebx]
movzx eax, dl
movzx ecx, byte [eax + 0x4ec1e0]
movzx eax, byte [0x56a458]
movzx eax, byte [eax + 0x4ec1e0]
sub ecx, eax
jne 0x446bf4
mov esi, 0x56a458
sub esi, ebx
test dl, dl
je 0x446c2e
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x4ec1e0]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x4ec1e0]
sub eax, ecx
je 0x446bd3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x446b9f
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add ecx, ecx
push 0
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.0040e000
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x446bf6
jmp 0x446ba2
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
test esi, esi
jne 0x446c44
neg eax
sbb eax, eax
jmp 0x446c51
test eax, eax
je 0x446bf4
mov edx, eax
mov ecx, esi
call fcn.0040c980
test eax, eax
jne 0x446bf4
mov eax, dword [ebp - 8]
mov ebx, 0x56a468
mov dword [ebp - 4], ebx
jmp 0x446b20
Function at 0x446e20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ebp - 8], ebx
push edi
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [ebx + 0x14], edx
jle 0x446ede
push esi
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
test edx, edx
je 0x446ebf
mov ebx, dword [eax + ecx*8]
mov esi, edx
mov al, byte [edx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x4ec1e0]
movzx ecx, al
movzx ecx, byte [ecx + 0x4ec1e0]
sub ecx, edx
jne 0x446ea3
sub ebx, esi
test al, al
je 0x446eb8
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x4ec1e0]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x4ec1e0]
sub ecx, edx
je 0x446e82
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
inc edi
cmp edi, dword [ebx + 0x14]
jl 0x446e41
pop esi
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x446ea3
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, 0x18
push 0
call fcn.0040e000
add esp, 4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x446eaf
jmp 0x446ea9
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460d50
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov edx, dword [edi + 0x30]
test edx, edx
je 0x460d76
push esi
call fcn.00460d50
add esp, 4
test eax, eax
je 0x460d78
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [edi]
cmp esi, dword [ecx]
jge 0x460d71
lea edx, [esi + esi*2]
mov edx, dword [ecx + edx*8 + 8]
mov ecx, ebx
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.0043b630
Function at 0x482310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a4070
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x48236c
xor ecx, ecx
jmp 0x482384
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482375
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0049f240
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x482450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 4], 0
push 0
push eax
mov esi, ecx
call fcn.004a4070
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x208
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4824aa
push str..host.config
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004ac9fa
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
jne 0x4824e5
push eax
push 0x55cab0
mov ecx, esi
mov word [esi], ax
call fcn.0049f240
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x4824f7
xor ecx, ecx
jmp 0x48250f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482500
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0049f240
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4830a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d95e8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4831ec
cmp byte [ebx + 0x3e], 0
je 0x4831ec
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x483103
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0048bcb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
nop dword [eax + eax]
cmp ecx, 0x10
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48316e
sub eax, 1
je 0x483172
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x4831c5
xor bl, bl
jmp 0x4831c7
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x10]
cmovae eax, edx
sub esi, eax
je 0x4831a7
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004ab7b7
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x48316a
cmp byte [ebx + 0x3e], 0
je 0x4831c5
test esi, esi
jne 0x483130
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00497360
jmp 0x483128
mov bl, 1
cmp ecx, 0x10
jb 0x4831d9
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0049cce0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0049f58a
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004a0af1
mov dword [esi + 4], eax
add esp, 8
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 8]
mov dword [ecx + 0x34], esi
lea ebx, [ecx + 4]
mov dword [ecx + 0xc], ebx
lea edi, [ecx + 0x14]
mov dword [ecx + 0x1c], edi
lea esi, [ecx + 0x18]
mov dword [ecx + 0x20], esi
lea edx, [ecx + 0x24]
mov dword [ecx + 0x2c], edx
add ecx, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], ecx
mov dword [eax], 0
mov eax, ebx
mov eax, dword [eax + 0x20]
mov dword [eax], 0
mov eax, ebx
mov eax, dword [eax + 0x30]
mov dword [eax], 0
mov eax, ebx
mov eax, dword [eax + 0xc]
mov dword [eax], 0
mov eax, ebx
mov eax, dword [eax + 0x1c]
mov dword [eax], 0
mov eax, ebx
mov eax, dword [eax + 0x2c]
mov dword [eax], 0
mov eax, ebx
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
mov ebx, eax
mov dword [eax], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3e], 0
lea eax, [ebx + 8]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], ecx
mov dword [eax], 0
mov eax, dword [ebx + 0x20]
pop edi
pop esi
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx + 0x4c], eax
mov eax, dword [0x571870]
mov dword [ebx + 0x40], eax
mov eax, dword [0x571874]
mov dword [ebx + 0x44], eax
mov eax, ebx
mov dword [ebx + 0x38], 0
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4866f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a4070
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x57149c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x48678b
lea eax, [ebp - 0x20c]
push eax
call esi
cmp dword [edi + 0x14], 8
jb 0x486750
mov eax, dword [edi]
jmp 0x486752
mov eax, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48678b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.0049f390
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4867d5
lea eax, [ebp - 0x20c]
push eax
call esi
cmp dword [edi + 0x14], 8
jb 0x4867b4
mov eax, dword [edi]
jmp 0x4867b6
mov eax, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x486771
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
push edi
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.0049edc0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x486930
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push esi
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.004868c0
mov dword [ebx], eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0xc]
push edx
push ecx
push 0
mov dword [ebx + 8], eax
mov edx, str.SELECT__FROM_Assemblies_WHERE_StrongName_
mov dword [ecx], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [eax]
push 0x80
push 0x2b
call fcn.0045d6e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4869f9
mov ecx, dword [ebx + 8]
push dword [ecx]
call fcn.0047f950
mov edx, eax
mov dword [ebp - 0x34], esi
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp byte [edx], 0
jne 0x4869d3
xor ecx, ecx
jmp 0x4869e1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4869d8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0049cb10
push 0x5650f8
lea eax, [ebp - 0x34]
push eax
call fcn.004a3ff6
push edi
xor edi, edi
nop dword [eax]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x486a10
movzx eax, word [ecx + 0x8c]
jmp 0x486a12
xor eax, eax
cmp edi, eax
jge 0x486aef
push 0
push fcn.0042bee0
mov edx, edi
call fcn.0042d630
mov edx, eax
mov dword [ebp - 0x1c], 0xf
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp byte [edx], 0
jne 0x486a48
xor ecx, ecx
jmp 0x486a59
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x486a50
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0049cb10
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00487580
mov esi, eax
cmp esi, dword [ebx]
je 0x486aa6
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
lea edx, [eax + 0x10]
jb 0x486a86
mov eax, dword [eax]
push dword [edx]
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
cmovae ecx, dword [ebp - 0x30]
push eax
call fcn.0048df90
shr eax, 0x1f
add esp, 8
test al, al
je 0x486acd
lea eax, [ebp - 0x30]
push ecx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.004868f0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.00487af0
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x28], edi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x486ae9
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.0049cce0
inc edi
jmp 0x486a00
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8