joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cc20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f000]
push edi
jmp 0x45cc3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45cc41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45cc30
mov eax, 1
add ebx, ebx
jne 0x45cc53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45cc48
jne 0x45cc64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cc48
xor ecx, ecx
sub eax, 3
jb 0x45cc78
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45ccea
mov ebp, eax
add ebx, ebx
jne 0x45cc83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45cc90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45ccb4
inc ecx
add ebx, ebx
jne 0x45cca0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45cc95
jne 0x45ccb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cc95
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45ccd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45ccc5
jmp 0x45cc36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45ccd4
add edi, ecx
jmp 0x45cc36
pop esi
mov edi, esi
mov ecx, 0x20
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45ccf2
cmp byte [edi], 0
jne 0x45ccf2
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 0x45ccf7
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45cd66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c3bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5c428]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45cd24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5c430]
or eax, eax
je 0x45cd60
mov dword [ebx], eax
add ebx, 4
jmp 0x45cd41
call dword [esi + 0x5c42c]
mov ebp, dword [esi + 0x5c434]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x45cd9a
sub esp, 0xffffff80
jmp 0x401860
Function at 0x10007cac
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.10023e51
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x10007e1f
jg 0x10007cdb
test esi, esi
jb 0x10007e1f
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.10017328
add esp, 0xc
test eax, eax
js 0x10007e1f
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x10007d3d
push edi
call fcn.1000822e
pop ecx
test eax, eax
je 0x10007d34
push ebx
push esi
push edi
push ebp
call fcn.10023e51
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x10007e24
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.10023e51
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x10007e1f
jg 0x10007d66
cmp ebp, ebx
jb 0x10007e1f
mov ecx, 0x10015
cmp eax, ebx
jg 0x10007d7b
jl 0x10007d75
cmp ebp, ecx
jae 0x10007d7b
mov esi, ebp
mov ecx, eax
jmp 0x10007d7f
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.10023e51
add esp, 0x10
cmp edx, ebx
jl 0x10007e1f
jg 0x10007da5
cmp eax, ebx
jb 0x10007e1f
push 0x10015
call fcn.10023e51
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10007e1f
push esi
push ebx
push dword [esp + 0x24]
call fcn.10017328
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x10007e18
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x10007e14
cmp byte [esi], 0x50
jne 0x10007e13
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x10007e13
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x10007e2b
dec esi
cmp esi, ebx
jae 0x10007dd4
push ebx
call fcn.10023e51
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.1000a190
push ebx
call fcn.10023e51
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.1000822e
add esp, 0x14
test eax, eax
je 0x10007e6b
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.10023e51
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x10007e24
Function at 0x10023e51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10023e60
pop dword [ebp - 0x10]
mov eax, 0x3aaf89df
add eax, 0xd552b481
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xf5ad3c21
add dword [ebp - 0x20], 0x58a5092a
mov dword [ebp - 0x1c], 0xbc37e4ff
sub dword [ebp - 0x1c], 0x8a0498ba
mov dword [ebp - 0x18], 0x6d8a6b4d
sub dword [ebp - 0x18], 0x213e271f
mov dword [ebp - 0x14], 0xde26644f
sub dword [ebp - 0x14], 0xde26644f
lea eax, [ebp - 0x20]
push eax
mov eax, 0xe1a88508
add eax, 0x2e59cb48
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xc5dd7a4b
add dword [ebp - 0x20], 0xae94ef0b
mov dword [ebp - 0x1c], 0xf3b8ce9d
sub dword [ebp - 0x1c], 0xb24c6d28
mov dword [ebp - 0x18], 0xbcb4e842
sub dword [ebp - 0x18], 0x59457bd6
mov dword [ebp - 0x14], 0xdb3ba67b
sub dword [ebp - 0x14], 0xdb3ba67b
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3f67d
push 0
call eax
mov ecx, 0x4e80
xor esi, esi
add esi, eax
mov edx, 0x9b6e184
sub edx, 0xf9b38784
add edx, dword [ebp - 0x10]
mov edi, 0x3993f33c
sub edi, 0xad07fcac
sub dword [ebp - 0xc], 0x1ddee92
mov ebx, dword [edx]
sub dword [ebp - 8], edx
add ebx, edi
xor dword [ebp - 0xc], edx
mov dword [esi], ebx
add esi, 4
add edx, 0x7476fd50
sub edx, 0x7476fd4c
loop 0x10023f79
add eax, 0x351fb28a
sub eax, 0x351e85b7
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1002aaee
pop dword [ebp - 0xc]
mov eax, 0x1002aaee
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x27524b57
sub dword [ebp - 0x1c], 0xd900060c
mov dword [ebp - 0x18], 0x738ba705
add dword [ebp - 0x18], 0xbea7a540
mov dword [ebp - 0x14], 0xe26de1f
sub dword [ebp - 0x14], 0xc1da99f1
mov dword [ebp - 0x10], 0x9ee48233
sub dword [ebp - 0x10], 0x9ee48233
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x998b7cbd
sub eax, 0x8988bc85
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x5efab1fe
sub dword [ebp - 0x1c], 0xea8848a8
mov dword [ebp - 0x18], 0x57a2b79f
sub dword [ebp - 0x18], 0x1636562a
mov dword [ebp - 0x14], 0x9eeb923f
sub dword [ebp - 0x14], 0x3b7c25d3
mov dword [ebp - 0x10], 0x7a7b1ecf
add dword [ebp - 0x10], 0x8584e131
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xd48a3495
add eax, 0x3b788b93
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x38ee0
push 0
call eax
mov ecx, 0xc0808008
add ecx, 0x3f7fd1d1
xor edi, edi
add edi, eax
mov ebx, 0x5d87484d
sub ebx, 0x4d83b24d
add ebx, dword [ebp - 0xc]
mov esi, 0x84a89ee5
sub esi, 0x96044e08
xor dword [ebp - 4], esi
mov edx, dword [ebx]
add dword [ebp - 8], 0x6299a516
add edx, esi
xor dword [ebp - 4], ecx
mov dword [edi], edx
xor dword [ebp - 4], 0x826160e
add edi, 0x7eec3b0f
sub edi, 0x7eec3b0b
add ebx, 0xd7d52993
sub ebx, 0xd7d5298f
loop 0x1002ac0d
add eax, 0xfa0f7dc5
sub eax, 0xfa0e438e
xor ebx, ebx
add ebx, eax
add eax, 0x9b933f35
sub eax, 0x9b933f30
mov ecx, 0x382aad3d
sub ecx, 0x282aad3d
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40a726
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestNotNull.exe_gMozillaPoisonSize], eax
call fcn.00408179
pop ecx
mov ecx, dword [sym.TestNotNull.exe_gMozillaPoisonSize]
mov dword [sym.TestNotNull.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40a75e
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestNotNull.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x1803a92a
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1803a945
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1803a940
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne fcn.1803a92a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1803a932
cmp edx, ebx
jne 0x1803aa80
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1803a901
add eax, dword [eax + 4]
jmp 0x1803a8ee
mov dword [ebp + 0xc], ebx
jmp 0x1803a950
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1803a968
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1803a986
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1803a9e4
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1803a9cb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1803a9d4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1803a9de
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1803a9c0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1803a94a
mov dword [ebp + 8], esi
xor edi, edi
invalid
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1803aa31
dec eax
je 0x1803aa28
sub eax, 3
je 0x1803aa1f
mov dword [ebp - 4], 0x40
jmp 0x1803aa4e
mov dword [ebp - 4], 4
jmp 0x1803aa34
mov dword [ebp - 4], 0x20
jmp 0x1803aa34
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1803aa80
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1803aa00
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1803a291
push esp
push esp
xchg edx, eax
xor bh, bh
jne 0x1803aa8b
push 1
push esi
call edi
mov eax, esi
jmp 0x1803aa8c
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1803a973
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1803a945
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1803a940
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne fcn.1803a92a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1803a932
cmp edx, ebx
jne 0x1803aa80
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1803a901
add eax, dword [eax + 4]
jmp 0x1803a8ee
mov dword [ebp + 0xc], ebx
jmp 0x1803a950
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1803a968
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1803a986
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1803a9e4
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1803a9cb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1803a9d4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1803a9de
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1803a9c0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1803a94a
mov dword [ebp + 8], esi
xor edi, edi
invalid
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1803aa31
dec eax
je 0x1803aa28
sub eax, 3
je 0x1803aa1f
mov dword [ebp - 4], 0x40
jmp 0x1803aa4e
mov dword [ebp - 4], 4
jmp 0x1803aa34
mov dword [ebp - 4], 0x20
jmp 0x1803aa34
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1803aa80
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1803aa00
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1803a291
push esp
push esp
xchg edx, eax
xor bh, bh
jne 0x1803aa8b
push 1
push esi
call edi
mov eax, esi
jmp 0x1803aa8c
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180a4d2d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
mov edi, ebx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x180a4d84
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x180a4d61
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x180a4d64
mov dl, byte [ebp - 1]
mov eax, dword [esi + 8]
inc edi
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x180a4d4c
test dl, dl
je 0x180a4d84
push dword [ebp + 8]
mov ecx, esi
call fcn.180a4835
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x180a4ea0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push dword [edi + 4]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [edi + 8]
cmp eax, esi
je 0x180a4ecb
test eax, eax
je 0x180a4ec6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x180a4edd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x180a75d2
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push 1
push ecx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ecx
push eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180a7623
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180a761c
call fcn.18013e1e
jmp 0x180a7649
mov eax, 0x8007000d
jmp 0x180a7649
push dword [ebp + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add edx, esi
push edx
push esi
mov eax, dword [ecx]
push eax
mov dword [ecx + 4], eax
call fcn.18047216
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
leave
ret

Function at 0x180a7a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x180a7a25
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x180a79cb
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x180a7a53
xor al, al
jmp 0x180a7a64
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
pop esi
pop ebp
ret 4
Function at 0x100027d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0x64c
mov eax, 0x1008c4f0
call fcn.1008bdcf
mov dword [ebp - 0x658], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x64c], edi
mov esi, 0x208
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x440]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x238]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x654], 0x103
mov dword [ebp - 0x650], 0xf
test ebx, ebx
jne 0x10002839
mov esi, 0x80004003
jmp 0x1000296e
push edi
push edi
push edi
push ecx
push edi
mov edx, ebx
lea ecx, [ebp - 0x64c]
call fcn.10003530
mov esi, eax
test esi, esi
js 0x1000296e
mov eax, dword [ebp - 0x64c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
test eax, eax
jne 0x10002872
mov esi, 0x80004005
jmp 0x1000296e
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x654]
push edx
lea edx, [ebp - 0x648]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov esi, eax
test esi, esi
js 0x1000296e
cmp dword [ebp - 0x654], 4
jbe 0x10002868
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x650]
push edx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
mov esi, eax
test esi, esi
js 0x1000296e
cmp dword [ebp - 0x650], 5
je 0x100028d2
cmp dword [ebp - 0x650], 3
jne 0x10002868
push ecx
mov edx, str.accdb
lea ecx, [ebp - 0x30]
call fcn.1002230b
test eax, eax
jne 0x100028fa
push ecx
mov edx, 0x100922ec
lea ecx, [ebp - 0x30]
call fcn.1002230b
test eax, eax
je 0x10002868
lea eax, [ebp - 0x440]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10002868
push esi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x64c]
call fcn.10003530
mov esi, eax
test esi, esi
js 0x1000296e
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x238]
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x440]
push eax
call edi
test esi, esi
je 0x10002868
mov esi, dword [ebp - 0x658]
push dword [esi + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi + 0x44], 0
lea ecx, [esi + 0x44]
push ebx
call fcn.10003530
mov esi, eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x10002985
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1008bd84
ret 4
Function at 0x10003530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1000353f
pop dword [ebp - 0x18]
mov eax, 0x663fc8bd
add eax, 0xa9c06c82
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x514d1
push 0
mov eax, 0x15f6159f
sub eax, 0x5ed036f
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xc1a55c38
add ecx, 0x3e5aed94
xor edx, edx
add edx, eax
mov ebx, 0x871638f
add ebx, 0x79fee71
add ebx, dword [ebp - 0x18]
mov edi, 0xd56aca61
xor dword [ebp - 0x14], eax
mov esi, dword [ebx]
add dword [ebp - 4], 0x39802503
add esi, edi
mov dword [edx], esi
xor dword [ebp - 0x14], 0x65a43bf3
add edx, 0xf5525148
sub edx, 0xf5525144
add ebx, 0xa25b48ba
sub ebx, 0xa25b48b6
loop 0x1000359a
add eax, 0xb4ef7276
add eax, 0x4b11a78d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xaf2e3826
sub ecx, 0x9f2e3826
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x10003a41
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x1008c68b
call fcn.1008bd9c
mov edi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x10003a64
mov esi, 0x80004003
jmp 0x10003acf
test edi, edi
je 0x10003a5d
push eax
push eax
push eax
push ecx
push eax
mov edx, ebx
mov dword [edi], 1
lea ecx, [ebp - 0x10]
call fcn.10003530
mov esi, eax
test esi, esi
js 0x10003acf
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xfc]
test eax, eax
jne 0x10003a97
and dword [edi], eax
jmp 0x10003acf
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10003ac8
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x10003acf
xor esi, esi
and dword [edi], esi
jmp 0x10003acf
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10003ae3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1008bd70
ret
Function at 0x10009fe5
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x1008ccda
call fcn.1008bd9c
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call ebx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov ecx, 0xa05a
call fcn.10003530
call fcn.1000630a
mov dword [edi + 0x38], eax
push esi
cmp dword [edi + 0x30], esi
je 0x1000a02f
call ebx
mov ecx, 0xa042
jmp 0x1000a036
call ebx
mov ecx, 0xa043
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.10003530
push dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x515
push dword [edi + 4]
call esi
push dword [edi + 0x20]
push 0x4b5
push dword [edi + 4]
call esi
push dword [edi + 0x20]
push 0x101
push dword [edi + 4]
call esi
push dword [edi + 0x24]
push 0x3ed
push dword [edi + 4]
call esi
push dword [edi + 0x24]
push 0x4b6
push dword [edi + 4]
call esi
cmp dword [edi + 0x34], 0
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x1000a0a9
push 0x4b8
push dword [edi + 4]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1000a0c7
call fcn.10003530
test eax, eax
jne 0x1000a0c7
cmp dword [edi + 0x38], eax
jne 0x1000a0c7
push 1
push 0x4b8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push dword [edi + 4]
call esi
push 1
push eax
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x14]
call ebx
xor eax, eax
call fcn.1008bd70
ret 0x10