joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401350
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
sub esp, 0x670
lea eax, [esp + 0x264]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x264]
push ecx
call fcn.00407500
add esp, 4
test eax, eax
je 0x4013c2
push 0x40a214
push str.Autobahn_MainProgram02_ClassName
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x401574
push str.AIEPU_UNINST1ST_PROGRAM
lea ecx, [esp + 4]
mov dword [esp + 4], vtable.CGsDualBoot.0
mov dword [esp + 8], eax
call fcn.004012c0
test eax, eax
jne 0x4013ce
mov eax, dword [esp + 4]
test eax, eax
je 0x4013c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
add esp, 0x670
ret 0x10
lea edx, [esp + 0x368]
push edx
call fcn.00401180
add esp, 4
test eax, eax
jne 0x401427
push 0x40a214
lea eax, [esp + 0x470]
push 0x40a40c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push str.Info
lea ecx, [esp + 0x474]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp]
call fcn.004012a0
xor eax, eax
add esp, 0x670
ret 0x10
lea edx, [esp + 0x5c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x5c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401440
sub eax, edx
je 0x40145b
mov cl, byte [esp + eax + 0x5b]
cmp cl, 0x5c
lea eax, [esp + eax + 0x5b]
jne 0x40145b
mov byte [eax], 0
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x36c]
push eax
lea ecx, [esp + 0x574]
push str._sUNINST.EX_
push ecx
call esi
push str.AIEPU_TEMP_UNINST.EXE
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x178]
push str._s_s
push eax
call esi
add esp, 0x1c
push 0
lea ecx, [esp + 0x168]
push ecx
lea edx, [esp + 0x578]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40153a
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x18c]
push eax
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 1
mov word [esp + 0x78], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 1
pop edi
jne 0x40153a
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
lea ecx, [esp + 4]
call fcn.004012a0
pop esi
xor eax, eax
add esp, 0x670
ret 0x10
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x24
push str.Uninstall_error
push 0x40a2f8
push 0
call esi
cmp eax, 6
jne 0x40156a
call fcn.00401000
push 0x40
push str.Info
push 0x40a3d4
push 0
call esi
lea ecx, [esp + 4]
call fcn.004012a0
pop esi
xor eax, eax
add esp, 0x670
ret 0x10
Function at 0x402f5c
Capabilities:
Terminate process

Disassembly:
push 8
push 0x40a578
call fcn.00402cb4
push 8
call fcn.00402c80
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x40d134], esi
jne 0x402f90
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x40d130], esi
mov al, byte [ebp + 0x10]
mov byte [0x40d12c], al
cmp dword [ebp + 0xc], edi
jne 0x402fda
cmp dword [0x40e908], edi
je 0x402fca
mov eax, dword [0x40e904]
sub eax, 4
mov dword [0x40e904], eax
cmp eax, dword [0x40e908]
jb 0x402fca
mov eax, dword [eax]
cmp eax, edi
je 0x402fab
call eax
jmp 0x402fab
push 0x40c038
mov eax, 0x40c030
call fcn.00402eda
pop ecx
push 0x40c044
mov eax, 0x40c03c
call fcn.00402eda
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x40300b
cmp dword [ebp + 0x10], edi
jne 0x403019
mov dword [0x40d134], esi
push dword [ebp + 8]
call fcn.00402e98
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x403018
push 8
call fcn.00402bcb
pop ecx
ret
call fcn.00402cef
ret

