joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10045b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10045c95
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10045b43
cmp dword [edi + 0x1f8], 0
jne 0x10045b52
mov eax, 0xffff
add word [esi + 0x20], ax
jne 0x10045c94
push ebx
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10045c3f
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x10045b78
cmp dword [edi + 0x1f8], 0
jne 0x10045c19
mov esi, dword [ebx]
mov ecx, esi
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10045b96
cmp byte [esi], 0
je 0x10045b8e
inc ecx
cmp byte [ecx], 0
jne 0x10045b88
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [ebx + 0x24]
add eax, 0x18
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x10045bf5
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
test ecx, ecx
jle 0x10045be6
mov edi, ecx
mov ecx, esi
jmp 0x10045bc0
movzx eax, byte [ecx]
lea edx, [ebx*8]
dec edi
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x100949e0]
xor esi, edx
xor ebx, esi
test edi, edi
jg 0x10045bc0
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
mov eax, ebx
xor edx, edx
div dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
jmp 0x10045bf7
xor edx, edx
push edx
push ecx
push esi
push eax
mov dword [ebp - 4], edx
call fcn.10028f00
add esp, 0x10
test eax, eax
je 0x10045c19
push dword [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.10038790
add esp, 0xc
push dword [ebx + 0x1c]
push edi
call fcn.10045340
push ebx
push edi
call fcn.10045340
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, eax
test eax, eax
jne 0x10045b61
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.1004b210
push esi
push edi
call fcn.1006d510
push dword [esi]
push edi
call fcn.10045340
push dword [esi + 0x28]
push edi
call fcn.10045340
mov ebx, dword [esi + 0x1c]
add esp, 0x20
test ebx, ebx
je 0x10045c79
push ebx
push edi
call fcn.10022110
push ebx
push edi
call fcn.10045340
add esp, 0x10
push dword [esi + 0x2c]
push edi
call fcn.10048e60
push esi
push edi
call fcn.10069de0
push esi
push edi
call fcn.10045340
add esp, 0x18
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004a280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
push edi
test edx, edx
je 0x1004a2ad
cmp byte [edx], al
je 0x1004a2a5
jmp 0x1004a2a0
inc ebx
cmp byte [ebx], al
jne 0x1004a2a0
sub ebx, edx
and ebx, 0x3fffffff
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], edi
mov esi, dword [ecx + 4]
mov dword [ebp - 0xc], esi
test esi, esi
jle 0x1004a39a
mov esi, dword [ecx + 8]
mov dword [ebp - 0x10], esi
lea esp, [esp]
mov eax, edi
cmp edi, 2
jge 0x1004a2da
xor eax, 1
shl eax, 4
cmp dword [ebp + 0x10], 0
mov ecx, dword [eax + esi + 0xc]
mov dword [ebp + 8], ecx
je 0x1004a33b
mov ecx, dword [ebp + 0x10]
mov edx, ecx
mov esi, dword [eax + esi]
mov al, byte [ecx]
test al, al
je 0x1004a31d
jmp 0x1004a300
movzx ecx, byte [esi]
movzx eax, al
mov al, byte [eax + 0x100949e0]
cmp al, byte [ecx + 0x100949e0]
jne 0x1004a31d
mov al, byte [edx + 1]
inc edx
inc esi
test al, al
jne 0x1004a300
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x100949e0]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x100949e0]
sub eax, ecx
jne 0x1004a3a8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add ecx, 0x18
mov dword [ebp + 8], ecx
cmp dword [ecx + 0xc], 0
je 0x1004a37c
mov edi, edx
mov esi, ebx
xor edx, edx
test ebx, ebx
jle 0x1004a371
movzx eax, byte [edi]
lea edi, [edi + 1]
dec esi
movzx ecx, byte [eax + 0x100949e0]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test esi, esi
jg 0x1004a351
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov eax, edx
xor edx, edx
div dword [ecx]
jmp 0x1004a37e
xor edx, edx
push edx
push ebx
push dword [ebp + 0xc]
push ecx
call fcn.10028f00
add esp, 0x10
test eax, eax
je 0x1004a3a1
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
je 0x1004a3ab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1004a3ab
mov eax, dword [ebp - 4]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0xc]
jge 0x1004a39a
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x10]
jmp 0x1004a2d0
Function at 0x1004a3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
mov ebx, edx
push esi
push edi
test edx, edx
je 0x1004a3ed
cmp byte [edx], cl
je 0x1004a3e5
jmp 0x1004a3e0
inc ebx
cmp byte [ebx], cl
jne 0x1004a3e0
sub ebx, edx
and ebx, 0x3fffffff
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 8], eax
mov edi, dword [esi + 4]
mov dword [ebp - 0xc], edi
test edi, edi
jle 0x1004a4d8
mov edi, eax
cmp eax, 2
jge 0x1004a40d
xor edi, 1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1004a46f
mov edx, eax
mov ecx, edi
mov eax, dword [esi + 8]
add ecx, ecx
mov esi, dword [eax + ecx*8]
mov eax, edx
mov al, byte [eax]
test al, al
je 0x1004a44d
jmp 0x1004a430
movzx ecx, byte [esi]
movzx eax, al
mov al, byte [eax + 0x100949e0]
cmp al, byte [ecx + 0x100949e0]
jne 0x1004a44d
mov al, byte [edx + 1]
inc edx
inc esi
test al, al
jne 0x1004a430
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x100949e0]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x100949e0]
sub eax, ecx
jne 0x1004a4e6
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
add edi, edi
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
mov dword [ebp - 4], ecx
cmp dword [ecx + 0xc], 0
je 0x1004a4b8
mov edi, edx
mov esi, ebx
xor edx, edx
test ebx, ebx
jle 0x1004a4b0
mov edi, edi
movzx eax, byte [edi]
lea edi, [edi + 1]
dec esi
movzx ecx, byte [eax + 0x100949e0]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test esi, esi
jg 0x1004a490
mov ecx, dword [ebp - 4]
mov eax, edx
xor edx, edx
div dword [ecx]
jmp 0x1004a4ba
xor edx, edx
push edx
push ebx
push dword [ebp + 0xc]
push ecx
call fcn.10028f00
add esp, 0x10
test eax, eax
je 0x1004a4df
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x1004a4e9
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x1004a4e9
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jge 0x1004a4d6
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
jmp 0x1004a403
Function at 0x1004b440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [eax]
push esi
xor esi, esi
test dword [eax + 0xc], 0x4000000
je 0x1004b57b
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x1004b496
mov edi, dword [ebx + 0x14]
test edi, edi
jle 0x1004b48c
lea edx, [ebx + 0x24]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x1004b47d
or eax, 0xffffffff
jmp 0x1004b484
mov eax, 1
shl eax, cl
or esi, eax
add edx, 8
dec edi
jne 0x1004b471
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1004b467
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x1004b4b4
cmp byte [ecx], 0
je 0x1004b4ac
inc edi
cmp byte [edi], 0
jne 0x1004b4a6
sub edi, ecx
and edi, 0x3fffffff
mov eax, dword [eax + 0x44]
xor edx, edx
add eax, 0x38
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
cmp dword [eax + 0xc], edx
je 0x1004b500
mov dword [ebp - 0xc], ecx
mov ebx, edi
test edi, edi
jle 0x1004b4f5
mov edi, ecx
movzx eax, byte [edi]
lea edi, [edi + 1]
dec ebx
movzx ecx, byte [eax + 0x100949e0]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test ebx, ebx
jg 0x1004b4d2
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
mov eax, edx
xor edx, edx
div dword [ebx]
mov eax, ebx
push edx
push edi
push ecx
push eax
call fcn.10028f00
add esp, 0x10
test eax, eax
je 0x1004b572
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x1004b572
jmp 0x1004b520
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002f050
mov edx, dword [ebp - 8]
add esp, 0x14
test edx, edx
je 0x1004b56b
mov edi, dword [edx + 4]
test edi, edi
jle 0x1004b56b
mov edx, dword [edx + 8]
lea ecx, [ecx]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x1004b55c
or eax, 0xffffffff
jmp 0x1004b563
mov eax, 1
shl eax, cl
or esi, eax
add edx, 4
dec edi
jne 0x1004b550
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x1004b520
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006cf60
Capabilities:
Get system information on windows

