joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011c25d
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1011c1d9
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1011c3cc
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1011c3cc
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1011c381
jg 0x1011c2b9
test eax, eax
je 0x1011c377
push 1
push 0x1000
call fcn.1010e248
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1011c2dc
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1011c36e
push 0x8000
push ebx
call fcn.1011c10a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1011c305
jg 0x1011c300
cmp ecx, 0x1000
jb 0x1011c305
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10113d8a
add esp, 0x10
cmp eax, 0xffffffff
je 0x1011c34a
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1011c300
jl 0x1011c331
test ecx, ecx
jne 0x1011c2f2
push dword [ebp - 0xc]
push ebx
call fcn.1011c10a
push esi
call fcn.10109aed
add esp, 0xc
xor ebx, ebx
jmp 0x1011c3da
cmp byte [edi + 0x24], 0
je 0x1011c361
cmp dword [edi + 0x20], 5
jne 0x1011c361
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1011c36c
mov ebx, dword [edi + 0x18]
jmp 0x1011c36e
xor ebx, ebx
push esi
call fcn.10109aed
pop ecx
jmp 0x1011c3da
test ecx, ecx
jg 0x1011c343
jl 0x1011c381
test eax, eax
jae 0x1011c343
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10114a34
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1011c3a1
cmp byte [edi + 0x1c], 0
je 0x1011c343
jmp 0x1011c3d2
push ebx
call fcn.10117111
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1011c343
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1011c3da
cmp byte [edi + 0x1c], 0
je 0x1011c3d7
mov ebx, dword [edi + 0x18]
jmp 0x1011c3da
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10114a34
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1011ec60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1011ec8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1011ec8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x442840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x90], 0xad9b
mov dword [ebp - 0x44], 0x2c90
mov dword [ebp - 0x1c], 0x1402d
mov dword [ebp - 0x4c], 0xf2bc
mov dword [ebp - 0x10], 0xf0cc
mov dword [ebp - 0x88], 0x1f6f
mov dword [ebp - 0x54], 0x14ee5
mov dword [ebp - 0x5c], 0x6e2d
mov dword [ebp - 0x20], 0xdef3
mov dword [ebp - 0x28], 0x8b0a
mov dword [ebp - 0x30], 0xf758
mov dword [ebp - 0x14], 0x5459
mov dword [ebp - 0x50], 0x134c1
mov dword [ebp - 0x58], 0xe8c7
mov dword [ebp - 8], 0x6916
mov dword [ebp - 4], 0x16eb1
mov dword [ebp - 0x24], 0x1135c
mov dword [ebp - 0x18], 0x2afe
mov dword [ebp - 0xc], 0x132b2
mov dword [ebp - 0x2c], 0x14c3b
mov dword [ebp - 0x38], 0xc3c6
mov dword [ebp - 0x3c], 0x9517
mov dword [ebp - 0x7c], 0x3bee
mov dword [ebp - 0x34], 0x13983
mov dword [ebp - 0x8c], 0x7499
mov dword [ebp - 0x40], 0x3f37
call fcn.00614720
mov eax, dword [ebp - 0x10]
sub eax, 0x172c
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x44292c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x3c]
jge 0x442996
mov ecx, dword [ebp - 0x10]
dec ecx
nop
nop
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x34]
jge 0x442982
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x24]
jge 0x442962
mov dword [ebp - 0x48], 1
jmp 0x442969
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x28]
and edx, dword [ebp - 0x48]
je 0x442982
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x30]
jge 0x442982
mov ecx, dword [ebp - 0x40]
sub ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x442923
call fcn.00417860
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x424172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4241a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4241a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x424dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00424f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00424f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00424eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00424f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00424ecb
push ecx
push dword [ebp + 8]
call fcn.00424f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00424f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00424ecb
push ecx
push dword [ebp + 8]
call fcn.00424f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00424f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00424ecb
push ecx
push dword [ebp + 8]
call fcn.00424f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00424f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00424ecb
cmp ecx, 0x2b
jne 0x424e0f
leave
ret 0xc