Function at 0x40305f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x40c0b8]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x40c1f0]
je 0x403094
inc eax
cmp eax, 0x13
jb 0x403085
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x40c1f0]
jne 0x4031ba
mov eax, dword [0x40cf88]
cmp eax, 1
je 0x403192
cmp eax, edx
jne 0x4030c4
cmp dword [0x40c0ac], 1
je 0x403192
cmp ecx, 0xfc
je 0x4031ba
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4030fa
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00404620
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00404720
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40312e
mov eax, edi
push eax
call fcn.00404720
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a970
push edi
call fcn.00405990
add esp, 0x10
push edi
call fcn.00404720
push dword [esi + 0x40c1f4]
mov ebx, eax
call fcn.00404720
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00403ac0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00404620
push edi
push ebx
call fcn.00404630
push 0x40a950
push ebx
call fcn.00404630
push dword [esi + 0x40c1f4]
push ebx
call fcn.00404630
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00405897
add esp, 0x2c
jmp 0x4031ba
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x40c1f4]
push dword [esi]
call fcn.00404720
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00405ae5
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x40566e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40569c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4056a3
cmp ebx, dword [eax + 4]
jae 0x4056a3
xor eax, eax
jmp 0x405893
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4056b4
xor eax, eax
inc eax
jmp 0x405892
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4056ca
cmp ecx, edx
jae 0x40580f
cmp dword [eax + 4], 0
je 0x4056d3
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4056bb
cmp dword [ebp + 8], 0
je 0x4056f5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40580f
cmp eax, esi
jae 0x40580f
mov eax, dword [0x40d268]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40571a
cmp dword [esi*4 + 0x40d270], edi
je 0x405813
inc esi
cmp esi, eax
jl 0x405708
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40588f
cmp dword [ebp - 8], 0x1000000
jne 0x40588f
test byte [ebp - 0xc], 0xcc
je 0x405798
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40588f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40588f
cmp word [eax + 0x18], 0x10b
jne 0x40588f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40588f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x405798
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x405798
test byte [ecx + 0x27], 0x80
jne 0x40580f
push 1
push 0x40d2b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4056ac
mov ecx, dword [0x40d268]
test ecx, ecx
mov edx, ecx
jle 0x4057cc
lea eax, [ecx*4 + 0x40d26c]
cmp dword [eax], edi
je 0x4057cc
dec edx
sub eax, 4
test edx, edx
jg 0x4057c0
test edx, edx
jne 0x4057fd
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4057d9
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4057f1
lea eax, [edx*4 + 0x40d270]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4057df
cmp ecx, 0x10
jge 0x4057fd
inc ecx
mov dword [0x40d268], ecx
push 0
push 0x40d2b0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4056ac
xor eax, eax
jmp 0x405892
test esi, esi
jle 0x4056ac
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40d2b0
call ebx
test eax, eax
jne 0x4056ac
cmp dword [esi*4 + 0x40d270], edi
je 0x405869
mov eax, dword [0x40d268]
lea esi, [eax - 1]
test esi, esi
jl 0x405857
cmp dword [esi*4 + 0x40d270], edi
je 0x405853
dec esi
jns 0x405847
test esi, esi
jge 0x405867
cmp eax, 0x10
jge 0x405862
inc eax
mov dword [0x40d268], eax
lea esi, [eax - 1]
jmp 0x405869
je 0x405881
xor ecx, ecx
test esi, esi
jl 0x405881
lea eax, [ecx*4 + 0x40d270]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40586f
push 0
push 0x40d2b0
call ebx
jmp 0x4056ac
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405897
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40d2b4], ebx
push esi
push edi
jne 0x405917
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x405952
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ac0c
push edi
call esi
test eax, eax
mov dword [0x40d2b4], eax
je 0x405952
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x40d2b8], eax
call esi
cmp dword [0x40d0f4], 2
mov dword [0x40d2bc], eax
jne 0x405917
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40d2c4], eax
je 0x405917
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x40d2c0], eax
mov eax, dword [0x40d2c0]
test eax, eax
je 0x40595c
call eax
test eax, eax
je 0x405943
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40d2c4]
test eax, eax
je 0x405943
test byte [ebp - 8], 1
jne 0x40595c
cmp dword [0x40d100], 4
jb 0x405956
or byte [ebp + 0x12], 0x20
jmp 0x40597b
xor eax, eax
jmp 0x40598b
or byte [ebp + 0x12], 4
jmp 0x40597b
mov eax, dword [0x40d2b8]
test eax, eax
je 0x40597b
call eax
mov ebx, eax
test ebx, ebx
je 0x40597b
mov eax, dword [0x40d2bc]
test eax, eax
je 0x40597b
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40d2b4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406c6e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403ac0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406d09
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x40d0f4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x406d09
cmp eax, 1
je 0x406d2a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406d09
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x406cd6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x406d05
xor eax, eax
inc eax
jmp 0x406d49
cmp edi, eax
jae 0x406d0d
xor eax, eax
jmp 0x406d49
cmp eax, esi
jae 0x406d14
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x40d0f4]
jmp 0x406d2d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407500
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
lea ecx, [esp]
push 0x104
push eax
push ecx
call fcn.00405990
add esp, 0xc
xor eax, eax
mov cl, 0x5c
cmp byte [esp + eax], cl
je 0x407531
inc eax
cmp eax, 0x104
jl 0x407521
jmp 0x407536
mov byte [esp + eax + 1], 0
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor ecx, ecx
cmp eax, 3
sete cl
mov eax, ecx
add esp, 0x104
ret
Function at 0x407f97
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x40c0b8]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x407fc8
xor eax, eax
jmp 0x408151
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x40e800]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x408004
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00408b95
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4080df
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x40811d
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x408068
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x408059
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x408039
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4080a8
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x4080b1
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x40802a
jmp 0x4080b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x40814c
cmp dword [ebp - 0x6c], edi
je 0x40811d
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x408112
call fcn.004055e9
mov dword [eax], 9
call fcn.004055f2
mov dword [eax], esi
jmp 0x408147
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408107
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x4080b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x4080b3
push dword [ebp - 0x6c]
call fcn.004055fb
pop ecx
jmp 0x408147
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x408135
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x408135
xor eax, eax
jmp 0x40814f
call fcn.004055e9
mov dword [eax], 0x1c
call fcn.004055f2
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x40814f
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00405ae5
add ebp, 0x3a0
leave
ret
Function at 0x409bb2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword ds:[eax + 0x3c]
mov edx, eax
push dword ds:[ecx + edx + 0x78]
push edx
pop edx
pop eax
add eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x409be0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jae 0x409c93
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x14]
cmp cl, byte [edx]
jne 0x409c4d
cmp byte [ebp - 0x19], 0
je 0x409c44
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 1]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 0x14]
cmp cl, byte [edx + 1]
jne 0x409c4d
add dword [ebp - 0x18], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 0x1a], 0
jne 0x409c10
mov dword [ebp - 0x20], 0
jmp 0x409c55
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x409c8e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dx, word [eax + ecx*2]
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 4]
mov ecx, dword ds:[eax + 0x1c]
add ecx, dword [ebp + 8]
movzx edx, word [ebp - 0x10]
mov eax, dword ds:[ecx + edx*4]
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
jmp 0x409bd7
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43f1f0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push 0xca62c1d6
push 0x8f1bbcdc
push 0x6ed9eba1
push 0x5a827999
push edx
call fcn.0043f620
ret 0x18