Disassembly:
xorps xmm0, xmm0
mov dword [0x100af860], 0
push 0x100af840
movdqu xmmword [0x100af840], xmm0
movdqu xmmword [0x100af850], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call sym.YJK_SQL.dll_sqlite3_initialize
test eax, eax
jne 0x1006cfec
push esi
cmp dword [0x100ae094], eax
jne 0x1006cf9e
xor esi, esi
jmp 0x1006cfb9
push 2
call dword [0x100ae0d4]
mov esi, eax
add esp, 4
test esi, esi
je 0x1006cfb9
push esi
call dword [0x100ae0dc]
add esp, 4
push 0x100aeae0
call fcn.10070000
mov eax, dword [0x100aee60]
add esp, 4
mov dword [0x100aeaec], eax
mov dword [0x100aee60], 0x100aeae0
test esi, esi
je 0x1006cfe8
push esi
call dword [0x100ae0e4]
add esp, 4
xor eax, eax
pop esi
ret
xor eax, eax
ret

Function at 0x1006d8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x1006d910
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x100949e0]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x1006d8f2
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x1006dec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edx
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
lea esp, [esp]
mov al, byte [edx + 0x100954cc]
mov byte [ebp - 1], al
test esi, esi
je 0x1006df8f
cmp byte [esi], 0
mov ecx, esi
je 0x1006defe
inc ecx
cmp byte [ecx], 0
jne 0x1006def8
mov eax, dword [ebp + 8]
sub ecx, esi
add eax, 0x19c
and ecx, 0x3fffffff
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
cmp dword [eax + 0xc], 0
je 0x1006df65
xor edi, edi
mov dword [ebp - 0xc], esi
mov ebx, ecx
test ecx, ecx
jle 0x1006df53
mov ecx, esi
jmp 0x1006df30
movzx eax, byte [ecx]
lea edx, [edi*8]
dec ebx
lea ecx, [ecx + 1]
movzx esi, byte [eax + 0x100949e0]
xor esi, edx
xor edi, esi
test ebx, ebx
jg 0x1006df30
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov eax, edi
xor edx, edx
mov edi, dword [ebp + 8]
div dword [edi + 0x19c]
mov eax, dword [ebp - 0x18]
jmp 0x1006df6a
mov edi, dword [ebp + 8]
xor edx, edx
push edx
push ecx
push esi
push eax
call fcn.10028f00
add esp, 0x10
test eax, eax
je 0x1006df85
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
jmp 0x1006df92
mov edx, dword [ebp - 8]
xor ecx, ecx
mov al, byte [ebp - 1]
jmp 0x1006df92
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1006dfa2
movzx eax, al
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
cmp dword [ecx + 0xc], 0
jne 0x1006dfc1
inc edx
mov dword [ebp - 8], edx
cmp edx, 3
jl 0x1006dee0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
xor eax, eax
movdqu xmm0, xmmword [ecx]
pop edi
pop esi
movdqu xmmword [edx], xmm0
mov dword [edx + 0x10], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007fab0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x1007fabf
pop ebp
jmp fcn.10006910
xor eax, eax
pop ebp
ret 0x10