Function at 0x4264b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x426544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0xec10
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4265d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0xec10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0xec10
call fcn.004263fa
push 0xec10
push dword [ebp + 0xc]
call fcn.004241a8
test eax, eax
jne 0x4265b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0xec10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004265dd
test eax, eax
je 0x4265d6
jmp 0x426574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4265d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x1006b9e0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1006bbc4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x1006ba0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1006ba11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ba00
mov eax, 1
add ebx, ebx
jne 0x1006ba23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1006ba34
jne 0x1006ba53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ba53
dec eax
add ebx, ebx
jne 0x1006ba40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1006ba18
add ebx, ebx
jne 0x1006ba4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1006baa5
xor ecx, ecx
sub eax, 3
jb 0x1006ba6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1006bada
sar eax, 1
mov ebp, eax
jmp 0x1006ba76
add ebx, ebx
jne 0x1006ba76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ba44
inc ecx
add ebx, ebx
jne 0x1006ba84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1006ba44
add ebx, ebx
jne 0x1006ba91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1006ba86
jne 0x1006baa2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1006ba86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1006bac4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1006bab6
jmp 0x1006ba06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1006bac4
add edi, ecx
jmp 0x1006ba06
pop esi
mov edi, esi
mov ecx, 0x545
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1006bae2
cmp byte [edi], 8
jne 0x1006bae2
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 0x1006bae7
lea edi, [esi + 0x69000]
mov eax, dword [edi]
or eax, eax
je 0x1006bb56
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6b000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6b080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1006bb14
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6b084]
or eax, eax
je 0x1006bb50
mov dword [ebx], eax
add ebx, 4
jmp 0x1006bb31
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1006bb87
cmp al, 0xef
ja 0x1006bb7a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1006bb5c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1006bb69
mov ebp, dword [esi + 0x6b088]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x1006bbbb
sub esp, 0xffffff80
jmp 0x10009580
Function at 0x10010f90
Capabilities:
Check http status code

Disassembly:
sub esp, 8
cmp dword [0x100a9544], 0x13
push ebx
push esi
jne 0x10010ff0
mov eax, dword [0x11f370c4]
cmp eax, dword [0x100a9580]
jne 0x10010fd6
mov eax, dword [0x124016e0]
sub eax, dword [0x100a9588]
mov ecx, eax
imul ecx, eax
mov eax, dword [0x124016dc]
sub eax, dword [0x100a9584]
imul eax, eax
cmp eax, ecx
jge 0x10010fcf
mov eax, ecx
cmp eax, 0x190
jle 0x10010ff0
mov ecx, dword [0x100a9548]
inc dword [0x100a954c]
mov dword [0x100a9544], ecx
pop esi
pop ebx
add esp, 8
ret 4
call fcn.10022c20
mov ebx, 0x100a958c
call fcn.10036d30
test eax, eax
je 0x1001106f
mov esi, dword [eax + 0x18]
test esi, esi
jbe 0x1001106f
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push ebx
call dword [0x1005d434]
call fcn.100133f0
test eax, eax
je 0x1001106f
push esi
push 0xd5
push 0x1005d848
call dword [0x100aa670]
mov edx, dword [esp + 0x20]
mov eax, dword [0x100aa614]
mov dword [0x12418bbc], 0
mov dword [0x12418bc0], 0x14
mov dword [0x100a9544], edx
mov dword [0x100a9568], 0
mov dword [0x100a9564], eax
add esp, 0xc
pop esi
pop ebx
add esp, 8
ret 4
mov ecx, dword [0x100a95e0]
mov edx, dword [0x100a95dc]
push ecx
push edx
push 1
call fcn.10021020
add esp, 0xc
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x10011090
Capabilities:
Check http status code

Disassembly:
push ecx
cmp dword [0x100a9544], 0x13
push ebx
push ebp
push esi
push edi
jne 0x100110f3
mov eax, dword [0x11f370c4]
cmp eax, dword [0x100a9580]
jne 0x100110d6
mov eax, dword [0x124016e0]
sub eax, dword [0x100a9588]
mov ecx, eax
imul ecx, eax
mov eax, dword [0x124016dc]
sub eax, dword [0x100a9584]
imul eax, eax
cmp eax, ecx
jge 0x100110cf
mov eax, ecx
cmp eax, 0x190
jle 0x100110f3
mov ecx, dword [0x100a9548]
mov eax, 1
add dword [0x100a954c], eax
mov dword [0x100a9544], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [0x100a9568]
test eax, eax
je 0x10011134
mov edx, dword [0x100aa614]
sub edx, eax
cmp edx, 0x1388
jbe 0x10011268
call fcn.100379d0
mov eax, dword [0x100a9544]
sub eax, 0x13
neg eax
sbb eax, eax
and eax, 3
add eax, 0x11
mov dword [0x100a9544], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ebx, 0x100a958c
call fcn.10036d30
test eax, eax
je 0x10011273
mov esi, dword [eax + 0x18]
test esi, esi
jbe 0x10011273
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ebx
call dword [0x1005d434]
call fcn.100133f0
test eax, eax
je 0x10011273
call fcn.10037cc0
cmp esi, eax
jne 0x10011273
xor eax, eax
mov dword [0x12420bd8], eax
mov edi, 0x100a95e4
mov ebp, 0x3e8
lea ebx, [eax + 4]
lea ecx, [ecx]
mov ecx, dword [edi]
test ecx, ecx
je 0x100111e6
jbe 0x100111db
mov edx, dword [edi + 4]
mov esi, dword [edi + 8]
mov edi, edi
mov dword [eax*8 + 0x1242153c], edx
mov eax, dword [0x12420bd8]
mov dword [eax*8 + 0x12421540], esi
mov eax, dword [0x12420bd8]
mov dword [eax*4 + 0x12420bdc], ebp
mov eax, dword [0x12420bd8]
mov dword [eax*4 + 0x1242108c], ebx
mov eax, dword [0x12420bd8]
inc eax
sub ecx, 1
mov dword [0x12420bd8], eax
jne 0x100111a0
add edi, 0x10
cmp edi, 0x100a9604
jl 0x10011190
cmp dword [0x100a9544], 0x16
jne 0x100111f9
mov dword [0x100a9538], 1
mov ecx, dword [0x100aa614]
imul eax, eax, 0x3e8
mov dword [0x100a9568], ecx
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 0x14]
mov edx, dword [0x12418b60]
push 0x19781
push edx
mov dword [0x12418bbc], 0
mov dword [0x12418bc0], ecx
call dword [0x1005d1b8]
push 0x1004bbe0
xor eax, eax
push 0x32
mov ecx, 0xc8
mov edi, 0x12417e98
rep stosd dword es:[edi], eax
mov eax, dword [0x12418b60]
push 0x19781
push eax
call dword [0x1005d1c8]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call fcn.100379d0
mov ecx, dword [0x100a9544]
sub ecx, 0x13
neg ecx
sbb ecx, ecx
pop edi
and ecx, 3
pop esi
add ecx, 0x11
pop ebp
xor eax, eax
mov dword [0x100a9544], ecx
pop ebx
pop ecx
ret
Function at 0x10015f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100588d0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10069018]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
call fcn.1005654c
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], esi
call fcn.100565d6
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.100565d6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.100565b2
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x12438184
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.10026a80
mov ebp, dword [esp + 0x30]
cmp ebp, esi
mov dword [0x12401724], eax
jle 0x10016009
mov ebx, dword [esp + 0x18]
mov edi, 0x12401778
cmp edi, 0x12401778
jl 0x100160ed
cmp esi, ebp
jge 0x100160ed
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + esi*4]
lea edx, [edi - 0x50]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x10015fe0
cmp esi, dword [esp + 0x1c]
jge 0x100160ed
movzx eax, byte [ebx + esi]
mov dword [edi], eax
inc esi
add edi, 0x58
cmp esi, ebp
jl 0x10015fc2
or esi, 0xffffffff
push esi
push 0
lea ecx, [esp + 0x30]
call fcn.10056558
push esi
push 0
lea ecx, [esp + 0x1c]
call fcn.100565e2
push esi
push 0
lea ecx, [esp + 0x58]
call fcn.100565e2
push esi
push 0
lea ecx, [esp + 0x44]
call fcn.100565be
cmp dword [0x12401724], 0
je 0x100160f2
cmp dword [0x124015d4], 0
je 0x1001609d
push 0x124293dc
call fcn.10001160
push 0
mov dword [0x12416bf0], 0x74
call fcn.10047310
mov ecx, dword [0x12418b3c]
push ecx
mov dword [0x12418b18], 0
call dword [0x1005d010]
mov edx, dword [0x12418b44]
push esi
push edx
call dword [0x1005d00c]
push 0x124293e4
call dword [0x1005d01c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.100565b8
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.100565dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call fcn.100565dc
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], esi
call fcn.10056552
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
call fcn.1005655e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.100565b8
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.100565dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0
call fcn.100565dc
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], esi
call fcn.10056552
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x10016140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100588d0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10069018]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
call fcn.1005654c
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], ebx
call fcn.100565d6
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.100565d6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.100565b2
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x12438184
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.10026a80
mov ebp, dword [esp + 0x30]
xor edx, edx
xor esi, esi
cmp ebp, ebx
mov dword [0x12401724], edx
jle 0x10016238
mov edi, dword [esp + 0x18]
cmp esi, ebx
jl 0x10016311
cmp esi, dword [esp + 0x1c]
jge 0x10016311
cmp byte [edi + esi], 1
jne 0x10016233
cmp esi, ebp
jge 0x10016311
mov eax, dword [esp + 0x2c]
imul edx, edx, 0x58
mov ecx, dword [eax + esi*4]
add edx, 0x12401728
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x10016202
mov edx, dword [0x12401724]
movzx ecx, byte [edi + esi]
imul edx, edx, 0x58
mov dword [edx + 0x12401778], ecx
mov edx, dword [0x12401724]
inc edx
mov dword [0x12401724], edx
inc esi
cmp esi, ebp
jl 0x100161d2
or edi, 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x30]
call fcn.10056558
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.100565e2
push edi
push ebx
lea ecx, [esp + 0x58]
call fcn.100565e2
push edi
push ebx
lea ecx, [esp + 0x44]
call fcn.100565be
cmp dword [0x12401724], ebx
je 0x10016316
mov esi, dword [0x12418c44]
cmp dword [0x124015d4], ebx
je 0x100162c2
push 0x124293dc
call fcn.10001160
push ebx
mov dword [0x12416bf0], esi
call fcn.10047310
mov eax, dword [0x12418b3c]
push eax
mov dword [0x12418b18], ebx
call dword [0x1005d010]
mov ecx, dword [0x12418b44]
push edi
push ecx
call dword [0x1005d00c]
push 0x124293e4
call dword [0x1005d01c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.100565b8
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.100565dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], bl
call fcn.100565dc
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], edi
call fcn.10056552
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
call fcn.1005655e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.100565b8
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.100565dc
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], bl
call fcn.100565dc
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], edi
call fcn.10056552
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x10028fc0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x12429ac4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edi + 0x49d8], eax
mov ebx, dword [eax + 0x2c]
xor esi, esi
test ebx, ebx
jle 0x10029012
mov edx, dword [edi + 0x49d8]
mov eax, dword [edx + 0x58]
mov eax, dword [eax + esi*4]
cmp byte [eax + 0xa0], 0
jne 0x1002900d
mov eax, dword [eax + 0xc]
push 0x10060500
push eax
call dword [0x1005d178]
add esp, 8
test eax, eax
jne 0x1002901b
inc esi
cmp esi, ebx
jl 0x10028fe2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x49d8]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx + esi*4]
mov dword [ebp - 4], eax
pushal
push dword [ebp - 4]
mov eax, 0x598060
call eax
test al, al
jne 0x10029047
push dword [ebp - 4]
mov ebx, 0x59da70
call ebx
add esp, 4
popal
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov esi, eax
mov cl, byte [esi + ebx - 1]
mov al, byte [esi]
push ebx
push esi
mov byte [esi], cl
push ebp
mov edi, 0x3040dd
mov byte [esi + ebx - 1], al
call fcn.10057220
add esp, 0xc
cmp ebx, 1
jle 0x10030d39
mov ecx, ebp
lea eax, [esi + 1]
sub ecx, esi
lea esi, [ebx - 1]
mov edx, edi
shr edx, 8
xor dl, byte [eax]
inc eax
mov byte [ecx + eax - 1], dl
movzx edx, byte [eax - 1]
add edx, edi
imul edx, edx, 0xce6d
add edx, 0x58bf
sub esi, 1
mov edi, edx
jne 0x10030d14
pop edi
pop esi
pop ebp
ret
Function at 0x1003a770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10058e78
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10069018]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], 0
test edi, edi
jge 0x1003a7a4
call fcn.1005655e
cmp edi, dword [esi + 8]
jl 0x1003a7b1
lea eax, [edi + 1]
call fcn.1003a490
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
lea eax, [edi + edi*8]
lea esi, [ecx + eax*4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 4]
mov dword [esi], edx
call dword [0x1005d4b0]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov dword [esi + 8], ecx
push edx
lea ecx, [esi + 0xc]
call dword [0x1005d4b0]
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x10]
call dword [0x1005d4b0]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x34]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0x28]
call dword [0x1005d4d0]
lea ecx, [esp + 0x24]
call dword [0x1005d4d0]
lea ecx, [esp + 0x1c]
call dword [0x1005d4d0]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x24