joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100481e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x390], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x78]
push 0x104
push 0
push eax
mov word [esp + 0x78], 0x4f53
mov dword [esp + 0x7d], 0x5c455241
mov byte [esp + 0x81], 0
mov word [esp + 0x7b], 0x5754
mov byte [esp + 0x7a], 0x46
mov dword [esp + 0x69], 0x732573
mov byte [esp + 0x68], 0x25
call fcn.10004940
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.10048d90
mov ecx, eax
call fcn.100014a0
push eax
lea ecx, [esp + 0xc]
call fcn.100014c0
push ecx
lea edx, [esp + 0xc]
lea ecx, [esp + 0x24]
call fcn.10048cb0
add esp, 4
mov ecx, eax
call fcn.10001520
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.10001210
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.10001550
lea ecx, [esp + 8]
call fcn.100014b0
lea ecx, [esp + 0x38]
call fcn.100014b0
lea eax, [esp + 0x50]
push eax
sub esp, 8
lea edx, [esp + 0x84]
call fcn.100478d0
add esp, 0xc
test eax, eax
jne 0x100483a8
push 0x104
push eax
lea eax, [esp + 0x290]
push eax
call fcn.10004940
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x66], 0x736c61
lea edx, [esp + 0x64]
mov word [esp + 0x64], 0x7668
push eax
lea eax, [esp + 0x28c]
push eax
sub esp, 8
call fcn.10047b60
add esp, 0x10
test eax, eax
jne 0x1004839f
cmp dword [esp + 0x58], eax
jbe 0x1004839f
push 0x104
push eax
lea eax, [esp + 0x188]
push eax
call fcn.10004940
add esp, 0xc
mov word [esp + 0x54], 0x6425
lea eax, [esp + 0x54]
mov byte [esp + 0x56], 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x18c]
push 0x104
push eax
call fcn.10001210
add esp, 0x14
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1004839f
mov ecx, dword [esp + 0x50]
call fcn.10047840
mov eax, 1
pop esi
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x50]
call fcn.10047840
push esi
mov esi, dword [0x1007c55c]
mov ecx, esi
call dword [0x1004a1b4]
call esi
mov ecx, dword [esp + 0x394]
pop esi
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 4
Function at 0x100483e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x390], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x78]
push 0x104
push 0
push eax
mov dword [esp + 0x7a], 0x41575446
mov word [esp + 0x78], 0x4f53
mov dword [esp + 0x7e], 0x5c4552
mov word [esp + 0x68], 0x7325
mov word [esp + 0x6b], 0x73
mov byte [esp + 0x6a], 0x25
call fcn.10004940
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.10048d90
mov ecx, eax
call fcn.100014a0
push eax
lea ecx, [esp + 0xc]
call fcn.100014c0
push ecx
lea edx, [esp + 0xc]
lea ecx, [esp + 0x24]
call fcn.10048cb0
add esp, 4
mov ecx, eax
call fcn.10001520
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.10001210
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.10001550
lea ecx, [esp + 8]
call fcn.100014b0
lea ecx, [esp + 0x38]
call fcn.100014b0
lea eax, [esp + 0x50]
push eax
sub esp, 8
lea edx, [esp + 0x84]
call fcn.100478d0
add esp, 0xc
test eax, eax
jne 0x1004859b
push 0x104
push eax
lea eax, [esp + 0x290]
push eax
call fcn.10004940
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x66], 0x736c61
lea edx, [esp + 0x64]
mov word [esp + 0x64], 0x7668
push eax
lea eax, [esp + 0x28c]
push eax
sub esp, 8
call fcn.10047b60
add esp, 0x10
test eax, eax
jne 0x10048592
cmp dword [esp + 0x58], eax
jbe 0x10048592
push 0x104
push eax
lea eax, [esp + 0x188]
push eax
call fcn.10004940
add esp, 0xc
mov word [esp + 0x54], 0x6425
lea eax, [esp + 0x54]
mov byte [esp + 0x56], 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x18c]
push 0x104
push eax
call fcn.10001210
add esp, 0x14
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10048592
mov ecx, dword [esp + 0x50]
call fcn.10047840
mov eax, esi
pop esi
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x50]
call fcn.10047840
push esi
mov esi, dword [0x1007c568]
mov ecx, esi
call dword [0x1004a1b4]
call esi
mov ecx, dword [esp + 0x394]
pop esi
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 4
Function at 0x100485f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x390], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x78]
push 0x104
push 0
push eax
mov dword [esp + 0x79], 0x5754464f
mov dword [esp + 0x7d], 0x5c455241
mov byte [esp + 0x78], 0x53
mov byte [esp + 0x81], 0
mov word [esp + 0x68], 0x7325
mov word [esp + 0x6b], 0x73
mov byte [esp + 0x6a], 0x25
call fcn.10004940
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.10048d90
mov ecx, eax
call fcn.100014a0
push eax
lea ecx, [esp + 0xc]
call fcn.100014c0
push ecx
lea edx, [esp + 0xc]
lea ecx, [esp + 0x24]
call fcn.10048cb0
add esp, 4
mov ecx, eax
call fcn.10001520
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.10001210
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.10001550
lea ecx, [esp + 8]
call fcn.100014b0
lea ecx, [esp + 0x38]
call fcn.100014b0
lea eax, [esp + 0x50]
push eax
sub esp, 8
lea edx, [esp + 0x84]
call fcn.100478d0
add esp, 0xc
test eax, eax
jne 0x100487c1
push 0x104
push eax
lea eax, [esp + 0x290]
push eax
call fcn.10004940
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x64]
add esp, 0xc
mov word [esp + 0x67], 0x736c
lea edx, [esp + 0x64]
mov word [esp + 0x64], 0x7668
mov byte [esp + 0x69], 0
mov byte [esp + 0x66], 0x61
push eax
lea eax, [esp + 0x28c]
push eax
sub esp, 8
call fcn.10047b60
add esp, 0x10
test eax, eax
jne 0x100487b8
cmp dword [esp + 0x58], eax
jbe 0x100487b8
push 0x104
push eax
lea eax, [esp + 0x188]
push eax
call fcn.10004940
add esp, 0xc
mov word [esp + 0x54], 0x6425
lea eax, [esp + 0x54]
mov byte [esp + 0x56], 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x18c]
push 0x104
push eax
call fcn.10001210
add esp, 0x14
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x100487b8
mov ecx, dword [esp + 0x50]
call fcn.10047840
mov eax, 1
pop esi
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x50]
call fcn.10047840
push esi
mov esi, dword [0x1007c538]
mov ecx, esi
call dword [0x1004a1b4]
call esi
mov ecx, dword [esp + 0x394]
pop esi
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 4
Function at 0x10048810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x390
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x38c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x74]
push edi
mov edi, dword [ebp + 0xc]
push 0x104
push 0
push eax
mov word [esp + 0x7a], 0x5446
mov word [esp + 0x80], 0x5c
mov word [esp + 0x7d], 0x5241
mov word [esp + 0x78], 0x4f53
mov byte [esp + 0x7f], 0x45
mov byte [esp + 0x7c], 0x57
mov dword [esp + 0x68], 0x73257325
mov byte [esp + 0x6c], 0
call fcn.10004940
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.10048d90
mov ecx, eax
call fcn.100014a0
push eax
lea ecx, [esp + 0xc]
call fcn.100014c0
push ecx
lea edx, [esp + 0xc]
lea ecx, [esp + 0x24]
call fcn.10048cb0
add esp, 4
mov ecx, eax
call fcn.10001520
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.10001210
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.10001550
lea ecx, [esp + 8]
call fcn.100014b0
lea ecx, [esp + 0x38]
call fcn.100014b0
lea eax, [esp + 0x50]
push eax
sub esp, 8
lea edx, [esp + 0x84]
call fcn.100478d0
add esp, 0xc
test eax, eax
jne 0x100489e3
push 0x104
push eax
lea eax, [esp + 0x290]
push eax
call fcn.10004940
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x66], 0x736c61
lea edx, [esp + 0x64]
mov word [esp + 0x64], 0x7668
push eax
lea eax, [esp + 0x28c]
push eax
sub esp, 8
call fcn.10047b60
add esp, 0x10
test eax, eax
jne 0x100489da
cmp dword [esp + 0x58], eax
jbe 0x100489da
push 0x104
push eax
lea eax, [esp + 0x188]
push eax
call fcn.10004940
add esp, 0xc
mov word [esp + 0x54], 0x6425
lea eax, [esp + 0x54]
mov byte [esp + 0x56], 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x18c]
push 0x104
push eax
call fcn.10001210
add esp, 0x14
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x100489da
mov ecx, dword [esp + 0x50]
call fcn.10047840
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x38c]
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x50]
call fcn.10047840
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
mov esi, dword [0x1007c578]
mov ecx, esi
call dword [0x1004a1b4]
call esi
mov ecx, dword [esp + 0x394]
pop edi
pop esi
xor ecx, esp
call fcn.10002200
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x10048a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x14], eax
call fcn.10047e40
test eax, eax
je 0x10048abc
lea ecx, [esp]
mov word [esp + 5], 0x6957
push ecx
push eax
mov dword [esp + 8], 0x6e697242
mov dword [esp + 0xf], 0x776f646e
mov dword [esp + 0x15], 0x706f54
mov byte [esp + 0xc], 0x67
mov word [esp + 0x13], 0x6f54
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10002200
add esp, 0x18
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
xor ecx, esp
call fcn.10002200
add esp, 0x18
ret
Function at 0x10048af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x10], eax
call fcn.10047e40
test eax, eax
je 0x10048b4a
lea ecx, [esp]
mov dword [esp + 0xb], 0x776f646e
push ecx
push eax
mov dword [esp + 0xd], 0x65766974
mov dword [esp + 8], 0x41746553
mov word [esp + 0x11], 0x6957
mov byte [esp + 0x17], 0
mov byte [esp + 0xc], 0x63
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10002200
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
xor ecx, esp
call fcn.10002200
add esp, 0x14
ret

Function at 0x10048b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x14], eax
call fcn.10047e40
test eax, eax
je 0x10048beb
lea ecx, [esp]
mov dword [esp + 3], 0x65726f46
push ecx
push eax
mov dword [esp + 0x17], 0x776f646e
mov dword [esp + 0x12], 0x57646e75
mov word [esp + 8], 0x6553
mov word [esp + 0xf], 0x7267
mov byte [esp + 0xa], 0x74
mov byte [esp + 0x1b], 0
mov byte [esp + 0x16], 0x69
mov byte [esp + 0x11], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10002200
add esp, 0x18
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
xor ecx, esp
call fcn.10002200
add esp, 0x18
ret

Function at 0x10048c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x10], eax
call fcn.10047e40
test eax, eax
je 0x10048c77
lea ecx, [esp]
mov dword [esp + 1], 0x69577465
push ecx
push eax
mov dword [esp + 0x10], 0x736f5077
mov word [esp + 0xd], 0x646e
mov byte [esp + 8], 0x53
mov byte [esp + 0x14], 0
mov byte [esp + 0xf], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10002200
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
xor ecx, esp
call fcn.10002200
add esp, 0x14
ret

Function at 0x10049430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x18], eax
lea eax, [esp]
mov dword [esp + 0x11], 0x6e6f69
push esi
push eax
mov word [esp + 0x13], 0x6c61
mov word [esp + 0xe], 0x6972
mov word [esp + 0xb], 0x6576
mov word [esp + 8], 0x654c
mov word [esp + 0x10], 0x6974
mov byte [esp + 0xd], 0x43
mov dword [esp + 0x15], 0x74636553
mov byte [esp + 0xa], 0x61
mov byte [esp + 0x12], 0x63
call fcn.10047ee0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100470e6
push 0x1007c68c
mov ecx, esi
call dword [0x1004a1b4]
call esi
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.10002200
add esp, 0x1c
ret
jmp 0x10047070
Function at 0x10049440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [0x10056004]
xor eax, esp
mov dword [esp + 0x18], eax
lea eax, [esp]
mov word [esp + 0xc], 0x536c
push esi
push eax
mov dword [esp + 0xf], 0x63697469
mov dword [esp + 0x17], 0x6f697463
mov dword [esp + 0xa], 0x43726574
mov word [esp + 0x1b], 0x6e
mov byte [esp + 0x16], 0x65
mov word [esp + 8], 0x6e45
mov byte [esp + 0x13], 0x61
mov byte [esp + 0xe], 0x72
call fcn.10047ee0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10046f80
push 0x1007c68c
mov ecx, esi
call dword [0x1004a1b4]
call esi
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.10002200
add esp, 0x1c
ret
cmp dword [0x1007c680], 0
jne 0x10049467
call fcn.100477b0
mov edx, 0x100
mov ecx, 0x1007c580
call fcn.10046f90
mov dword [0x1007c680], 1
jmp 0x10046f10

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x676b3d92
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x179860e5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401e40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401e8b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401e84
test esi, esi
je 0x401e84
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e60
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402070
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4020c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402194
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x4020fe
cmp eax, 4
jne 0x402120
test esi, esi
je 0x402112
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x402104
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40215f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x402151
cmp ecx, 0x40
je 0x402112
cmp ecx, 4
je 0x402112
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402070
lea esi, [esi]
Function at 0x403cf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x224
mov eax, dword [0x44f680]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x228]
push ebx
push ebp
push esi
push edi
push 0x2c
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0
call fcn.0040ab06
mov esi, dword [esp + 0x248]
mov ebx, eax
mov edi, dword [esp + 0x244]
add esp, 4
xor ecx, ecx
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebx + 8], ebx
mov word [ebx + 0xc], 0x101
mov dword [esp + 0x18], ebx
nop dword [eax]
mov eax, ecx
mov byte [esp + ecx + 0x30], cl
cdq
idiv esi
mov al, byte [edx + edi]
mov byte [esp + ecx + 0x130], al
inc ecx
cmp ecx, 0x100
jl 0x403d50
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x30]
movzx eax, byte [esp + esi + 0x130]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x403d93
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x30]
mov byte [esp + esi + 0x30], al
inc esi
mov byte [esp + edi + 0x30], dl
cmp esi, 0x100
jl 0x403d70
mov ebp, dword [esp + 0x23c]
xor eax, eax
xor ecx, ecx
xor edi, edi
test ebp, ebp
jle 0x403ebb
nop dword [eax]
inc eax
and eax, 0x800000ff
jns 0x403dcf
dec eax
or eax, 0xffffff00
inc eax
mov bl, byte [esp + eax + 0x30]
movzx esi, bl
add ecx, esi
mov dword [esp + 0x10], eax
and ecx, 0x800000ff
jns 0x403dec
dec ecx
or ecx, 0xffffff00
inc ecx
push 0
push 0
push 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push 0
movzx eax, byte [esp + edx + 0x38]
mov byte [esp + ecx + 0x38], al
push 0
mov byte [esp + edx + 0x3c], bl
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
movzx eax, byte [esp + eax + 0x30]
add eax, esi
movzx eax, al
add eax, ecx
lea ecx, [esp + 0x20]
push eax
push 0
call fcn.00401680
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [edx]
xor byte [ecx + edi], al
mov eax, edx
mov ecx, dword [esp + 0x28]
sub ecx, edx
cmp ecx, 0x1000
jb 0x403e83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ef1
push ecx
push edx
call fcn.0040ab36
inc edi
mov dword [esp + 0x28], 0
add esp, 8
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
cmp edi, ebp
jge 0x403eb7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jmp 0x403dc0
mov ebx, dword [esp + 0x18]
push dword [ebx + 4]
lea eax, [esp + 0x1c]
push eax
mov ecx, eax
call fcn.004019a0
push 0x2c
push dword [esp + 0x1c]
call fcn.0040ab36
mov ecx, dword [esp + 0x238]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040ab49
add esp, 0x224
ret
call fcn.0040f5af
int3
Function at 0x41b600
Capabilities:
Read file on windows

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

Function at 0x41b60b
Capabilities:
Read file on windows

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

Function at 0x41ba05
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b8f0
mov eax, dword [0x44f680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041a497
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ba47
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41bba3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427370
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x451620]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041cbd5
mov ecx, dword [esi*4 + 0x451620]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41bb9c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41bb9c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bb9c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cbd5
add esp, 0x14
test edx, edx
jl 0x41bb9c
jg 0x41bb12
test eax, eax
jb 0x41bb9c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41bb9c
jl 0x41bb2c
cmp dword [ebp - 0x1008], eax
ja 0x41bb9c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41bb4a
test ebx, ebx
je 0x41bb83
cmp ecx, edi
jae 0x41bb83
mov al, byte [ecx]
cmp al, 0xd
jne 0x41bb64
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41bb70
cmp byte [ecx + 1], 0xa
jne 0x41bb70
inc ecx
jmp 0x41bb70
movzx eax, al
movsx eax, byte [eax + 0x44f940]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41bb4a
cmp edx, ebx
jne 0x41bb4a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41bba1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040ab49
leave
ret