joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a50
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x401f78
call fcn.00401d98
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x403f68
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x401878
cmp eax, esi
jne 0x40186b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40187b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40184f
xor esi, esi
inc esi
cmp dword [0x403f6c], esi
jne 0x40188d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4018c7
cmp dword [0x403f6c], ebx
jne 0x4018c1
mov dword [0x403f6c], esi
push 0x4010cc
push 0x4010c0
call fcn.00493000
pop ecx
pop ecx
test eax, eax
je 0x4018c7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40199c
mov dword [0x402014], esi
cmp dword [0x403f6c], esi
jne 0x4018ea
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403f6c], 2
test edi, edi
jne 0x4018f7
xor eax, eax
mov ecx, 0x403f68
xchg dword [ecx], eax
cmp dword [0x403f70], 0
je 0x401923
push 0x403f70
call fcn.00401bf0
pop ecx
test eax, eax
je 0x401923
push ebx
push 2
push ebx
mov esi, dword [0x403f70]
mov ecx, esi
call dword [0x4040cc]
call esi
push dword [0x402020]
push dword [0x40201c]
push dword [0x402018]
call fcn.00401390
add esp, 0xc
mov dword [0x402010], eax
cmp dword [0x402028], 0
jne 0x401981
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x402014], 0
jne 0x401995
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x402010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00401ce5
jmp 0x401833

