joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x440e30
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x440e4b
mov eax, 0xffffffff
jmp 0x440e4e
add eax, 0xa
push eax
call fcn.004083e0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x440e91
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x440e80
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x6c6d6e6f
mov byte [esp + 0x24], 0
xor ecx, ecx
nop
nop
mov edx, ecx
add dl, 0x68
xor dl, byte [esp + ecx + 0x20]
add dl, 0xf8
mov byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 5
jne 0x440ef0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44cdac]
test ecx, ecx
je 0x440f59
xor edx, edx
mov ebx, dword [0x44cdb0]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x1ce638e1
je 0x440f30
inc edx
cmp ecx, edx
jne 0x440f20
jmp 0x440f59
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x440f59
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 8
push ecx
push dword [0x44cdb4]
mov ebx, eax
call fcn.0043e5b0
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.004083f0
add esp, 4
test edi, edi
je 0x440f6c
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x440f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
xor eax, eax
mov ecx, eax
add cl, 0x68
xor cl, byte [esp + eax]
add cl, 0xf8
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x440fa0
mov eax, dword [esp]
mov edx, dword [0x44cdac]
test edx, edx
je 0x441008
xor ebx, ebx
mov ecx, dword [0x44cdb0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x440fe0
inc ebx
cmp edx, ebx
jne 0x440fd0
jmp 0x441008
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x441008
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x44cdb4]
call fcn.0043e5b0
add esp, 0x20
test edi, edi
je 0x441012
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x44101e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441030
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x68
xor bl, byte [esp + eax]
add bl, 0xf8
mov byte [esp + eax], bl
inc eax
cmp eax, 5
jne 0x441060
mov eax, dword [esp]
mov ebx, dword [0x44cdac]
test ebx, ebx
je 0x4410ce
xor ebp, ebp
mov edi, dword [0x44cdb0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x5b126fe8
je 0x4410a0
inc ebp
cmp ebx, ebp
jne 0x441090
jmp 0x4410ce
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x4410ce
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x44cdb4]
call fcn.0043e5b0
add esp, 0x30
cmp eax, 0x103
jne 0x441159
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x68
xor cl, byte [esp + eax]
add cl, 0xf8
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x4410f0
mov eax, dword [esp]
mov ecx, dword [0x44cdac]
test ecx, ecx
je 0x441151
xor edx, edx
mov edi, dword [0x44cdb0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x441130
inc edx
cmp ecx, edx
jne 0x441120
jmp 0x441151
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x441151
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x44cdb4]
call fcn.0043e5b0
add esp, 0x18
test eax, eax
js 0x441159
mov eax, dword [esp + 8]
test esi, esi
je 0x44116c
xor ecx, ecx
cmp eax, 0xc0000011
je 0x44116a
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441180
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x68
xor bl, byte [esp + eax]
add bl, 0xf8
mov byte [esp + eax], bl
inc eax
cmp eax, 5
jne 0x4411b0
mov eax, dword [esp]
mov ebx, dword [0x44cdac]
test ebx, ebx
je 0x44121e
xor ebp, ebp
mov edi, dword [0x44cdb0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xa2545bf7
je 0x4411f0
inc ebp
cmp ebx, ebp
jne 0x4411e0
jmp 0x44121e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x44121e
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x44cdb4]
call fcn.0043e5b0
add esp, 0x30
cmp eax, 0x103
jne 0x4412a9
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x68
xor cl, byte [esp + eax]
add cl, 0xf8
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x441240
mov eax, dword [esp]
mov ecx, dword [0x44cdac]
test ecx, ecx
je 0x4412a1
xor edx, edx
mov edi, dword [0x44cdb0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x441280
inc edx
cmp ecx, edx
jne 0x441270
jmp 0x4412a1
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4412a1
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x44cdb4]
call fcn.0043e5b0
add esp, 0x18
test eax, eax
js 0x4412a9
mov eax, dword [esp + 8]
test esi, esi
je 0x4412b3
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4412c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x4412e0
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 8], bx
add ebx, 2
mov word [esp + 0xa], bx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x6c6d6e6f
mov byte [esp + 4], 0
xor eax, eax
nop
nop
mov ebx, eax
add bl, 0x68
xor bl, byte [esp + eax]
add bl, 0xf8
mov byte [esp + eax], bl
inc eax
cmp eax, 5
jne 0x441340
mov eax, dword [esp]
mov edi, dword [0x44cdac]
test edi, edi
je 0x4413af
xor ebx, ebx
mov ebp, dword [0x44cdb0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x40915fe0
je 0x44138b
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ebx, [ebx + ecx*2]
cmp ebx, edi
jb 0x441370
jmp 0x4413af
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x4413af
lea eax, [esp + 0x10]
push esi
push eax
push edx
push dword [esp + 0x4c]
push 0x10
push edi
push dword [0x44cdb4]
call fcn.0043e5b0
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x405e10
cmp edi, esi
jb 0x405e7b
cmp edi, dword [ebp + 0x10]
ja 0x405e8e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x405e12
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x405e00
jmp 0x405e6f
ja 0x405e19
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x405dd5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x405e50
mov ebx, esi
sub ecx, edx
jns 0x405e67
jmp 0x405e71
cmp esi, edi
je 0x405ea2
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x405e71
xor al, 1
cmp ebx, edi
jne 0x405e30
jmp 0x405e71
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x8f62d4
call fcn.00404a00
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x8f62d4
call fcn.00404310
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov edx, 0x2b
push 0x8f62c4
call fcn.00404630
add esp, 4
ud2
Function at 0x410180
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x410197
test eax, eax
jne 0x4102f8
mov edi, dword [0x9020c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x4101b7
mov edi, dword [edi + 8]
test edi, edi
je 0x4101e6
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x4101b0
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x4101b0
test byte [ebp - 0x10], 1
je 0x4102f8
mov edi, dword [0x9020c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x410217
mov edi, dword [edi + 8]
test edi, edi
je 0x410246
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x410210
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x410210
test byte [ebp - 0x10], 1
je 0x4102f8
mov edi, dword [0x9020c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x410277
mov edi, dword [edi + 8]
test edi, edi
je 0x4102a6
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x410270
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x410270
test byte [ebp - 0x10], 1
je 0x4102f8
mov edi, dword [0x9020c4]
test edi, edi
je 0x4102f8
mov dword [ebp - 0x10], 0
jmp 0x4102c7
mov edi, dword [edi + 8]
test edi, edi
je 0x4102f2
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x4102c0
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
mov al, 1
mov dword [ebp - 0x10], eax
jmp 0x4102c0
test byte [ebp - 0x10], 1
jne 0x410302
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov edi, dword [0x9020c4]
jmp 0x41030d
mov edi, dword [edi + 8]
test edi, edi
je 0x4102f8
mov esi, dword [edi]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x410337
dec esi
push esi
call sub.KERNEL32.dll_TlsGetValue
test eax, eax
je 0x41030a
push 0
push esi
mov esi, eax
call sub.KERNEL32.dll_TlsSetValue
push esi
call ebx
add esp, 4
jmp 0x41030a
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
push 0x8f9148
call fcn.00404630
add esp, 4
ud2
Function at 0x410f00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x445030]
test eax, eax
je 0x410f2a
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x410f3f
cmp dword [eax + 4], 0
mov edi, eax
je 0x410f3f
add edi, 8
jmp 0x410ffe
mov ecx, 0x445030
call fcn.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x410f1a
mov eax, dword [0x445030]
test eax, eax
je 0x410fe3
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x410ffc
mov esi, eax
test eax, eax
jne 0x410fb2
movzx eax, byte [0x902060]
mov eax, dword [0x9020c0]
test eax, eax
jne 0x410f84
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x411010
mov dword [0x9020c0], eax
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x411010
mov dword [eax], 0x445030
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x445030]
test eax, eax
je 0x411004
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov ecx, dword [esi + 0xc]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
je 0x410ffe
test ecx, ecx
je 0x410ffe
lock dec dword [ecx]
jne 0x410ffe
call fcn.00411040
jmp 0x410ffe
mov ecx, 0x445030
call fcn.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x410f5c
xor edi, edi
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov ecx, 0x445030
call fcn.00411290
jmp 0x410fab
mov ecx, 4
mov edx, 0x10
call fcn.00403710
ud2
Function at 0x411290
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x4112f9
lea ebx, [esi + 0xc]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push ebx
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
mov dword [ebp - 0x10], eax
jne 0x41132f
cmp dword [ebp - 0x14], 0
je 0x411316
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x411343
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x9020c4]
nop dword [eax + eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x9020c4], esi
jne 0x4112e0
push 0
push 0
push ebx
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x411325
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x41137f
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x41131a
mov edi, dword [ebp - 0x10]
jmp 0x411325
mov edi, dword [esi]
jmp 0x411324
mov edi, eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.004113b0
ud2
push 0
push 4
push ebx
call sub.KERNEL32.dll_InitOnceComplete
lea ecx, [ebp - 0x2c]
mov edx, 0x8f9114
mov dword [ebp - 0x2c], 0x8f90dc
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov dword [ebp - 0x20], 0
call fcn.00403c30
ud2
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x8f90dc
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00411410
ud2
Function at 0x413170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x445020]
test eax, eax
je 0x413195
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x4131aa
cmp dword [eax + 4], 0
je 0x4131aa
add eax, 8
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x413189
mov eax, dword [0x445020]
test eax, eax
je 0x413229
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x41323e
mov esi, eax
test eax, eax
jne 0x413211
movzx eax, byte [0x902060]
mov eax, dword [0x9020c0]
test eax, eax
jne 0x4131e3
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41324f
mov dword [0x9020c0], eax
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x41324f
mov dword [eax], 0x445020
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x445020]
test eax, eax
je 0x413243
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411290
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x4131bf
xor eax, eax
pop esi
pop ebp
ret
mov ecx, 0x445020
call fcn.00411290
jmp 0x41320a
mov ecx, 4
mov edx, 0x10
call fcn.00403710
ud2
Function at 0x415cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
movzx ebx, byte [edx + 0x1c]
mov dword [ebp - 0x20], ecx
xor eax, eax
mov ecx, 0
mov edi, edx
call 0x415cce
pop esi
cmp bl, 1
setne dl
sbb ecx, ecx
or cl, dl
cmp cl, 0xff
movzx edx, cl
je 0x415ce5
test edx, edx
jne 0x415d0e
mov byte [ebp - 0x14], bl
movzx ebx, byte [edi + 0x1e]
cmp cl, 0xff
mov dword [ebp - 0x18], ebx
je 0x415cf8
test edx, edx
jne 0x415d02
mov ecx, edi
call fcn.00415bc0
movzx eax, al
movzx ebx, byte [ebp - 0x14]
xor ecx, ecx
test bl, bl
jne 0x415d6f
jmp 0x415d1b
mov dword [ebp - 0x18], 0
xor ecx, ecx
test bl, bl
jne 0x415d6f
xor ecx, ecx
cmp byte [edi + 8], 6
lea edx, [edi + 8]
cmove edx, ecx
je 0x415d6f
movzx ebx, byte [edx]
mov ecx, 6
add esi, dword [ebx*4 + 0x415e84]
jmp esi
add eax, ecx
movzx ecx, byte [ebp - 0x18]
mov edx, dword [edi + 4]
mov dword [ebp - 0x1c], ecx
add ecx, eax
cmp edx, ecx
jb 0x415e72
mov esi, edi
mov edi, dword [edi]
cmp edx, ecx
mov ebx, edi
lea ebx, [edi + ecx]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
jne 0x415da6
movzx eax, byte [esi + 8]
mov byte [ebp - 0xd], al
mov ebx, dword [ebp - 0x14]
xor eax, eax
jmp 0x415e12
movzx ebx, byte [esi + 8]
cmp bl, 3
mov byte [ebp - 0xd], bl
jae 0x415dcf
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
sub eax, edx
lea esi, [edx + esi - 1]
nop
cmp byte [esi], 0x5c
je 0x415e61
dec esi
inc eax
jne 0x415dc0
jmp 0x415d9f
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
sub eax, edx
lea edi, [edx + esi - 1]
nop
movzx esi, byte [edi]
cmp esi, 0x2f
je 0x415dfb
cmp esi, 0x5c
je 0x415dfb
dec edi
inc eax
jne 0x415de0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
xor eax, eax
jmp 0x415e12
mov edx, dword [ebp - 0x1c]
not eax
lea ecx, [ecx + eax + 1]
cmp edx, ecx
jb 0x415e6b
mov ebx, dword [ebp - 0x18]
mov eax, 1
add ebx, ecx
sub edx, ecx
je 0x415e36
mov cl, 9
cmp edx, 2
je 0x415e3a
cmp edx, 1
jne 0x415e49
cmp byte [ebx], 0x2e
jne 0x415e49
xor ecx, ecx
cmp byte [ebp - 0xd], 3
setae cl
lea ecx, [ecx + ecx*2 + 7]
jmp 0x415e49
mov cl, 0xa
jmp 0x415e49
cmp byte [ebx], 0x2e
jne 0x415e49
cmp byte [ebx + 1], 0x2e
sete cl
xor cl, 9
mov esi, dword [ebp - 0x20]
add eax, edx
mov dword [esi], eax
mov byte [esi + 4], cl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
not eax
lea ecx, [ecx + eax + 1]
cmp edx, ecx
jae 0x415e08
push 0x8f8558
jmp 0x415e77
push 0x8f8548
call fcn.004042b0
add esp, 4
ud2
Function at 0x417570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x490
call fcn.00417584
Function at 0x42a060
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x42a184
mov dword [esp], ecx
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
movzx ecx, byte [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ch, dl
and ch, 0x3f
cmp ch, 0xd
je 0x42a1a5
and edx, 0x3f
cmp edx, 0xe
je 0x42a1b4
cmp edx, 0xf
jne 0x42a193
mov eax, dword [edi + 0x68]
test eax, eax
je 0x42a193
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x42a216
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], edx
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 8], ecx
mov ecx, edx
mov edx, dword [esp + 8]
jmp 0x42a0e8
mov dword [esp + 0xc], ecx
sub ecx, edi
jbe 0x42a127
mov esi, dword [ebp + 0xc]
shr ecx, 1
xor ebx, ebx
add ecx, edi
imul eax, ecx, 0x110
cmp dword [edx + eax + 0x108], esi
mov eax, 0xff
setne bl
cmovb ebx, eax
cmp bl, 1
je 0x42a0e0
movzx eax, bl
cmp eax, 0xff
jne 0x42a216
inc ecx
mov edi, ecx
mov ecx, dword [esp + 0xc]
sub ecx, edi
ja 0x42a0e8
test edi, edi
je 0x42a216
mov edx, dword [esp + 0x28]
dec edi
cmp edi, edx
jae 0x42a28b
mov edx, dword [esp + 8]
imul ecx, edi, 0x110
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x18]
cmp dword [edx + ecx + 0xa8], 0
jne 0x42a169
add edx, ecx
mov ecx, dword [edx + 0xac]
cmp ecx, eax
jbe 0x42a238
mov edx, dword [esp]
movzx eax, byte [esp + 0x12]
movzx esi, word [esp + 0x10]
mov byte [esp + 6], al
mov word [esp + 4], si
jmp 0x42a219
mov dword [ecx + 4], 0
mov byte [ecx], 0x4b
jmp 0x42a230
mov eax, dword [esp]
mov dword [eax + 4], 0
mov byte [eax], 0x4b
jmp 0x42a230
movzx edx, cl
mov ecx, dword [esp]
push esi
push edi
push ebx
push eax
push dword [ebp + 0x14]
jmp 0x42a1e2
mov edx, ebx
movzx ebx, cl
lea ecx, [esp + 0x10]
push ebx
push eax
call fcn.0042a780
add esp, 8
movzx eax, byte [esp + 0x10]
cmp al, 0x4b
jne 0x42a1ec
mov ecx, dword [esp]
mov edx, ebx
push esi
push edi
push dword [ebp + 0x18]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.0042a2a0
add esp, 0x14
jmp 0x42a230
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp]
movzx edi, word [esp + 0x11]
mov esi, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x18]
mov byte [edx + 3], cl
mov word [edx + 1], di
mov byte [edx], al
mov dword [edx + 4], esi
movsd qword [edx + 8], xmm0
jmp 0x42a230
mov edx, dword [esp]
movzx eax, byte [esp + 6]
movzx esi, word [esp + 4]
mov byte [edx + 3], al
mov word [edx + 1], si
mov byte [edx], 0x37
mov dword [edx + 4], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub eax, ecx
xor ecx, ecx
cmp byte [edx + 0xc9], 8
mov dword [esp + 8], edx
mov edi, eax
sete cl
shl ecx, 3
add ecx, dword [edx + 0xcc]
mov edx, dword [edx + 0xc4]
sub ecx, edx
add ecx, 4
sub edi, ecx
jb 0x42a284
cmp edi, edx
jae 0x42a284
mov edi, dword [esp + 0x24]
mov ecx, dword [esp]
mov edx, 1
add edi, 8
push esi
push edi
push ebx
push eax
push dword [esp + 0x18]
jmp 0x42a1e2
mov ecx, eax
jmp 0x42a169
mov ecx, edi
push 0x8f8068
call fcn.00403c60
add esp, 4
ud2