joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc62
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00423917
xor ebx, ebx
cmp dword [0x449560], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x42bd38
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42be18
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x42be18
push eax
call fcn.004238a9
mov dword [esp], 0x43a534
push edi
mov dword [0x449560], eax
call esi
push eax
call fcn.004238a9
mov dword [esp], 0x43a520
push edi
mov dword [0x449564], eax
call esi
push eax
call fcn.004238a9
mov dword [0x449568], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041fa79
test eax, eax
pop ecx
pop ecx
je 0x42bd06
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004242bf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x42bd38
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004238a9
cmp eax, ebx
pop ecx
mov dword [0x449570], eax
je 0x42bd38
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004238a9
pop ecx
mov dword [0x44956c], eax
mov eax, dword [0x44956c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42bdbd
cmp dword [0x449570], ecx
je 0x42bdbd
push eax
call fcn.00423920
push dword [0x449570]
mov esi, eax
call fcn.00423920
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42bdbd
cmp edi, ebx
je 0x42bdbd
call esi
cmp eax, ebx
je 0x42bd8a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42bd8a
test byte [ebp - 0x18], 1
jne 0x42bdbd
lea eax, [ebp - 0x10]
push eax
call fcn.0041fab0
test eax, eax
pop ecx
je 0x42bda5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004242bf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x42bdb4
or dword [ebp + 0x10], 0x200000
jmp 0x42bdf8
or dword [ebp + 0x10], 0x40000
jmp 0x42bdf8
mov eax, dword [0x449564]
cmp eax, dword [ebp - 8]
je 0x42bdf8
push eax
call fcn.00423920
cmp eax, ebx
pop ecx
je 0x42bdf8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42bdf8
mov eax, dword [0x449568]
cmp eax, dword [ebp - 8]
je 0x42bdf8
push eax
call fcn.00423920
cmp eax, ebx
pop ecx
je 0x42bdf8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x449560]
call fcn.00423920
cmp eax, ebx
pop ecx
je 0x42be18
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42be1a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4336c4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x445758]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00433659
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0041fdc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x433713
cmp dword [ebp - 0x1c], 5
jb 0x43372b
jmp 0x433727
cmp dword [ebp - 0x10], 1
jne 0x43372b
cmp dword [ebp - 0x1c], 4
ja 0x433727
jne 0x43372b
cmp dword [ebp - 0x18], 0
jbe 0x43372b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43bdb0
call fcn.0043354a
test eax, eax
jge 0x43374c
mov byte [0x449e1c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041f00a
add ebp, 0x78
leave
ret
Function at 0x4322a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x43d991
mov dword [esp], eax
mov dword [esp + 4], 0x43d4c4
mov dword [esp + 8], 0x43d4c0
mov dword [esp + 0xc], 0x43d4bc
mov dword [esp + 0x10], 0x43d4b8
mov dword [esp + 0x14], 0x43d4b4
mov dword [esp + 0x18], 0x43d968
mov dword [esp + 0x1c], 0x43d4b0
mov dword [esp + 0x20], 0x43d4ac
mov dword [esp + 0x24], 0x43d9a0
mov dword [esp + 0x28], 0x43d99c
mov dword [esp + 0x2c], 0x43dcc8
mov dword [esp + 0x30], 0x43e61c
mov dword [esp + 0x34], 0x43d4a8
mov dword [esp + 0x38], 0x43d4a4
mov dword [esp + 0x3c], 0x43d4a0
mov dword [esp + 0x40], str.__.___
mov dword [esp + 0x44], 0x43d490
mov dword [esp + 0x48], 0x43d19c
mov dword [esp + 0x4c], 0x43dac4
mov dword [esp + 0x50], str.___
mov dword [esp + 0x54], 0x43e618
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x43d48c
mov dword [esp + 0x64], 0x43d488
mov dword [esp + 0x68], 0x43d998
mov dword [esp + 0x6c], 0x43d484
mov dword [esp + 0x70], 0x43d1a0
mov dword [esp + 0x74], 0x43d18c
mov dword [esp + 0x78], 0x43d16c
mov dword [esp + 0x7c], 0x43d15c
mov dword [esp + 0x80], 0x43d154
mov dword [esp + 0x84], 0x43d14c
mov dword [esp + 0x88], 0x43d144
mov dword [esp + 0x8c], 0x43d198
mov dword [esp + 0x90], 0x43d480
mov dword [esp + 0x94], 0x43d9a4
mov dword [esp + 0x98], 0x43d190
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x43dacc
mov dword [esp + 0xc0], 0x43d228
mov dword [esp + 0xc4], 0x43d20c
mov dword [esp + 0xc8], str.C13ABDEF
mov dword [esp + 0xcc], str.ZYXWVUTSRQPONMLKJIHG
mov dword [esp + 0xd0], 0x43d250
mov dword [esp + 0xd4], str._:_
mov dword [esp + 0xd8], 0x43d164
mov dword [esp + 0xdc], 0x43d22c
mov dword [esp + 0xe0], 0x43d234
mov dword [esp + 0xe4], 0x43d478
mov dword [esp + 0xe8], 0x43d240
mov dword [esp + 0xec], 0x43d224
cmp cl, 0x3c
jae 0x4324bd
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret

Function at 0x40895f
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
sub eax, 1
call fcn.00408986
xor dword [ebx], edi
inc ebx
inc edx
cmp ebx, ecx
jne fcn.0040895f
sub eax, eax
sub edx, 0x89f68bcc
ret
Function at 0x401090
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x1c
push esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, eax
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], 0
mov byte [esp + 8], 0
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4010c0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00401320
lea eax, [esp + 4]
push 0
push eax
call fcn.0041fce0
add esp, 8
cmp dword [esp + 0x1c], 0x10
pop esi
jb 0x4010f8
mov ecx, dword [esp + 4]
push ecx
call fcn.0040b244
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add esp, 0x1c
ret 0x10
Function at 0x404240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420528
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x426040]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x90]
cmp dword [eax + 0x3c], 0
je 0x40428c
mov ecx, dword [ebp - 0x90]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x404298
mov al, 1
jmp 0x40445c
mov dword [ebp - 0x10], 8
call fcn.0040a790
push eax
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x90]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040a790
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040a660
add esp, 8
movzx eax, al
test eax, eax
je 0x4042e1
xor al, al
jmp 0x40445c
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00403240
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.004033a0
mov ecx, eax
call fcn.00404000
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401180
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.004033a0
mov ecx, eax
call fcn.00404000
push eax
mov ecx, dword [ebp - 0x90]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x90]
mov ecx, dword [edx + 0x3c]
call fcn.00405f70
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x40436e
cmp dword [ebp - 0x94], 1
je 0x404378
cmp dword [ebp - 0x94], 3
je 0x404418
jmp 0x404430
mov eax, dword [ebp - 0x90]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004033a0
mov ecx, eax
call fcn.00404000
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4043de
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004033a0
mov ecx, eax
call fcn.00404000
push eax
call fcn.0040cbb7
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4043de
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401150
mov al, byte [ebp - 0x61]
jmp 0x40445c
mov ecx, dword [ebp - 0x90]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x404404
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401150
mov al, byte [ebp - 0x62]
jmp 0x40445c
cmp dword [ebp - 0x38], 0
jne 0x404416
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00403280
jmp 0x404448
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401150
mov al, byte [ebp - 0x63]
jmp 0x40445c
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401150
mov al, byte [ebp - 0x64]
jmp 0x40445c
jmp 0x4042f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040af0b
mov esp, ebp
pop ebp
ret

Function at 0x40af0b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426040]
jne 0x40af15
repz ret
jmp fcn.0040e91b
Function at 0x41619f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040eefa
and dword [ebp - 4], 0
cmp dword [0x42825c], 0
mov ebx, eax
jne 0x416250
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416301
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x416301
push eax
call fcn.0040ee88
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42825c], eax
call esi
push eax
call fcn.0040ee88
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428260], eax
call esi
push eax
call fcn.0040ee88
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x428264], eax
call esi
push eax
call fcn.0040ee88
pop ecx
mov dword [0x42826c], eax
test eax, eax
je 0x416250
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ee88
pop ecx
mov dword [0x428268], eax
mov eax, dword [0x428268]
cmp eax, ebx
je 0x4162a8
cmp dword [0x42826c], ebx
je 0x4162a8
push eax
call fcn.0040ef03
push dword [0x42826c]
mov esi, eax
call fcn.0040ef03
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4162a8
test edi, edi
je 0x4162a8
call esi
test eax, eax
je 0x41629f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41629f
test byte [ebp - 0xc], 1
jne 0x4162a8
or dword [ebp + 0x10], 0x200000
jmp 0x4162e1
mov eax, dword [0x428260]
cmp eax, ebx
je 0x4162e1
push eax
call fcn.0040ef03
pop ecx
test eax, eax
je 0x4162e1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4162e1
mov eax, dword [0x428264]
cmp eax, ebx
je 0x4162e1
push eax
call fcn.0040ef03
pop ecx
test eax, eax
je 0x4162e1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42825c]
call fcn.0040ef03
pop ecx
test eax, eax
je 0x416301
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416303
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405044], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x405228
push 0x405290
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40114b
xor eax, eax
jmp 0x401166
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1711fe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xcf1000]
push edi
jmp 0x1711ffa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1712001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1711ff0
mov eax, 1
add ebx, ebx
jne 0x1712013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1712024
jne 0x1712043
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1712043
dec eax
add ebx, ebx
jne 0x1712030
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1712008
add ebx, ebx
jne 0x171203f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1712095
xor ecx, ecx
sub eax, 3
jb 0x171205b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x17120ca
sar eax, 1
mov ebp, eax
jmp 0x1712066
add ebx, ebx
jne 0x1712066
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1712034
inc ecx
add ebx, ebx
jne 0x1712074
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1712034
add ebx, ebx
jne 0x1712081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1712076
jne 0x1712092
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1712076
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x17120b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x17120a6
jmp 0x1711ff6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x17120b4
add edi, ecx
jmp 0x1711ff6
pop esi
mov edi, esi
mov ecx, 0x90b1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x17120d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x17120d7
lea edi, [esi + 0x130d000]
mov eax, dword [edi]
or eax, eax
je 0x1712148
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x133e90c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x133eacc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x17120fd
mov ecx, edi
jns 0x171212c
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 + 0x133ead4]
or eax, eax
je 0x1712142
mov dword [ebx], eax
add ebx, 4
jmp 0x171211a
call dword [esi + 0x133ead0]
mov ebp, dword [esi + 0x133ead8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x171217c
sub esp, 0xffffff80
jmp 0x1024648
Function at 0xc03058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c031a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc0307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0306a
add dl, dl
jne 0xc03089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc030dc
xor eax, eax
add dl, dl
jne 0xc03096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0317d
add dl, dl
jne 0xc030a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc030b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc030bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc030c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc030d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc03075
mov eax, 1
add dl, dl
jne 0xc030ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc030f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc030e1
sub eax, ebx
mov ebx, 1
jne 0xc03128
mov ecx, 1
add dl, dl
jne 0xc0310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc03119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc03105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc03075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc0313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc03136
cmp eax, 0x7d00
jae 0xc0316d
cmp eax, 0x500
jb 0xc03168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc03075
cmp eax, 0x7f
ja 0xc03170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc03075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc0319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc03075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x201300
Capabilities:
Accept command line arguments
Allocate thread local storage
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, section..data
test word [0x2012e2], 0x100
jne 0x20131b
jmp 0x20174c
jmp fcn.00201539
call fcn.00201435
mov dword [ebx + 0x600], 1
mov dword [ebx + 0x5dc], 0
lea eax, [ebx + 0x8e4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov cx, word [0x2012e2]
mov edx, dword [ebx + 0x8f4]
test cx, 0x20
jne 0x2017c1
cmp edx, 2
je 0x2017d0
test cx, 0x40
jne 0x2017c1
push 0x12000
push 0
call 0x2017af
push edi
imul ebp, dword [esi + 0x39], 0x6f4e2038
and byte [ebx + 0x75], dl
jo 0x20181b
outsd dx, dword [esi]
jb 0x201822
add byte [edx], ch
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 0xff
jmp 0x20188a
call fcn.00201539
or dword [ebx + 0x5dc], 0x80
sub esp, 0x44
mov dword [esp], 0x44
mov dword [esp + 0x2c], 0
push esp
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, 0xa
test dword [esp + 0x2c], 1
je 0x2017fd
movzx eax, word [esp + 0x30]
add esp, 0x44
mov dword [ebx + 0x5f4], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
call fcn.002014cd
mov dword [ebx + 0x5f0], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
or byte [ecx], dh
and byte [eax], al
mov dword [ebx + 0x5fc], eax
call fcn.00201320
push 0xff
jb 0x20188a
add eax, 0xf6e80000
cli
invalid
pop eax
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
movzx ecx, word [0x2012e0]
jecxz 0x20184f
push ecx
push 8
push esp
call dword [sym.imp.COMCTL32.DLL_InitCommonControlsEx]
pop eax
pop eax
call fcn.00201381
push eax
mov ebx, section..data
mov ecx, dword [ebx + 0xdc]
call fcn.00201890
mov ecx, dword [ebx + 0xb8]
jecxz 0x201874
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edi, dword [ebx + 0x638]
call fcn.00201386
call fcn.0020136d
call dword [sym.imp.OLE32.DLL_CoUninitialize]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x201320
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
stc
je 0x20136c
mov dword [ebx + 0x5e0], eax
mov dword [ebx + 0x5e8], 0
call fcn.0020162c
jb 0x20136c
mov dword [ebx + 0x5e4], eax
mov dword [eax + 0x68], 1
mov dword [eax + 0x6c], 1
mov dword [eax + 0x70], 2
mov dword [eax + 0x74], 3
mov dword [eax + 0x78], 0
ret
Function at 0x201539
Capabilities:
Terminate process

Disassembly:
mov edx, 0xf4
jmp 0x201545
mov dh, 0xb0
mov word [ebp - 0x90], dx
jmp 0x20155b
test byte [ebp - 0x90], 0xff
jne 0x20156d
mov word [ebp - 0x90], 0xb033
push eax
push ebx
push ecx
push esi
push edi
mov ax, word [ebp - 0x8e]
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
call fcn.0020162c
jb 0x2015a7
test dword [eax + 0x24], 0xffffffff
je 0x2015a7
test dword [eax + 0x20], 0xffffffff
je 0x2015a7
call fcn.00201539
mov edi, dword [ebp - 0x84]
mov edx, dword [esp + 0x14]
cmp edx, edi
jb 0x2015e5
cmp edx, dword [edi - 0xa]
ja 0x2015e5
mov ecx, dword [edi - 6]
jecxz 0x2015ee
xor ebx, ebx
xor esi, esi
mov bl, byte [ecx]
inc ecx
cmp bl, 0xff
jne 0x2015d3
add esi, 0xfe
jmp 0x2015c3
add esi, ebx
add edi, esi
cmp edi, edx
jb 0x2015c1
mov dword [eax + 0x2c], edi
sub edi, esi
mov dword [eax + 0x28], edi
jmp 0x2015ee
and word [ebp - 0x90], 0x7fff
test word [0x2012e2], 0x2000
je 0x20160f
test dword [ebp - 0x8c], 0xffffffff
jne 0x20160f
call fcn.00201539
cmp eax, 1
jne 0x20161e
cmp byte [ebp - 0x90], 0xf1
jae 0x20161e
pop edi
pop esi
pop ecx
pop ebx
pop eax
ret
push 0xff
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
mov esi, 0xfb95d99f
sub esi, 0x1af9b28d
sub esi, esi
call fcn.0043b681
and esi, esi
sub esi, 0xed723423
add esi, 0xf79b0024
xor dword [ecx], edx
sub esi, ebx
inc ecx
or ebx, esi
cmp ecx, edi
jne fcn.0043b64a
dec esi
ret