Function at 0x401ad4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401f98
call fcn.00401d98
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401b34
cmp eax, 0xffffffff
je 0x401b34
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401b2d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x401b2d
cmp edx, 0x10000000
jae 0x401b2d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401b2a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401ba0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x401bde
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401bd6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401be0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401bc6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x425760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
jmp 0x42577a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425770
mov eax, 1
add ebx, ebx
jne 0x425793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425788
jne 0x4257a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425788
xor ecx, ecx
sub eax, 3
jb 0x4257b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42582a
mov ebp, eax
add ebx, ebx
jne 0x4257c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4257d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4257f4
inc ecx
add ebx, ebx
jne 0x4257e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4257d5
jne 0x4257f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4257d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425805
jmp 0x425776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425814
add edi, ecx
jmp 0x425776
pop esi
mov edi, esi
mov ecx, 0x3f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425832
cmp byte [edi], 3
jne 0x425832
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 0x425837
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x4258af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3951c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39558]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425864
mov ecx, edi
jns 0x425893
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39560]
or eax, eax
je 0x4258a9
mov dword [ebx], eax
add ebx, 4
jmp 0x425881
call dword [esi + 0x3955c]
mov ebp, dword [esi + 0x39564]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4258e3
sub esp, 0xffffff80
jmp 0x40152c
Function at 0x43e8f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39000]
push edi
jmp 0x43e90a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43e911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43e900
mov eax, 1
add ebx, ebx
jne 0x43e923
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43e918
jne 0x43e934
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43e918
xor ecx, ecx
sub eax, 3
jb 0x43e948
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43e9ba
mov ebp, eax
add ebx, ebx
jne 0x43e953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43e960
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43e984
inc ecx
add ebx, ebx
jne 0x43e970
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43e965
jne 0x43e981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43e965
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43e9a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43e995
jmp 0x43e906
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43e9a4
add edi, ecx
jmp 0x43e906
pop esi
mov edi, esi
mov ecx, 0x249
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43e9c2
cmp byte [edi], 2
jne 0x43e9c2
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 0x43e9c7
lea edi, [esi + 0x3c000]
mov eax, dword [edi]
or eax, eax
je 0x43ea3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x41b8c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x41c58]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43e9f4
mov ecx, edi
jns 0x43ea23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x41c60]
or eax, eax
je 0x43ea39
mov dword [ebx], eax
add ebx, 4
jmp 0x43ea11
call dword [esi + 0x41c5c]
mov ebp, dword [esi + 0x41c64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x43ea73
sub esp, 0xffffff80
jmp 0x4030fa
Function at 0x4e5000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8e000]
push edi
jmp 0x4e501a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e5021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5010
mov eax, 1
add ebx, ebx
jne 0x4e5033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e5044
jne 0x4e5063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5063
dec eax
add ebx, ebx
jne 0x4e5050
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e5028
add ebx, ebx
jne 0x4e505f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e50b5
xor ecx, ecx
sub eax, 3
jb 0x4e507b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e50ea
sar eax, 1
mov ebp, eax
jmp 0x4e5086
add ebx, ebx
jne 0x4e5086
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5054
inc ecx
add ebx, ebx
jne 0x4e5094
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5054
add ebx, ebx
jne 0x4e50a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e5096
jne 0x4e50b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e5096
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e50d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e50c6
jmp 0x4e5016
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e50d4
add edi, ecx
jmp 0x4e5016
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e50f2
cmp byte [edi], 0x11
jne 0x4e50f2
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 0x4e50f7
lea edi, [esi + 0xde000]
mov eax, dword [edi]
or eax, eax
je 0x4e516f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf1894]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf1a10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e5124
mov ecx, edi
jns 0x4e5153
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf1a14]
or eax, eax
je 0x4e5169
mov dword [ebx], eax
add ebx, 4
jmp 0x4e5141
call dword [esi + 0xf1a24]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e51a0
cmp al, 0xef
ja 0x4e5193
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e5175
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e5182
mov ebp, dword [esi + 0xf1a18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4e51d4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x401a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4063a0]
test esi, esi
jle 0x401b60
mov edi, dword [0x4063a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401a84
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401b05
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401a70
mov dword [esp], eax
mov ebx, eax
call fcn.00402340
test eax, eax
mov edi, eax
je 0x401b87
mov eax, dword [0x4063a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402440
add eax, dword [edi + 0xc]
mov edx, dword [0x4063a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b67
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401afe
sub eax, 4
and eax, 0xfffffffb
jne 0x401b10
add dword [0x4063a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4063a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401afe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00402820
lea esi, [esi]
xor esi, esi
jmp 0x401a8e
mov eax, dword [0x4063a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00402820
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00402820
mov esi, esi
lea edi, [edi]

Function at 0x401fc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4063b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4063b0]
sub esp, 4
test ebx, ebx
je 0x402015
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40200e
test esi, esi
je 0x40200e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ff0
mov dword [esp], 0x4063b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4026b0
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
call fcn.004016d0
lea edx, [ebp - 0x40]
xor eax, eax
mov ecx, 9
mov edi, edx
mov dword [ebp - 0x1c], str.Get_Windows_12
rep stosd dword es:[edi], eax
mov dword [esp], edx
mov dword [ebp - 0x3c], 0x4015c0
call dword [sym.imp.USER32.dll_RegisterClassA]
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x1f4
mov dword [esp + 0x18], 0x1f4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xa0000
mov dword [esp + 8], str.Get_Windows_12
mov dword [esp + 4], str.Get_Windows_12
mov dword [esp], 0
call ebx
sub esp, 0x30
mov esi, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0x1f4
mov dword [esp + 0x18], 0x1f4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], str.Get_Windows_12
mov dword [esp + 4], str.button
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x5c]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
sub esp, 0x30
jmp 0x4027ed
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
jne 0x4027e5
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x402820
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00402680
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00402680
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp fcn.004014e0
Function at 0x4681ec
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00468063

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x6f6744db
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4b775f19
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000a7c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002a134
call fcn.100162ec
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000a844
push 2
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000a844
call fcn.10004432
mov esi, eax
jmp 0x1000a91b
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000a867
call fcn.10004432
jmp 0x1000a90e
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x1000a85d
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1000a897
mov esi, 0x8007000e
jmp 0x1000a910
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001e573
jmp 0x1000a8bd
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000a890
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000a85d
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001e573
mov esi, eax
test edi, edi
je 0x1000a91b
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000a934
lea ecx, [ebp - 0x418]
call fcn.10009f30
mov eax, esi
call fcn.1001623e
ret 0x10
Function at 0x1000f7c9
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002a5ef
call fcn.1001624d
mov ebx, ecx
mov eax, dword [ebx]
xor esi, esi
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.1001e573
and dword [ebp - 4], esi
cmp dword [ebx + 0x44], esi
je 0x1000f873
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1001e573
test al, al
je 0x1000f849
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
sub esp, 0x10
mov byte [ebp - 4], 1
mov edi, esp
lea esi, [ebp - 0x20]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push dword [ebx + 0x44]
movsd dword es:[edi], dword [esi]
push eax
push 1
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001e573
add esp, 0x28
mov byte [ebp - 4], 0
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1000f862
push 0
push str.Close
push dword [ebx + 0x44]
push 0
push 1
push ebx
call fcn.1001e573
add esp, 0x18
mov esi, eax
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x1000f873
and dword [ebx + 0x44], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebx + 0x24], 0
je 0x1000f893
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.1001e573
test al, al
je 0x1000f893
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.1001621b
ret
Function at 0x100106e6
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x210
mov eax, 0x1002a68f
call fcn.10016280
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 8], edi
je 0x1001070c
mov eax, reloc.OLEAUT32.dll_VariantCopyInd
jmp 0x1001087d
lea ecx, [esi - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x10010725
mov eax, 0x80004005
jmp 0x1001087d
mov edx, dword [ebp + 0x10]
mov eax, edx
and eax, reloc.OLEAUT32.dll_SysReAllocString
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
push ebx
sete al
mov byte [ecx + 0x31], al
mov ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
mov eax, edx
and eax, ecx
cmp eax, ecx
mov eax, dword [esi + 0x14]
sete cl
mov byte [eax + 0x32], cl
mov eax, reloc.OLEAUT32.dll_VariantClear
and edx, eax
cmp edx, eax
mov eax, dword [esi + 0x14]
sete cl
mov byte [eax + 0x33], cl
mov ecx, dword [esi + 0x14]
add ecx, 0x28
call fcn.1001e573
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1001e573
push str.Excel.Application
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], edi
call fcn.1001e573
test al, al
je 0x1001085a
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.10016100
push 0x5c
push ebx
call fcn.1001e573
add esp, 0x14
test eax, eax
jne 0x100107d3
push 0x2f
push ebx
call fcn.1001e573
pop ecx
pop ecx
test eax, eax
je 0x100107f3
add eax, 2
push 0x2e
push eax
call fcn.1001e573
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1001e573
add esp, 0x14
cmp word [ebp - 0x218], 0
je 0x10010853
push edi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.kernel32.dll_CopyFileW]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.1001e573
pop ecx
pop ecx
mov ecx, dword [esi + 0x14]
add ecx, 0x24
test eax, eax
jne 0x10010845
lea eax, [ebp - 0x218]
push eax
call fcn.1001e573
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x1001084b
push ebx
call fcn.1001e573
mov eax, dword [esi + 0x14]
add eax, 0x24
jmp 0x10010866
mov edi, 0x80004005
jmp 0x1001086f
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x24
call fcn.1001e573
push eax
lea ecx, [esi + 0x10]
call fcn.1001e573
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.1001622f
ret 0xc