joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41abce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a160
mov eax, dword [0x431180]
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.00417edb
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ac10
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ad6c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004249b0
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 + 0x432a80]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0041bbcb
mov ecx, dword [esi*4 + 0x432a80]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x41ad65
cmp eax, dword [ecx + edi + 0x24]
jne 0x41ad65
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ad65
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041bbcb
add esp, 0x14
test edx, edx
jl 0x41ad65
jg 0x41acdb
test eax, eax
jb 0x41ad65
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ad65
jl 0x41acf5
cmp dword [ebp - 0x1008], eax
ja 0x41ad65
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41ad13
test ebx, ebx
je 0x41ad4c
cmp ecx, edi
jae 0x41ad4c
mov al, byte [ecx]
cmp al, 0xd
jne 0x41ad2d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41ad39
cmp byte [ecx + 1], 0xa
jne 0x41ad39
inc ecx
jmp 0x41ad39
movzx eax, al
movsx eax, byte [eax + 0x431448]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41ad13
cmp edx, ebx
jne 0x41ad13
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ad6a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040937a
leave
ret
Function at 0x41b063
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x432a80]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b0a3
cmp byte [ebx], 0xa
jne 0x41b0a3
or byte [edi + eax + 0x28], 4
jmp 0x41b0a8
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x41b1a7
mov dl, byte [eax]
cmp dl, 0x1a
je 0x41b18a
inc eax
cmp dl, 0xd
je 0x41b0d4
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x41b0fa
cmp eax, ecx
jae 0x41b108
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x41b0bc
jmp 0x41b1a7
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b185
cmp dword [ebp - 0x10], 0
je 0x41b185
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x432a80]
test byte [eax + edi + 0x28], 0x48
je 0x41b15f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41b14a
mov byte [esi], dl
jmp 0x41b15b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x432a80]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41b1a7
cmp byte [ebp - 1], 0xa
jne 0x41b16e
cmp esi, ebx
jne 0x41b16e
mov byte [esi], 0xa
jmp 0x41b1a6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041bbe9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41b1a7
mov byte [esi], 0xd
jmp 0x41b1a6
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x432a80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b1a4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b1a7
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b1b0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x432a80]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b1f6
cmp word [ebx], dx
jne 0x41b1f6
or byte [eax + edi + 0x28], 4
jmp 0x41b1fb
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41b35e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41b33e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41b23c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b272
cmp eax, edx
jae 0x41b280
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41b217
jmp 0x41b35e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b339
cmp dword [ebp - 0x18], 0
je 0x41b339
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x432a80]
test byte [eax + edi + 0x28], 0x48
je 0x41b30f
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x41b2d3
mov word [esi], cx
jmp 0x41b30a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x432a80]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x432a80]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x432a80]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41b35e
pop eax
cmp word [ebp - 4], ax
jne 0x41b31f
cmp esi, ebx
jne 0x41b31f
mov word [esi], ax
jmp 0x41b35b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041bbe9
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41b35e
push 0xd
pop eax
jmp 0x41b31a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x432a80]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41b358
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41b35e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d522
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41d5bf
push ebx
push esi
call fcn.0041d4eb
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041c1dd
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41d56c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d5be
push edi
push eax
call fcn.00416fdb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41d58c
call fcn.00416028
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d5bd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041c1dd
add esp, 0x20
test eax, eax
jne 0x41d5ab
push edi
call fcn.00416028
jmp 0x41d5b3
push ebx
call fcn.00416028
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41fbec
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00415ce0
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41fc5b
cmp esi, dword [ebp - 4]
je 0x41fc56
cmp dword [ebp + 0xc], 0
je 0x41fc56
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41fc33
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041f73e
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41fc5d
xor eax, eax
inc eax
jmp 0x41fc5d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41fcc2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x431180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00415ce0
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00415ce0
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41fd39
cmp word [ecx], dx
je 0x41fd39
mov eax, dword [0x42a6e4]
push edi
dec eax
push eax
push 0x42a5d0
call fcn.0041fc61
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41fdac
cmp word [eax], dx
je 0x41fdac
mov eax, dword [edi]
test eax, eax
je 0x41fd5d
cmp word [eax], dx
je 0x41fd5d
lea eax, [ebp - 0x10]
push eax
call fcn.0041f644
jmp 0x41fd66
lea eax, [ebp - 0x10]
push eax
call fcn.0041f6df
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41fdd6
mov eax, dword [0x42a5cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42a2c0
call fcn.0041fc61
add esp, 0xc
test al, al
je 0x41fdd6
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41fda1
cmp word [eax], di
je 0x41fda1
lea eax, [ebp - 0x10]
push eax
call fcn.0041f644
pop ecx
jmp 0x41fdd8
lea eax, [ebp - 0x10]
push eax
call fcn.0041f6df
jmp 0x41fd9e
mov eax, dword [edi]
test eax, eax
je 0x41fdc3
cmp word [eax], dx
je 0x41fdc3
lea eax, [ebp - 0x10]
push eax
call fcn.0041f5f9
pop ecx
jmp 0x41fdd6
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41fea1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041fae6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41fea1
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41fea1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41fea1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41fe2e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00418867
test ebx, ebx
je 0x41fe9c
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00418867
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41fea1
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41fea1
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00422bb7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41fea3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040937a
leave
ret
Function at 0x4248b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4248dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4248dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
mov ecx, 5
mov esi, str.Sample_Window_Class
lea edi, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 0x401131
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x2c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x40109b
push 0x30
push str.Error
push str.Window_Registration_Failed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x401129
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Color_Changing_Pixels
lea ecx, [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4010dc
xor eax, eax
jmp 0x401129
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.004012dd
add esp, 4
push eax
call fcn.004012b5
add esp, 4
push 0
push 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401127
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4010fd
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4020c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406138
cmp edx, dword [eax]
je 0x4020e3
add eax, 8
inc ecx
cmp eax, 0x4061c8
jl 0x4020d4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406138]
jne 0x402211
mov eax, dword [0x406688]
cmp eax, 1
je 0x4021eb
test eax, eax
jne 0x402114
cmp dword [0x406088], 1
je 0x4021eb
cmp edx, 0xfc
je 0x402211
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40214b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402bd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402d40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40218e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402d40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053d8
push edi
call fcn.00403cc0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402bd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402be0
lea eax, [ebp - 0xa0]
push 0x4053b8
push eax
call fcn.00402be0
push dword [esi + 0x40613c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402be0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403c34
add esp, 0x2c
pop edi
jmp 0x402211
lea eax, [ebp + 8]
lea esi, [esi + 0x40613c]
push 0
push eax
push dword [esi]
call fcn.00402d40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x2de3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02de378f
jae 0x2de370e
xor ecx, ecx
call fcn.02de378f
jae 0x2de373d
xor eax, eax
call fcn.02de378f
jae 0x2de374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02de378f
adc al, al
jae 0x2de372f
jne 0x2de3779
stosb byte es:[edi], al
jmp 0x2de3711
call fcn.02de379b
sub ecx, ebx
jne 0x2de3756
call fcn.02de3799
jmp 0x2de3775
lodsb al, byte [esi]
shr eax, 1
je 0x2de3783
adc ecx, ecx
jmp 0x2de3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02de3799
cmp eax, 0x7d00
jae 0x2de3772
cmp ah, 5
jae 0x2de3773
cmp eax, 0x7f
ja 0x2de3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2de3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x2e03700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02e0378f
jae 0x2e0370e
xor ecx, ecx
call fcn.02e0378f
jae 0x2e0373d
xor eax, eax
call fcn.02e0378f
jae 0x2e0374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02e0378f
adc al, al
jae 0x2e0372f
jne 0x2e03779
stosb byte es:[edi], al
jmp 0x2e03711
call fcn.02e0379b
sub ecx, ebx
jne 0x2e03756
call fcn.02e03799
jmp 0x2e03775
lodsb al, byte [esi]
shr eax, 1
je 0x2e03783
adc ecx, ecx
jmp 0x2e03772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02e03799
cmp eax, 0x7d00
jae 0x2e03772
cmp ah, 5
jae 0x2e03773
cmp eax, 0x7f
ja 0x2e03774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2e03711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x2c63700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02c6378f
jae 0x2c6370e
xor ecx, ecx
call fcn.02c6378f
jae 0x2c6373d
xor eax, eax
call fcn.02c6378f
jae 0x2c6374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02c6378f
adc al, al
jae 0x2c6372f
jne 0x2c63779
stosb byte es:[edi], al
jmp 0x2c63711
call fcn.02c6379b
sub ecx, ebx
jne 0x2c63756
call fcn.02c63799
jmp 0x2c63775
lodsb al, byte [esi]
shr eax, 1
je 0x2c63783
adc ecx, ecx
jmp 0x2c63772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02c63799
cmp eax, 0x7d00
jae 0x2c63772
cmp ah, 5
jae 0x2c63773
cmp eax, 0x7f
ja 0x2c63774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2c63711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x42845f
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x428480
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x428477
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x42846f
mov eax, ebx
leave
ret

Function at 0x4284a6
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x428505
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x428532
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x428521
xor ecx, eax
xor edx, ebx
dec edi
jne 0x428512
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x428558
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4284f9
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x428bd7
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x428be7
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x428cf5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00428d05
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x428cf5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00428d05
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x428cf5
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00428d05
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x428cf5
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x428cf2
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00428d18
test eax, eax
je 0x428ce1
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.00428d4c
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x428c9c
add esp, 0xc
mov eax, 0
jmp 0x428cff
mov esp, ebp
pop ebp
ret 8