Function at 0x43f500
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0xfffffff
imul eax, eax, 8
jo 0x43f520
test ecx, 0x10000000
je 0x43f51d
or eax, 0x80000000
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x43f530
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0x3fffffff
imul eax, eax, 2
jo 0x43f55a
test ecx, 0x40000000
je 0x43f54d
or eax, 0x80000000
test ecx, 0x80000000
je 0x43f557
or al, 1
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]

Function at 0x43f560
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, esi
mov eax, esi
and ecx, 0x3ffffff
imul ecx, ecx, 0x20
jo 0x43f59e
and eax, 0xf8000000
cdq
and edx, 0x7ffffff
add eax, edx
sar eax, 0x1b
and eax, 0x1f
or ecx, eax
test esi, 0x4000000
pop esi
je 0x43f599
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x43f5b0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
xor edx, ecx
jge 0x43f5c5
add eax, ecx
jo 0x43f5d6
ret 8
xor eax, 0x80000000
add eax, ecx
jo 0x43f5d6
xor eax, 0x80000000
ret 8
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop

Function at 0x43f5e0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
mov eax, ebx
and ecx, 1
imul ecx, ecx, 0x40000000
jo 0x43f617
and al, 0xfc
cdq
and edx, 3
add eax, edx
sar eax, 2
and eax, 0x3fffffff
or ecx, eax
test bl, 2
pop ebx
je 0x43f612
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
Function at 0x403060
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5b327c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
push 0x400
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0050c770
movaps xmm1, xmmword [0x566990]
lea edx, [ebp - 0x3f4]
add esp, 0xc
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x408], 0
mov ecx, 8
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x20], xmm0
cmp eax, 0x100
jl 0x4030c1
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp + esi*4 - 0x404]
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + esi*4 - 0x404], eax
lea eax, [edx + 1]
xor edx, edx
mov dword [ebp + ebx*4 - 0x404], ecx
inc esi
cmp eax, edi
cmovl edx, eax
cmp esi, 0x100
jl 0x403130
mov edi, dword [ebp + 0x14]
xor esi, esi
mov edx, dword [ebp - 0x40c]
mov ebx, dword [ebp - 0x408]
test edi, edi
jle 0x4031c5
inc dl
movzx edx, dl
mov ecx, dword [ebp + edx*4 - 0x404]
lea eax, [ebx + ecx]
movzx ebx, al
mov eax, dword [ebp + ebx*4 - 0x404]
mov dword [ebp + edx*4 - 0x404], eax
mov dword [ebp + ebx*4 - 0x404], ecx
add cl, al
movzx eax, cl
mov ecx, dword [ebp - 0x414]
mov al, byte [ebp + eax*4 - 0x404]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x403184
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004626cb
mov esp, ebp
pop ebp
ret
Function at 0x405d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b327c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5ba978
mov dword [ebp - 0x20], 0x55005c
lea esi, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x690074
mov dword [ebp - 0x18], 0x73006c
mov edx, 0xf
mov dword [ebp - 0x14], 0x37005c
sub esi, eax
mov dword [ebp - 0x10], 0x2e007a
mov dword [ebp - 0xc], 0x6c0064
mov dword [ebp - 8], 0x6c
lea ecx, [edx + 0x7fffffef]
test ecx, ecx
je 0x405dbf
movzx ecx, word [esi + eax]
test cx, cx
je 0x405dbf
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x405da1
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5ba978
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626cb
mov esp, ebp
pop ebp
ret

Function at 0x405de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5b327c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5baacc
mov dword [ebp - 0x1c], 0x690044
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x700073
mov dword [ebp - 0x14], 0x61006c
mov edx, 0xd
mov dword [ebp - 0x10], 0x4e0079
sub esi, eax
mov dword [ebp - 0xc], 0x6d0061
mov dword [ebp - 8], 0x65
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x405e4e
movzx ecx, word [esi + eax]
test cx, cx
je 0x405e4e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x405e30
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5baacc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626cb
mov esp, ebp
pop ebp
ret

Function at 0x405e70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b327c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x5babc0
mov dword [ebp - 0x24], 0x6e0049
lea esi, [ebp - 0x24]
mov dword [ebp - 0x20], 0x740073
push edi
mov dword [ebp - 0x1c], 0x6c0061
mov edx, 0x11
mov dword [ebp - 0x18], 0x4c006c
sub esi, eax
mov dword [ebp - 0x14], 0x63006f
mov dword [ebp - 0x10], 0x740061
mov dword [ebp - 0xc], 0x6f0069
mov dword [ebp - 8], 0x6e
nop dword [eax]
lea ecx, [edx + 0x7fffffed]
test ecx, ecx
je 0x405eee
movzx ecx, word [esi + eax]
test cx, cx
je 0x405eee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x405ed0
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 0x5babc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626cb
mov esp, ebp
pop ebp
ret