joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d88e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x17c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x100851fc
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.004c3370
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push 0x10082314
lea ecx, [esp + 0x14]
mov byte [eax], bl
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x1008546c
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], 0x10085454
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x10085440
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0x10085428
mov dword [esp + 0x40], 0x800
mov dword [esp + 0x44], 0x10085414
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0x100853f4
mov dword [esp + 0x50], 0x10
mov dword [esp + 0x54], 0x100853d8
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x5c], 0x100853b8
mov dword [esp + 0x60], 0x80
mov dword [esp + 0x64], 0x1008539c
mov dword [esp + 0x68], 0x100
mov dword [esp + 0x6c], 0x10085380
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], 0x10085368
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x7c], 0x10085350
mov dword [esp + 0x80], 0x2000
mov dword [esp + 0x84], 0x10085338
mov dword [esp + 0x88], 0x4000
mov dword [esp + 0x8c], 0x1008531c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.004c4b50
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.004c4b50
cmp ebp, ebx
je 0x4d8a37
push ebp
call fcn.004c3420
add esp, 4
mov ebx, dword [esp + 0x190]
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test ebx, eax
je 0x4d8a6a
not eax
and ebx, eax
cmp dword [edi + 8], 0
je 0x4d8a5e
push 0x100850c8
mov ecx, esi
call fcn.004c7960
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.004c7960
add ebp, 1
cmp ebp, 0xe
jb 0x4d8a40
xor ebp, ebp
cmp dword [edi + 8], ebp
jne 0x4d8abb
push 0x100850c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004c4b50
mov ebx, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.004c4b50
cmp ebx, ebp
je 0x4d8af6
push ebx
call fcn.004c3420
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
cmp ebx, ebp
je 0x4d8af6
push ebx
lea ecx, [esp + 0x90]
push 0x100850b8
push ecx
call dword [0x1008225c]
add esp, 0xc
cmp dword [edi + 8], ebp
je 0x4d8ae7
push 0x100850c8
mov ecx, esi
call fcn.004c7960
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.004c7960
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
Function at 0x524190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov dx, word [eax]
shr dx, 1
push esi
movzx esi, dx
xor ecx, ecx
test si, si
push edi
mov word [esp + 8], 0x5c
mov word [esp + 0xa], 0x2f
mov word [esp + 0xc], 0x3a
mov word [esp + 0xe], 0x2a
mov word [esp + 0x10], 0x3f
mov word [esp + 0x12], 0x22
mov word [esp + 0x14], 0x3c
mov word [esp + 0x16], 0x3e
mov word [esp + 0x18], 0x7c
jbe 0x524217
mov edi, dword [eax + 4]
jmp 0x5241f0
movzx edx, cx
movzx edx, word [edi + edx*2]
xor eax, eax
lea esp, [esp]
cmp dx, word [esp + eax*2 + 8]
je 0x524222
add eax, 1
cmp eax, 9
jb 0x524200
add ecx, 1
cmp cx, si
jb 0x5241f0
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x540810
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 8], 1
push 0x10092aa8
push 0x10092ab8
call dword [0x1008221c]
push eax
call dword [0x10082224]
mov dword [0x1018f1d0], eax
push 0x10092acc
push 0x10092adc
call dword [0x1008221c]
push eax
call dword [0x10082224]
mov dword [0x1018f1cc], eax
push 0x10092af0
push 0x10092b04
call dword [0x1008221c]
push eax
call dword [0x10082224]
mov dword [0x1018f1c8], eax
push 0
call dword [0x1008221c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0
jmp 0x5408bd
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x18], edx
jge 0x540999
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x28
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
push 9
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x1018f1d0]
push 8
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x3c]
push eax
call dword [0x1018f1cc]
mov byte [ebp - 0x28], 0xac
mov byte [ebp - 0x27], 5
mov byte [ebp - 0x26], 0x45
mov byte [ebp - 0x25], 0x67
mov byte [ebp - 0x24], 0x89
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0xff
mov byte [ebp - 0x21], 0xfa
mov byte [ebp - 0x20], 0x15
mov byte [ebp - 0x1f], 6
mov byte [ebp - 0x1e], 2
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx - 0xb]
mov dword [ebp - 0x40], ecx
jmp 0x54094e
mov edx, dword [ebp - 0x40]
sub edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x2c]
jb 0x540994
push 0xb
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [0x1018f1c8]
cmp eax, 0xb
jne 0x540992
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x40]
sub edx, 4
sub edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0053f8e0
mov dword [ebp - 8], eax
jmp 0x540994
jmp 0x540945
jmp 0x5408b4
mov esp, ebp
pop ebp
ret
Function at 0x572258
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x10082804
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.00577e78
mov dword [esi], eax
mov ecx, 0x20
mov dword [esi + 4], ebx
add esp, 8
mov byte [eax], bl
mov eax, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xac], ecx
push 0x10082817
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x10000
mov dword [esp + 0x24], 0x10084ed4
mov dword [esp + 0x28], 0x20000
mov dword [esp + 0x2c], 0x10084ec4
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0x34], 0x10084eb8
mov dword [esp + 0x38], 0x40000
mov dword [esp + 0x3c], 0x10084eac
mov dword [esp + 0x40], 0x80000
mov dword [esp + 0x44], 0x10084ea0
mov dword [esp + 0x48], 0x80000000
mov dword [esp + 0x4c], 0x10084e90
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x54], 0x10084e80
mov dword [esp + 0x58], 0x20000000
mov dword [esp + 0x5c], 0x10084e70
mov dword [esp + 0x60], 0x10000000
mov dword [esp + 0x64], 0x10084e64
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x10084e54
mov dword [esp + 0x70], 0x80
mov dword [esp + 0x74], 0x10084e3c
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], 0x10084e2c
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], 0x10084e1c
mov dword [esp + 0x88], 0x100
mov dword [esp + 0x8c], 0x10084e04
mov dword [esp + 0x90], 0x10
mov dword [esp + 0x94], 0x10084df4
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0x10084de0
mov dword [esp + 0xa4], 0x10084dd0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x10084dbc
mov dword [esp + 0xb4], 0x10084dac
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.0055e2c8
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.0055e2c8
cmp ebp, ebx
je 0x572417
push ebp
call fcn.00577f28
add esp, 4
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test dword [esp + 0x120], eax
je 0x57244c
not eax
and dword [esp + 0x120], eax
cmp dword [edi + 8], ebx
je 0x572440
push 0x10084da8
mov ecx, esi
call fcn.0055e108
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.0055e108
add ebp, 1
cmp ebp, 0x13
jb 0x572419
cmp dword [edi + 8], ebx
jne 0x57249b
push 0x10084da0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.0055e2c8
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.0055e2c8
cmp ebp, ebx
je 0x5724d7
push ebp
call fcn.00577f28
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x120]
cmp eax, ebx
je 0x5724d7
push eax
lea ecx, [esp + 0x20]
push 0x10084d98
push ecx
call dword [0x10082254]
add esp, 0xc
cmp dword [edi + 8], ebx
je 0x5724cb
push 0x10084da8
mov ecx, esi
call fcn.0055e108
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0055e108
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
Function at 0x572a48
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x17c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x10082804
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.00577e78
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push 0x10082817
lea ecx, [esp + 0x14]
mov byte [eax], bl
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x10085148
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], 0x10085130
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x1008511c
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0x10085104
mov dword [esp + 0x40], 0x800
mov dword [esp + 0x44], 0x100850f0
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0x100850d0
mov dword [esp + 0x50], 0x10
mov dword [esp + 0x54], 0x100850b4
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x5c], 0x10085094
mov dword [esp + 0x60], 0x80
mov dword [esp + 0x64], 0x10085078
mov dword [esp + 0x68], 0x100
mov dword [esp + 0x6c], 0x1008505c
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], 0x10085044
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x7c], 0x1008502c
mov dword [esp + 0x80], 0x2000
mov dword [esp + 0x84], 0x10085014
mov dword [esp + 0x88], 0x4000
mov dword [esp + 0x8c], 0x10084ff8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.0055e2c8
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.0055e2c8
cmp ebp, ebx
je 0x572b9f
push ebp
call fcn.00577f28
add esp, 4
mov ebx, dword [esp + 0x190]
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test ebx, eax
je 0x572bd2
not eax
and ebx, eax
cmp dword [edi + 8], 0
je 0x572bc6
push 0x10084da8
mov ecx, esi
call fcn.0055e108
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.0055e108
add ebp, 1
cmp ebp, 0xe
jb 0x572ba8
xor ebp, ebp
cmp dword [edi + 8], ebp
jne 0x572c23
push 0x10084da0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.0055e2c8
mov ebx, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.0055e2c8
cmp ebx, ebp
je 0x572c5e
push ebx
call fcn.00577f28
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
cmp ebx, ebp
je 0x572c5e
push ebx
lea ecx, [esp + 0x90]
push 0x10084d98
push ecx
call dword [0x10082254]
add esp, 0xc
cmp dword [edi + 8], ebp
je 0x572c4f
push 0x10084da8
mov ecx, esi
call fcn.0055e108
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.0055e108
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
Function at 0x57fc78
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
cmp ebx, ebp
push esi
push edi
mov dword [esp + 0x10], ebp
je 0x57fd16
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax + ebx + 0x78]
add eax, ebx
add esi, ebx
cmp dword [esi + 0x18], ebp
mov dword [esp + 0x18], eax
jbe 0x57fd16
jmp 0x57fca8
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x1c]
lea ecx, [eax + ebp*4]
mov eax, dword [ecx + ebx]
add eax, ebx
test eax, 0xffff0000
je 0x57fcd7
test edi, 0xffff0000
je 0x57fcd7
push edi
push eax
call dword [0x100821a8]
neg eax
sbb eax, eax
add eax, 1
jmp 0x57fce0
xor edx, edx
cmp eax, edi
sete dl
mov eax, edx
test eax, eax
je 0x57fd0e
mov eax, dword [esi + 0x24]
lea ecx, [eax + ebp*2]
movzx edx, word [ecx + ebx]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
mov edi, dword [ecx + ebx]
add edi, ebx
cmp edi, esi
jb 0x57fd0a
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x7c]
add eax, esi
cmp edi, eax
jbe 0x57fd20
mov dword [esp + 0x10], edi
add ebp, 1
cmp ebp, dword [esi + 0x18]
jb 0x57fca8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor ecx, ecx
cmp byte [edi], cl
mov eax, edi
je 0x57fd33
add eax, 1
add ecx, 1
cmp byte [eax], 0
jne 0x57fd28
lea ebx, [ecx + 1]
xor esi, esi
test ebx, ebx
jbe 0x57fd47
push ebx
call fcn.00577dd8
add esp, 4
mov esi, eax
push ebx
push edi
push esi
call fcn.00577d68
mov al, byte [esi]
add esp, 0xc
test al, al
mov edi, esi
je 0x57fd68
cmp al, 0x2e
je 0x57fd79
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x57fd5a
push esi
call fcn.00577f28
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push esi
call dword [0x100820d8]
add edi, 1
push edi
push eax
call fcn.0057fc78
push esi
mov edi, eax
call fcn.00577f28
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x59f228
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov dx, word [eax]
shr dx, 1
push esi
movzx esi, dx
xor ecx, ecx
test si, si
push edi
mov word [esp + 8], 0x5c
mov word [esp + 0xa], 0x2f
mov word [esp + 0xc], 0x3a
mov word [esp + 0xe], 0x2a
mov word [esp + 0x10], 0x3f
mov word [esp + 0x12], 0x22
mov word [esp + 0x14], 0x3c
mov word [esp + 0x16], 0x3e
mov word [esp + 0x18], 0x7c
jbe 0x59f2af
mov edi, dword [eax + 4]
jmp 0x59f288
movzx edx, cx
movzx edx, word [edi + edx*2]
xor eax, eax
lea esp, [esp]
cmp dx, word [esp + eax*2 + 8]
je 0x59f2ba
add eax, 1
cmp eax, 9
jb 0x59f298
add ecx, 1
cmp cx, si
jb 0x59f288
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x442600
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3d000]
push edi
or ebp, 0xffffffff
jmp 0x442622
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x442629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x442618
mov eax, 1
add ebx, ebx
jne 0x44263b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x442630
jne 0x44264c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x442630
xor ecx, ecx
sub eax, 3
jb 0x442660
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4426d2
mov ebp, eax
add ebx, ebx
jne 0x44266b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x442678
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44269c
inc ecx
add ebx, ebx
jne 0x442688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44267d
jne 0x442699
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44267d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4426bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4426ad
jmp 0x44261e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4426bc
add edi, ecx
jmp 0x44261e
pop esi
mov edi, esi
mov ecx, 0x167
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4426da
cmp byte [edi], 5
jne 0x4426da
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 0x4426df
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x442757
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6c0cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6c130]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44270c
mov ecx, edi
jns 0x44273b
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 + 0x6c134]
or eax, eax
je 0x442751
mov dword [ebx], eax
add ebx, 4
jmp 0x442729
call dword [esi + 0x6c13c]
mov ebp, dword [esi + 0x6c138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44278b
sub esp, 0xffffff80
jmp 0x40b10a
Function at 0x40106a
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp dword [0x437ea0], eax
jne 0x401095
cmp dword [0x437ea4], eax
jne 0x401095
push eax
push eax
push 0x4010f8
mov dword [0x437ea4], 1
call fcn.00420770
add esp, 0xc
ret

Function at 0x4014a2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x140]
push 0x104
push eax
push esi
call fcn.00406fd9
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00420b00
lea eax, [ebp - 0x140]
add esp, 0x18
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop esi
je 0x40151b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push 1
mov dword [eax], ecx
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x401841
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x437eb8]
test eax, eax
je 0x40185a
push eax
push 0
call dword [sym.imp.USER32.dll_KillTimer]
and dword [0x437eb8], 0
push 0
push dword [0x437eb0]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x437eb4], eax
ret

Function at 0x401a3a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0xc]
push 3
pop ecx
lea eax, [edi + 2]
cdq
idiv ecx
lea ebx, [eax*4 + 1]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x401b0c
cmp eax, ebx
jge 0x401a6b
or eax, 0xffffffff
jmp 0x401b0e
mov eax, dword [ebp + 0x10]
test edi, edi
je 0x401b09
mov ecx, dword [ebp + 8]
push esi
add ecx, 2
movzx edx, byte [ecx - 2]
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shr edx, 2
mov dl, byte [edx + esi]
mov byte [eax], dl
inc eax
dec edi
je 0x401a9c
movzx esi, byte [ecx - 1]
shr esi, 4
jmp 0x401a9e
xor esi, esi
mov dl, byte [ecx - 2]
shl edx, 4
add edx, esi
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0x3f
mov dl, byte [edx + esi]
mov byte [eax], dl
inc eax
test edi, edi
je 0x401ada
dec edi
je 0x401ac4
movzx esi, byte [ecx]
shr esi, 6
jmp 0x401ac6
xor esi, esi
mov dl, byte [ecx - 1]
lea edx, [esi + edx*4]
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0x3f
mov dl, byte [edx + esi]
jmp 0x401adc
mov dl, 0x3d
mov byte [eax], dl
inc eax
test edi, edi
je 0x401af3
mov dl, byte [ecx]
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0x3f
mov dl, byte [edx + esi]
jmp 0x401af5
mov dl, 0x3d
mov byte [eax], dl
inc eax
test edi, edi
je 0x401afd
dec edi
add ecx, 3
test edi, edi
jne 0x401a7d
pop esi
and byte [eax], 0
mov eax, ebx
mov ecx, dword [ebp + 0x14]
pop edi
mov dword [ecx], ebx
pop ebx
pop ebp
ret
Function at 0x401c48
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x401c9f
cmp dword [ebp - 0x90], 4
jne 0x401c7e
push 5
jmp 0x401cc8
cmp dword [ebp - 0x90], 5
jne 0x401c8b
push 6
jmp 0x401cc8
xor eax, eax
cmp dword [ebp - 0x90], 3
setne al
dec eax
and al, 0xfd
add eax, 7
leave
ret
cmp dword [ebp - 0x84], 1
jne 0x401cc6
cmp dword [ebp - 0x8c], 0
jbe 0x401cb5
push 3
jmp 0x401cc8
xor eax, eax
cmp word [ebp - 0x88], 0x457
sete al
inc eax
leave
ret
push 7
pop eax
leave
ret

Function at 0x40264c
Capabilities:
Delete file
Move file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
jne 0x402661
xor eax, eax
pop esi
ret
test eax, eax
jne 0x40269b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40269b
call fcn.00401ccb
test eax, eax
je 0x402688
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 2
jmp 0x40269d
push esi
call fcn.004026a0
pop ecx
pop esi
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov eax, ecx
ret
push 1
pop eax
pop esi
ret

Function at 0x402791
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, 0x103
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40280d
cmp eax, esi
ja 0x40280d
lea eax, [ebp - 0x104]
push eax
call fcn.00420cc0
cmp byte [ebp + eax - 0x105], 0x5c
pop ecx
je 0x4027e0
lea eax, [ebp - 0x104]
push 0x432a4c
push eax
call fcn.00420690
pop ecx
pop ecx
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push str.wininit.ini
push eax
push 0x4320f0
push esi
push edi
call fcn.004209f2
add esp, 0x14
and byte [edi + esi - 1], 0
push 1
pop eax
pop edi
jmp 0x40280f
xor eax, eax
pop esi
leave
ret

Function at 0x4034b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 4
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4034e5
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4034e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4034e8
xor eax, eax
ret
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectA]
ret