Function at 0x1007fec0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x1007fecf
pop ebp
jmp fcn.10008190
xor al, al
pop ebp
ret 4

Function at 0x10080710
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x10080758
cmp dword [ecx + 4], 0
setne al
test al, al
je 0x1008073d
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10080737
push 0x10094340
call dword [sym.imp.mfc120u.dll_Ordinal_1528]
xor eax, eax
pop ebp
ret 4
test ecx, ecx
je 0x10080758
cmp dword [ecx], 0
sete al
test al, al
jne 0x10080758
mov dword [ebp + 8], 0
pop ebp
jmp fcn.1000c500
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1008076a
push str.SQLITE_EMPTY_16_:_query_is_empty
call dword [sym.imp.mfc120u.dll_Ordinal_1528]
mov eax, 0x10
pop ebp
ret 4

Function at 0x10080bc0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x10080c35
cmp dword [ecx], 0
sete al
test al, al
jne 0x10080c35
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10080c27
push edi
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
call fcn.1000c500
mov ecx, dword [ebp + 8]
mov edi, eax
test ecx, ecx
je 0x10080c12
push ecx
mov ecx, esi
call dword [sym.imp.mfc120u.dll_Ordinal_1528]
push dword [ebp + 8]
call sym.YJK_SQL.dll_sqlite3_free
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
push 0x10094340
mov ecx, esi
call dword [sym.imp.mfc120u.dll_Ordinal_1528]
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp fcn.1000c500
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10080c47
push str.SQLITE_EMPTY_16_:_query_is_empty
call dword [sym.imp.mfc120u.dll_Ordinal_1528]
mov eax, 0x10
pop ebp
ret 4
Function at 0x10083c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100922f4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100aeb80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.mfc120u.dll_Ordinal_280]
lea eax, [ebx + 4]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 4]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
add edi, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 8]
mov dword [ebp + 8], edi
push esi
mov ecx, edi
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
lea eax, [esi + 8]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
lea eax, [esi + 0xc]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0xc]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
lea eax, [esi + 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov edi, dword [ebp - 0x10]
lea esi, [ebx + 0x1c]
add edi, 0x1c
mov byte [ebp - 4], 5
push esi
mov ecx, edi
mov dword [ebp + 8], edi
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
lea eax, [esi + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
lea eax, [esi + 0xc]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0xc]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092319
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100aeb80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
push dword [ebp + 0x10]
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc120u.dll_Ordinal_286]
lea ecx, [edi + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], 0
call dword [sym.imp.mfc120u.dll_Ordinal_296]
lea ecx, [edi + 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
lea ecx, [edi + 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
lea ecx, [edi + 0x1c]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
lea ecx, [edi + 0x24]
mov dword [edi + 0x20], 0
call dword [sym.imp.mfc120u.dll_Ordinal_296]
lea ecx, [edi + 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
mov eax, edi
mov dword [edi + 0x30], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100841c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009244e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100aeb80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
lea ecx, [esi + 4]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push dword [ebp + 8]
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.10003b00
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call sym.YJK_SQL.dll_public:_void___thiscall_ySqlVariantArray::constructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10084370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009252e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100aeb80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call sym.YJK_SQL.dll_public:_void___thiscall_ySqlVariantArray::constructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40257c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4025a4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4025aa
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x402634
jg 0x4025c1
test esi, esi
je 0x402634
test ecx, ecx
jl 0x402617
jg 0x4025cb
test eax, eax
je 0x402617
cmp edi, ecx
jg 0x4025df
jl 0x4025d5
cmp esi, eax
jae 0x4025df
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x402634
jg 0x40261a
test esi, esi
je 0x402634
jmp 0x40261a
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x402634
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x40267c
jl 0x402670
test ecx, ecx
jne 0x40267c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x402695
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x4026e3
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x4026e9
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x4026e9
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x402756
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x402712
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x402744
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x402756
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x402720
test edi, edi
je 0x402756
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc