joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c120
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push esi
push edi
mov ecx, ebx
call fcn.0043bf60
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x43c186
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x43c16f
lea esp, [esp]
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
cmp ecx, 3
jge 0x43c16f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call ebx
mov esi, eax
test esi, esi
je 0x43c150
push edi
call fcn.0049cbfd
add esp, 4
neg esi
pop edi
sbb eax, eax
pop esi
and eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x43c1b4
mov eax, dword [ebp - 4]
mov edx, eax
inc eax
mov dword [ebp - 4], eax
cmp edx, 3
jge 0x43c1b4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
mov esi, eax
test esi, esi
je 0x43c195
neg esi
pop edi
sbb eax, eax
pop esi
and eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43c1d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
mov edi, eax
mov ecx, edi
call fcn.0043bf60
mov esi, eax
test esi, esi
je 0x43c200
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push esi
mov edi, ecx
call fcn.0049cbfd
add esp, 4
mov eax, edi
pop edi
pop esi
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop edi
pop esi
mov eax, edx
ret
Function at 0x43c470
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f038c]
push ebx
push esi
test eax, eax
je 0x43c4ac
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0049f3d0
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x43c539
mov eax, dword [0x4f0388]
test eax, eax
jne 0x43c4de
lea ecx, [ebp - 0x4bc]
push ecx
mov dword [ebp - 0x4bc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x4ac], 2
sete al
inc eax
mov dword [0x4f0388], eax
cmp eax, 2
jne 0x43c527
lea edx, [ebp - 0x3a8]
push edx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [ebp - 0x3a8]
call fcn.0043c080
mov esi, eax
test esi, esi
je 0x43c539
push 0x118
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.0049f3d0
push esi
mov byte [ebp - 0x24], 0
call fcn.0049cbfd
add esp, 0x10
jmp 0x43c539
lea ecx, [ebp - 0x13c]
push ecx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x13c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c542
sub eax, edx
test eax, eax
jle 0x43c561
lea ecx, [ebp - 0x13c]
cmp byte [ecx + eax - 1], 0x5c
jne 0x43c561
dec eax
test eax, eax
jg 0x43c555
mov byte [ebp + eax - 0x13c], 0
lea esp, [esp]
lea edx, [ebp - 0x13c]
push edx
push str._s_sqlite_
push edi
call fcn.0049d2b1
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x43c590
sub esi, ecx
lea eax, [edi + esi]
push eax
mov ecx, 0xf
call fcn.00452c60
add esp, 4
mov ecx, 3
nop
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
movzx eax, byte [edi + esi + 1]
add esi, 5
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 5], dl
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 4], al
movzx eax, byte [edi + esi - 3]
xor edx, edx
div ebx
movzx eax, byte [edi + esi - 2]
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 3], dl
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 2], al
movzx eax, byte [edi + esi - 1]
xor edx, edx
div ebx
dec ecx
movzx edx, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
jne 0x43c5b0
mov byte [edi + esi], cl
mov ecx, edi
call fcn.0043bf60
mov esi, eax
test esi, esi
je 0x43c648
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.0049cbfd
add esp, 4
jmp 0x43c657
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
jne 0x43c570
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049ca6b
mov esp, ebp
pop ebp
ret
Function at 0x43c9e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x43ca07
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ca6b
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4f0388]
test eax, eax
jne 0x43ca39
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x108], 2
sete al
inc eax
mov dword [0x4f0388], eax
cmp eax, 2
je 0x43ca53
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ca43
sub eax, edx
cmp eax, 0x104
ja 0x43c9f7
push ebx
push esi
mov ecx, edi
call fcn.0043bf60
mov esi, eax
test esi, esi
je 0x43ca76
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov ebx, eax
call fcn.0049cbfd
add esp, 4
jmp 0x43ca7f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
je 0x43ca8f
and bl, 0x10
cmp bl, 0x10
sete al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca6b
mov esp, ebp
pop ebp
ret

Function at 0x43cf00
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4f0394], 0
push esi
push edi
mov edi, eax
jne 0x43cf3b
mov esi, 1
add dword [0x4f0390], esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x4f0390], esi
mov dword [0x4f0030], eax
cmp eax, 0xffffffff
jne 0x43cf33
pop edi
xor eax, eax
pop esi
ret
mov dword [0x4f0394], esi
jmp 0x43cf40
mov eax, dword [0x4f0030]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jle 0x43cf8c
test esi, esi
jne 0x43cfce
push 0xc
call fcn.0049d400
mov esi, eax
add esp, 4
test esi, esi
je 0x43cfce
mov eax, dword [0x4d43cc]
mov dword [esi], eax
mov ecx, dword [0x4d43d0]
mov eax, dword [0x4f0030]
mov dword [esi + 4], ecx
mov edx, dword [0x4d43d4]
push esi
push eax
mov dword [esi + 8], edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
mov eax, esi
pop esi
ret
test esi, esi
je 0x43cfce
test edi, edi
jns 0x43cfce
mov eax, 0x4d43cc
mov edx, esi
mov ecx, 0xc
sub edx, eax
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x43cfce
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x43cfa2
push esi
call fcn.0049cbfd
mov ecx, dword [0x4f0030]
add esp, 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
pop edi
mov eax, esi
pop esi
ret
Function at 0x43cff0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4f0394], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, 1
jne 0x43d02a
add dword [0x4f0390], edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
sub dword [0x4f0390], edi
mov dword [0x4f0030], eax
cmp eax, 0xffffffff
je 0x43d03a
mov dword [0x4f0394], edi
jmp 0x43d02f
mov eax, dword [0x4f0030]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43d03f
mov eax, 0x4d5704
cmp byte [eax + 4], 0
je 0x43d120
test ebx, ebx
js 0x43d120
mov edx, dword [esi + 0x68]
xor ecx, ecx
test edx, edx
jle 0x43d078
mov eax, dword [esi + 0x6c]
lea ecx, [ecx]
cmp dword [eax], ebx
jne 0x43d06f
mov ebx, dword [ebp + 0xc]
cmp dword [eax + 4], ebx
je 0x43d097
mov ebx, dword [ebp + 8]
add ecx, edi
add eax, 0x10
cmp ecx, edx
jl 0x43d060
mov ecx, dword [esi + 0x6c]
lea eax, [edx + 1]
shl eax, 4
cmp dword [0x4f0384], 0
je 0x43d0b5
cmp dword [0x4f0390], 0
jle 0x43d0b5
xor edi, edi
jmp 0x43d0e5
cmp byte [eax + 8], 0
jne 0x43d0ac
cmp byte [ebp + 0x10], 0
jne 0x43d0ac
xor ecx, ecx
pop edi
mov byte [eax + 8], cl
pop ebx
pop ebp
ret
mov ecx, edi
pop edi
mov byte [eax + 8], cl
pop ebx
pop ebp
ret
test ecx, ecx
jne 0x43d0c5
push edi
push eax
call fcn.0042d680
add esp, 8
jmp 0x43d0df
push eax
push ecx
call fcn.0049d353
add esp, 8
test eax, eax
jne 0x43d0df
add dword [0x4f0390], edi
mov dword [0x4f0384], edi
mov edi, eax
test edi, edi
jne 0x43d0f5
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x43d0f5
push eax
call fcn.0049cbfd
add esp, 4
mov edx, edi
mov dword [esi + 0x6c], edi
test edx, edx
je 0x43d120
mov ecx, dword [esi + 0x68]
mov eax, ecx
shl eax, 4
add eax, edx
mov dl, byte [ebp + 0x10]
inc ecx
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov byte [eax + 8], dl
mov dword [eax + 0xc], ecx
pop edi
pop ebx
pop ebp
ret
Function at 0x43d590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [eax], ecx
jle 0x43d683
push ebx
push esi
lea esp, [esp]
cmp ecx, 2
jge 0x43d5b8
xor ecx, 1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43d605
mov bl, byte [edx]
mov eax, dword [eax + 4]
lea esi, [ecx + ecx*2]
mov esi, dword [eax + esi*8]
test bl, bl
je 0x43d5ed
mov edi, edi
movzx eax, byte [esi]
movzx ebx, bl
mov bl, byte [ebx + 0x4d5a20]
cmp bl, byte [eax + 0x4d5a20]
jne 0x43d5ed
mov bl, byte [edx + 1]
inc edx
inc esi
test bl, bl
jne 0x43d5d0
movzx edx, byte [edx]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x4d5a20]
movzx edx, byte [edx + 0x4d5a20]
sub edx, eax
jne 0x43d664
mov edi, dword [ebp + 0xc]
mov eax, edi
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43d610
sub eax, esi
lea ebx, [eax + 1]
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov esi, dword [edx + eax*8 + 0x14]
add esi, 4
je 0x43d67f
cmp dword [esi + 0x18], 0
je 0x43d67f
cmp byte [esi], 3
mov eax, 0x4386b0
je 0x43d643
mov eax, 0x438720
push ebx
push edi
call eax
mov edx, dword [esi + 0x14]
dec edx
push ebx
and edx, eax
push edi
mov ecx, esi
call fcn.00438920
add esp, 0x10
test eax, eax
je 0x43d67f
mov edi, dword [eax + 8]
test edi, edi
jne 0x43d676
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [eax]
jl 0x43d5b0
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x43d664
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43d710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp dword [edx], eax
jle 0x43d805
push ebx
push esi
mov edi, edi
mov ecx, edi
cmp edi, 2
jge 0x43d73a
xor ecx, 1
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*2]
mov ebx, dword [edx + ecx*8 + 0x14]
lea ecx, [edx + ecx*8]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x43d798
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x43d780
jmp 0x43d760
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4d5a20]
cmp cl, byte [eax + 0x4d5a20]
jne 0x43d77d
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x43d760
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4d5a20]
movzx edx, byte [edx + 0x4d5a20]
sub edx, ecx
jne 0x43d7f4
test ebx, ebx
je 0x43d7f0
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d7a2
sub eax, edx
lea esi, [ebx + 0x20]
lea edi, [eax + 1]
test esi, esi
je 0x43d811
cmp dword [esi + 0x18], 0
je 0x43d811
cmp byte [esi], 3
mov eax, 0x4386b0
je 0x43d7ca
mov eax, 0x438720
mov ebx, dword [ebp + 0xc]
push edi
push ebx
call eax
mov edx, dword [esi + 0x14]
dec edx
push edi
and edx, eax
push ebx
mov ecx, esi
call fcn.00438920
mov edi, dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x43d80a
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x43d803
mov edx, dword [ebp + 8]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [edx]
jl 0x43d730
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x43d7f4
mov edi, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x43d7f4
Function at 0x444a30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp edi, 2
jge 0x444a42
mov eax, 0x17
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
movzx ecx, byte [esi]
movzx eax, byte [esi + edi - 1]
movzx eax, byte [eax + 0x4d5a20]
movzx edx, byte [ecx + 0x4d5a20]
add edx, edx
lea eax, [eax + eax*2]
add edx, edx
xor eax, edx
xor eax, edi
cdq
mov ecx, 0x7f
idiv ecx
movzx ebx, byte [edx + str.Pk_]
dec ebx
mov dword [ebp - 4], ebx
js 0x444af1
lea ecx, [ecx]
movzx edx, byte [ebx + 0x4d5530]
cmp edx, edi
jne 0x444ae4
movzx eax, word [ebx*2 + 0x4d55a8]
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHERE
mov ecx, edi
test edi, edi
jle 0x444ac4
mov edi, edi
mov dl, byte [eax]
dec ecx
test dl, dl
je 0x444ac5
movzx ebx, byte [esi]
movzx edx, dl
mov dl, byte [edx + 0x4d5a20]
cmp dl, byte [ebx + 0x4d5a20]
mov ebx, dword [ebp - 4]
jne 0x444ac5
inc eax
inc esi
test ecx, ecx
jg 0x444aa0
dec ecx
test ecx, ecx
js 0x444afc
movzx ecx, byte [esi]
movzx eax, byte [eax]
movzx edx, byte [ecx + 0x4d5a20]
movzx ecx, byte [eax + 0x4d5a20]
sub ecx, edx
je 0x444afc
mov esi, dword [ebp + 8]
movzx ebx, byte [ebx + 0x4d54b8]
dec ebx
mov dword [ebp - 4], ebx
jns 0x444a80
pop esi
mov eax, 0x17
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 0x4d5690]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
cmp byte [esi + 0xb], 0
push edi
jne 0x44daa3
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x44d9a2
nop
mov edi, dword [eax + 0x18]
push eax
call fcn.0049cbfd
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x44d990
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0xbc], ebx
cmp eax, ebx
je 0x44d9c7
push eax
call fcn.0049cbfd
add esp, 4
mov cl, byte [esi + 0xa]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc0], ebx
cmp cl, 2
jb 0x44da86
cmp byte [esi + 0x11], bl
je 0x44daaa
mov edi, dword [esi + 0x74]
cmp edi, ebx
je 0x44da69
lea esp, [esp]
cmp byte [edi + 0x26], 0
je 0x44da62
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
add ecx, eax
lea ebx, [ecx + edi + 0x38]
mov ecx, dword [ebx]
test ecx, ecx
je 0x44da16
push eax
push ecx
lea edx, [edi + 0x38]
push edx
call fcn.004a2500
add esp, 0xc
mov eax, dword [ebx]
test eax, eax
je 0x44da25
push eax
call fcn.0049cbfd
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x44da35
push eax
call fcn.0049cbfd
add esp, 4
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov byte [edi + 0x26], cl
mov word [edi + 0x24], cx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov eax, dword [esi + 0xb0]
cmp eax, ecx
je 0x44da60
mov ecx, dword [esi + 0x30]
push ecx
lea edx, [edi + 0x38]
push edx
call eax
add esp, 8
xor ebx, ebx
mov edi, dword [edi + 0x18]
cmp edi, ebx
jne 0x44d9f0
mov eax, dword [esi + 0x18]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov ebx, esi
mov dword [esi + 0x14], eax
call fcn.0044eb30
mov byte [esi + 5], 0
mov byte [esi + 0xa], 1
xor ebx, ebx
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
add esp, 8
mov byte [esi + 0xa], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x3c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0xf], bl
je 0x44db15
cmp byte [esi], bl
je 0x44db15
mov al, byte [esi + 0xb]
test al, al
je 0x44dacc
cmp al, 0xd
je 0x44dacc
cmp cl, 4
jb 0x44da86
mov eax, esi
call fcn.0044e210
jmp 0x44da86
cmp cl, 2
jne 0x44dae5
call fcn.0044e090
mov ebx, eax
mov eax, esi
call fcn.0044db30
test ebx, ebx
jne 0x44daee
jmp 0x44daec
mov eax, esi
call fcn.0044e210
mov ebx, eax
mov dword [esi + 0x14], 0xffffffff
cmp ebx, 0xd
je 0x44db0d
cmp ebx, 0xa
je 0x44db0d
cmp ebx, 0xb
je 0x44db0d
cmp ebx, 0xf
jne 0x44da84
mov byte [esi + 0xb], bl
jmp 0x44da84
mov eax, esi
call fcn.0044db30
mov dword [esi + 0x14], 0xffffffff
jmp 0x44da86
Function at 0x44ef60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, eax
cmp byte [edi + 2], 0
je 0x44efcb
mov ebx, dword [edi + 0x50]
mov ecx, ebx
call fcn.0043bf60
mov esi, eax
test esi, esi
je 0x44ef95
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.0049cbfd
add esp, 4
jmp 0x44efa4
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x44efcb
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
add esp, 4
test eax, eax
jne 0x44efcb
call fcn.0044e9a0
test eax, eax
jne 0x44efd1
mov eax, dword [edi + 0x50]
call fcn.0043c120
xor eax, eax
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x45a110
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x45a120
xor eax, eax
pop edi
pop ebp
ret
cmp dword [0x4f0384], 0
push esi
je 0x45a133
cmp dword [0x4f0390], 0
jg 0x45a153
push 0x44
call fcn.0049d400
mov esi, eax
add esp, 4
test esi, esi
jne 0x45a159
mov eax, 1
add dword [0x4f0390], eax
mov dword [0x4f0384], eax
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
call fcn.00459dc0
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
call fcn.00459ee0
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
call fcn.00459ca0
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
call fcn.00459dc0
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
call fcn.00459ca0
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
call fcn.00459dc0
mov dword [esi + 0x1c], eax
movzx ecx, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
call fcn.0045a110
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
push eax
call fcn.00459ca0
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
push ecx
call fcn.00459ca0
mov dword [esi + 0x2c], eax
add esp, 0x24
or eax, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
movzx ecx, byte [edi + 7]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 7], cl
mov word [esi + 8], 0
mov dword [esi + 0x24], 0
mov eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x46cd00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5b73
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], esi
call fcn.00414840
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.00478cd0
mov ebx, 1
mov dword [ebp - 4], ebx
push 0x11
mov eax, str.liebaoUser_Data
lea ecx, [ebp - 0x2c]
call fcn.00416700
cmp dword [ebp - 0x1c], esi
je 0x46cda5
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x46cd6c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
sete al
test al, al
je 0x46cda5
xor eax, eax
push esi
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x48], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
call fcn.00416830
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
jmp 0x46cdd3
mov dword [ebp - 0x54], esi
xor edx, edx
push esi
mov eax, 0x4cdc04
lea esi, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], dx
call fcn.00419690
mov eax, esi
mov dword [ebp - 4], 3
mov ebx, 2
xor esi, esi
mov dword [ebp - 0x68], ebx
mov dword [edi + 0x10], esi
mov esi, dword [ebp - 0x6c]
mov dword [edi + 0x14], 7
xor ecx, ecx
mov word [edi], cx
mov edi, eax
call fcn.004165a0
or ebx, 4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], 2
test bl, 2
je 0x46ce2e
and ebx, 0xfffffffd
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x50], 8
jb 0x46ce19
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049ca60
add esp, 4
xor edi, edi
mov esi, 7
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
jmp 0x46ce33
xor edi, edi
lea esi, [edi + 7]
mov dword [ebp - 4], 1
test bl, 1
je 0x46ce63
and ebx, 0xfffffffe
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x34], 8
jb 0x46ce57
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0049ca60
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x46ce79
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049ca60
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049ca6b
mov esp, ebp
pop ebp
ret