joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0044e5b0
xor ebx, ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x30], ebx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4865e4
call fcn.0044e650
push ecx
mov byte [esp + 0x34], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x486818
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x34], bl
call fcn.004570c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp ax, bx
jge 0x403575
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x486710
call fcn.0044e650
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x486810
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x34], bl
call fcn.004570c0
jmp 0x403672
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x486808
call fcn.0044e650
mov ecx, dword [0x4937bc]
call fcn.00458f10
mov eax, dword [edi + 0x18]
lea ebp, [edi + 0x14]
cmp eax, ebx
je 0x4035aa
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, 0xfffffff8
jne 0x4035d5
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4865e4
call fcn.0044e650
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x486800
jmp 0x40355d
push 6
push 0x4867f8
lea ecx, [esp + 0x18]
call fcn.0044ea30
xor esi, esi
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x403667
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 3
cmp esi, edx
jae 0x403667
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x10]
mov eax, dword [eax + esi*8]
shr eax, 8
push eax
push 4
call fcn.0044e8d0
mov eax, dword [edi + 0x18]
mov cl, byte [eax + esi*8]
push ecx
push 5
lea ecx, [esp + 0x18]
call fcn.0044e8d0
push esi
mov ecx, ebp
call fcn.00428590
mov al, byte [eax + 5]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x28], esp
push eax
push ebx
push edx
mov ecx, edi
call fcn.0042a1b0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x3c], 4
call fcn.0044e5c0
mov ecx, dword [0x4937bc]
mov byte [esp + 0x38], bl
call fcn.00459090
inc esi
jmp 0x4035e7
mov ecx, dword [0x4937bc]
call fcn.00459280
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0044e6f0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x406770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call fcn.0044e5b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0044e5b0
mov al, byte [esp + 0x24]
mov ebx, dword [esp + 0x28]
test al, al
mov byte [esp + 0x1c], 1
jne 0x406803
xor ax, ax
mov al, bl
cmp ax, word [edi + 0x150]
je 0x406803
movsx cx, byte [0x484110]
push ecx
push 0x484111
lea ecx, [esp + 0x14]
call fcn.0044ea30
mov esi, 3
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0044e5c0
call fcn.004291b0
add esp, 8
dec esi
jne 0x4067e2
mov al, byte [0x493760]
test al, al
jne 0x40693a
mov al, byte [esp + 0x24]
test al, al
jne 0x40685a
test bl, bl
jne 0x40682c
movsx cx, byte [0x484130]
push ecx
push 0x484131
jmp 0x406840
movsx dx, byte [0x484138]
push edx
mov byte [0x48413c], bl
push 0x484139
lea ecx, [esp + 0x14]
call fcn.0044ea30
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
jmp 0x4068ec
test bl, bl
jne 0x40686e
movsx ax, byte [0x484148]
push eax
push 0x484149
jmp 0x406882
movsx cx, byte [0x484150]
push ecx
mov byte [0x484154], bl
push 0x484151
lea ecx, [esp + 0x14]
call fcn.0044ea30
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0044e5c0
call fcn.004291b0
add esp, 8
test ax, ax
jle 0x406903
push 2
lea ecx, [esp + 0x14]
call fcn.0044e8c0
cmp al, 2
je 0x40693a
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0044e5c0
call fcn.004291b0
add esp, 8
test ax, ax
jle 0x406903
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x14]
push edx
call fcn.0044e5c0
call fcn.004291b0
add esp, 8
test ax, ax
jg 0x40693a
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.0044e6f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044e6f0
or ax, 0xffff
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
push 0
lea ecx, [esp + 0x14]
call fcn.0044e8c0
cmp al, 5
jbe 0x4069b5
lea ecx, [esp + 0x10]
call fcn.0044e950
cmp ax, 6
jle 0x4069b5
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0044e5c0
movzx ax, byte [esp + 0x2c]
push ebx
push eax
mov ecx, edi
call fcn.00405b70
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x1c], 0
call fcn.0044e6f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044e6f0
mov ax, si
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.0044e6f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044e6f0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0xc
Function at 0x40eac0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x471548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x10]
call fcn.0044e5e0
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov ecx, edi
call fcn.0044e950
add al, 2
lea ecx, [esp + 0xc]
push eax
call fcn.0044e930
push 0x73
lea ecx, [esp + 0x10]
call fcn.0044e930
mov ecx, edi
xor esi, esi
call fcn.0044e950
test ax, ax
jle 0x40eb38
push esi
mov ecx, edi
call fcn.0044e8c0
push eax
lea ecx, [esp + 0x10]
call fcn.0044e930
mov ecx, edi
inc esi
call fcn.0044e950
cmp si, ax
jl 0x40eb19
lea ecx, [esp + 0xc]
xor esi, esi
call fcn.0044e950
test ax, ax
jle 0x40eb67
push esi
lea ecx, [esp + 0x10]
call fcn.0044e8c0
movzx ax, al
xor ebx, eax
lea ecx, [esp + 0xc]
inc esi
call fcn.0044e950
cmp si, ax
jl 0x40eb48
cmp word [esp + 0x20], 1
jne 0x40eb71
not bl
push ebx
lea ecx, [esp + 0x10]
call fcn.0044e930
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0044e5c0
mov ecx, edi
call fcn.0044e790
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0044e6f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
Function at 0x41c9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0044e5b0
mov edi, dword [esp + 0x28]
xor ebp, ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebp
mov al, byte [edi]
inc al
push eax
call fcn.0044e930
xor ecx, ecx
mov cl, byte [esi + 0x41]
push ecx
lea ecx, [esp + 0x10]
call fcn.0044e930
mov dl, byte [esi + 0x40]
lea ecx, [esp + 0xc]
push edx
call fcn.0044e930
mov al, byte [esi + 0x43]
mov cl, al
or cl, 0x10
inc al
push ecx
lea ecx, [esp + 0x10]
mov byte [esi + 0x43], al
call fcn.0044e930
cmp byte [esi + 0x43], 0x10
jb 0x41ca2b
mov byte [esi + 0x43], 0
cmp byte [edi], 0
jle 0x41ca4b
movsx eax, bp
mov cl, byte [eax + edi + 1]
push ecx
lea ecx, [esp + 0x10]
call fcn.0044e930
movsx dx, byte [edi]
inc ebp
cmp bp, dx
jl 0x41ca30
lea ecx, [esp + 0x10]
call fcn.0044e5b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0044e5b0
mov edi, dword [esp + 0x2c]
push 0
push 0x4930f8
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.0044ea30
push 4
push 0x486d70
lea ecx, [esp + 0x18]
call fcn.0044ea30
xor eax, eax
lea ecx, [esp + 0x10]
mov al, byte [esi + 0x41]
push eax
push 1
call fcn.0044e8d0
mov cl, byte [esi + 0x40]
push ecx
push 2
lea ecx, [esp + 0x18]
call fcn.0044e8d0
mov ecx, 0x493780
call fcn.004541b0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0044e5c0
call fcn.004291b0
add esp, 8
lea edx, [esp + 0xc]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0044e5c0
mov ecx, esi
call fcn.0041b830
mov ecx, 0x493780
mov esi, eax
call fcn.004541f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0044e6f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0044e6f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.0044e6f0
mov ecx, dword [esp + 0x18]
mov ax, si
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 8
Function at 0x425960
Capabilities:
Get common file path

Disassembly:
sub esp, 0x200
lea eax, [esp]
push ebx
push esi
push edi
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, str._vinfo.dat
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4870f8
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004683f2
mov edx, dword [esp + 0x218]
lea ecx, [esp + 0x21c]
mov esi, eax
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00468381
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.00468277
push esi
call fcn.00468221
add esp, 0x28
pop edi
pop esi
pop ebx
add esp, 0x200
ret
Function at 0x42d020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x473528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 6
push 0x4867f8
lea ecx, [esp + 0x18]
call fcn.0044e650
xor ebx, ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x30], ebx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x4865e4
call fcn.0044e650
push ecx
mov byte [esp + 0x34], 1
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x486818
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x34], bl
call fcn.004570c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp ax, bx
jge 0x42d0fe
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x486710
call fcn.0044e650
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x486810
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x34], bl
call fcn.004570c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0044e6f0
xor ax, ax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x487420
call fcn.0044e650
push esi
call fcn.0045ad10
mov ecx, dword [0x4937bc]
add esp, 8
call fcn.00458e90
mov eax, dword [edi + 0x18]
lea ebp, [edi + 0x14]
cmp eax, ebx
je 0x42d145
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, 0xfffffff8
jne 0x42d186
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4865e4
call fcn.0044e650
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x486800
call fcn.0044e650
mov ecx, 0x4937b8
mov byte [esp + 0x34], bl
call fcn.004570c0
jmp 0x42d226
mov dl, byte [edi + 0x54]
lea ecx, [esp + 0x10]
push edx
push 3
call fcn.0044e8d0
xor esi, esi
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x42d21b
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jae 0x42d21b
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x10]
mov edx, dword [eax + esi*8]
shr edx, 8
push edx
push 4
call fcn.0044e8d0
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x10]
mov al, byte [eax + esi*8]
push eax
push 5
call fcn.0044e8d0
push esi
mov ecx, ebp
call fcn.00428590
mov dl, byte [eax + 5]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push 1
push ecx
mov ecx, edi
call fcn.0042a1b0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 4
call fcn.0044e5c0
mov ecx, dword [0x4937bc]
mov byte [esp + 0x38], bl
call fcn.00459090
inc esi
jmp 0x42d197
mov ecx, dword [0x4937bc]
call fcn.00459280
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0044e6f0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x448d40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475780
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x80]
test eax, eax
jne 0x448d6c
xor esi, esi
jmp 0x448d77
mov esi, dword [edi + 0x84]
sub esi, eax
sar esi, 2
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x4875b8
call fcn.0044e650
push ebx
call fcn.0045ad10
mov ecx, dword [0x4937c4]
add esp, 8
call fcn.0045c130
test si, si
jle 0x448dd8
xor ebp, ebp
movsx ebx, si
push 0
push ebp
lea ecx, [edi + 0x7c]
call fcn.004130f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0044e5c0
mov ecx, dword [0x4937c4]
call fcn.0045c330
inc ebp
dec ebx
jne 0x448db1
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x486a38
call fcn.0044e650
mov ecx, dword [0x4937c4]
call fcn.0045c330
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x486580
call fcn.0044e650
sub esp, 0x10
lea eax, [edi + 0x64]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x3c], 0
call fcn.00412e80
push ecx
lea edx, [edi + 0x78]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x40], 1
call fcn.0044e5c0
mov ecx, dword [0x4937c4]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0045c520
mov ecx, dword [0x4937c4]
call fcn.0045c730
push 0xa
mov ebp, eax
call fcn.0044b4f0
add esp, 4
cmp bp, si
je 0x448ea4
dec esi
test si, si
jl 0x448d5e
cmp si, bp
jne 0x448e99
movsx eax, bp
push 1
mov cl, byte [eax + edi + 0x41]
push ecx
push 0
lea ecx, [edi + 0x74]
call fcn.0044e8c0
push eax
mov ecx, edi
call fcn.004492b0
test ax, ax
jl 0x448ea8
dec esi
test si, si
jge 0x448e73
jmp 0x448d5e
mov ax, 0xffdb
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x448ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4757a0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x64]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x38], esp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x4875b8
call fcn.0044e650
push esi
call fcn.0045ad10
mov ecx, dword [0x4937c4]
add esp, 8
call fcn.0045c130
mov ecx, dword [0x4937c4]
push 1
call fcn.0045c3b0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x487830
call fcn.0044e650
mov ecx, dword [0x4937c4]
call fcn.0045c330
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x487828
call fcn.0044e650
mov ecx, dword [0x4937c4]
call fcn.0045c330
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x487820
call fcn.0044e650
mov ecx, dword [0x4937c4]
call fcn.0045c330
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x486a38
call fcn.0044e650
mov ecx, dword [0x4937c4]
call fcn.0045c330
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x486580
call fcn.0044e650
sub esp, 0x10
mov dword [esp + 0x34], 0
mov ecx, esp
mov dword [esp + 0x24], esp
push ebp
call fcn.00412e80
push ecx
lea eax, [edi + 0x78]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 1
call fcn.0044e5c0
mov ecx, dword [0x4937c4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045c520
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x38], esp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x487818
call fcn.0044e650
push esi
call fcn.0045ad10
mov ecx, dword [0x4937c4]
add esp, 8
call fcn.0045c3d0
mov ecx, dword [0x4937c4]
call fcn.0045c730
push 0xa
mov esi, eax
call fcn.0044b4f0
add esp, 4
cmp si, 3
je 0x4490c7
mov al, byte [0x493771]
test al, al
je 0x44908b
test si, si
je 0x449075
cmp si, 2
je 0x449075
cmp si, 1
jne 0x448ee5
xor ax, ax
push 1
mov al, bl
lea ecx, [edi + 0x74]
push eax
call fcn.0044e8c0
jmp 0x4490b4
xor cx, cx
push 1
mov cl, bl
push ecx
lea ecx, [edi + 0x74]
call fcn.0044e8c0
sub al, byte [esp + 0x30]
jmp 0x4490b4
test si, si
je 0x449063
cmp si, 2
je 0x449063
cmp si, 1
jne 0x448ee5
xor dx, dx
push 1
mov dl, bl
lea ecx, [edi + 0x74]
push edx
call fcn.0044e8c0
add al, byte [esp + 0x30]
push eax
push ebx
mov ecx, edi
call fcn.004492b0
test ax, ax
jl 0x4490cb
jmp 0x448ee5
mov ax, 0xffdb
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x4490e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4757c0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x449110
xor edi, edi
jmp 0x44911b
mov edi, dword [esi + 0x84]
sub edi, eax
sar edi, 2
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x38], esp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x4875b8
call fcn.0044e650
push ebp
call fcn.0045ad10
mov ecx, dword [0x4937c4]
add esp, 8
call fcn.0045c130
test di, di
jle 0x449188
movsx eax, di
xor ebp, ebp
mov dword [esp + 0x28], eax
push 0
push ebp
lea ecx, [esi + 0x7c]
call fcn.004130f0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0044e5c0
mov ecx, dword [0x4937c4]
call fcn.0045c330
mov eax, dword [esp + 0x28]
inc ebp
dec eax
mov dword [esp + 0x28], eax
jne 0x449159
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x486a38
call fcn.0044e650
mov ecx, dword [0x4937c4]
call fcn.0045c330
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x486580
call fcn.0044e650
sub esp, 0x10
lea edx, [esi + 0x64]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x38], 0
call fcn.00412e80
push ecx
lea eax, [esi + 0x78]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 1
call fcn.0044e5c0
mov ecx, dword [0x4937c4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045c520
mov ecx, dword [0x4937c4]
call fcn.0045c730
push 0xa
mov ebp, eax
call fcn.0044b4f0
add esp, 4
cmp bp, di
je 0x44928f
mov al, byte [0x493771]
test al, al
je 0x449247
test bp, bp
je 0x44927d
cmp bp, 1
jne 0x449102
xor dx, dx
push 1
mov dl, bl
lea ecx, [esi + 0x74]
push edx
call fcn.0044e8c0
sub al, byte [esp + 0x30]
jmp 0x449260
test bp, bp
jne 0x449273
xor ax, ax
push 1
mov al, bl
lea ecx, [esi + 0x74]
push eax
call fcn.0044e8c0
add al, byte [esp + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.004492b0
test ax, ax
jl 0x449293
jmp 0x449102
cmp bp, 1
jne 0x449102
xor cx, cx
push 1
mov cl, bl
push ecx
lea ecx, [esi + 0x74]
call fcn.0044e8c0
jmp 0x449260
mov ax, 0xffdb
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x458cd0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4765d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x30], 1
call fcn.0044e5c0
lea ecx, [esp + 0x14]
push ecx
call fcn.0045ad10
mov dl, byte [esp + 0x3c]
sub esp, 8
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x18], esp
mov byte [esp + 0x38], 2
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x47814c]
lea edx, [esp + 0x44]
push eax
push ebx
push edx
call fcn.00413260
sub esp, 0x10
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x4c], 3
call fcn.00412e80
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.00458bd0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x458d8a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x458d81
cmp al, 0xff
je 0x458d81
dec al
mov byte [ecx], al
jmp 0x458d8a
push ecx
call fcn.00467320
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
call fcn.0044e6f0
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x458dc7
mov al, byte [ecx - 1]
cmp al, bl
je 0x458dbd
cmp al, 0xff
je 0x458dbd
dec al
mov byte [ecx - 1], al
jmp 0x458dc7
dec ecx
push ecx
call fcn.00467320
add esp, 4
mov ecx, dword [esp + 0x20]
mov ax, si
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x14

Function at 0x4598a0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4766df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.0044e5b0
mov ecx, 0xe
mov esi, 0x4881f0
lea edi, [esp + 0x18]
mov ebp, dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x5c], 1
mov ebx, ebp
jle 0x45991f
mov eax, ecx
xor edx, edx
mov edi, 0x38
div edi
mov al, byte [ebp]
mov dl, byte [esp + edx + 0x18]
xor dl, al
mov al, dl
shr al, 4
shl dl, 4
or al, dl
inc ebp
not al
mov byte [ebp - 1], al
inc ecx
cmp ecx, esi
jl 0x4598f6
push esi
push ebx
lea ecx, [esp + 0x18]
call fcn.0044ea10
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0044e5c0
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.0044e6f0
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc