joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419838
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x431080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x419883
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004199d3
test al, al
jne 0x41987d
sub edx, 2
cmp edx, edi
jne 0x419863
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4198a5
lea eax, [edi + 2]
cmp edx, eax
je 0x4198a5
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00419784
add esp, 0x10
jmp 0x41999f
push esi
lea ecx, [ebp - 0x255]
call fcn.004199d3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4198e8
push dword [ebp - 0x25c]
jmp 0x419895
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x419925
cmp word [ebp - 0x226], 0
je 0x419946
cmp word [ebp - 0x226], ax
jne 0x419925
cmp word [ebp - 0x224], 0
je 0x419946
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00419784
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x419992
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4198ff
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41997a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41999f
push 0x4195b4
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041eda0
add esp, 0x10
jmp 0x41996f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409a0c
leave
ret

Function at 0x41c9e6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004141a5
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 0x41ca55
cmp esi, dword [ebp - 4]
je 0x41ca50
cmp dword [ebp + 0xc], 0
je 0x41ca50
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41ca2d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041c538
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41ca57
xor eax, eax
inc eax
jmp 0x41ca57
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41cabc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x431080]
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.004141a5
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.004141a5
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 0x41cb33
cmp word [ecx], dx
je 0x41cb33
mov eax, dword [0x425a74]
push edi
dec eax
push eax
push 0x425960
call fcn.0041ca5b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41cba6
cmp word [eax], dx
je 0x41cba6
mov eax, dword [edi]
test eax, eax
je 0x41cb57
cmp word [eax], dx
je 0x41cb57
lea eax, [ebp - 0x10]
push eax
call fcn.0041c43e
jmp 0x41cb60
lea eax, [ebp - 0x10]
push eax
call fcn.0041c4d9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41cbd0
mov eax, dword [0x42595c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x425650
call fcn.0041ca5b
add esp, 0xc
test al, al
je 0x41cbd0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41cb9b
cmp word [eax], di
je 0x41cb9b
lea eax, [ebp - 0x10]
push eax
call fcn.0041c43e
pop ecx
jmp 0x41cbd2
lea eax, [ebp - 0x10]
push eax
call fcn.0041c4d9
jmp 0x41cb98
mov eax, dword [edi]
test eax, eax
je 0x41cbbd
cmp word [eax], dx
je 0x41cbbd
lea eax, [ebp - 0x10]
push eax
call fcn.0041c3f3
pop ecx
jmp 0x41cbd0
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 0x41cc9b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041c8e0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41cc9b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41cc9b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41cc9b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41cc28
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00416806
test ebx, ebx
je 0x41cc96
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00416806
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41cc9b
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 0x41cc9b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041f440
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41cc9d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409a0c
leave
ret
Function at 0x41d30a
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 + 0x432a08]
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 0x41d34a
cmp byte [ebx], 0xa
jne 0x41d34a
or byte [edi + eax + 0x28], 4
jmp 0x41d34f
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 0x41d44e
mov dl, byte [eax]
cmp dl, 0x1a
je 0x41d431
inc eax
cmp dl, 0xd
je 0x41d37b
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x41d3a1
cmp eax, ecx
jae 0x41d3af
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 0x41d363
jmp 0x41d44e
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 0x41d42c
cmp dword [ebp - 0x10], 0
je 0x41d42c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x432a08]
test byte [eax + edi + 0x28], 0x48
je 0x41d406
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d3f1
mov byte [esi], dl
jmp 0x41d402
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x432a08]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d44e
cmp byte [ebp - 1], 0xa
jne 0x41d415
cmp esi, ebx
jne 0x41d415
mov byte [esi], 0xa
jmp 0x41d44d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041736f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d44e
mov byte [esi], 0xd
jmp 0x41d44d
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x432a08]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d44b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d44e
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d457
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 + 0x432a08]
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 0x41d49d
cmp word [ebx], dx
jne 0x41d49d
or byte [eax + edi + 0x28], 4
jmp 0x41d4a2
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 0x41d605
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 0x41d5e5
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41d4e3
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d519
cmp eax, edx
jae 0x41d527
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 0x41d4be
jmp 0x41d605
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 0x41d5e0
cmp dword [ebp - 0x18], 0
je 0x41d5e0
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x432a08]
test byte [eax + edi + 0x28], 0x48
je 0x41d5b6
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 0x41d57a
mov word [esi], cx
jmp 0x41d5b1
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x432a08]
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 + 0x432a08]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x432a08]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41d605
pop eax
cmp word [ebp - 4], ax
jne 0x41d5c6
cmp esi, ebx
jne 0x41d5c6
mov word [esi], ax
jmp 0x41d602
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041736f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41d605
push 0xd
pop eax
jmp 0x41d5c1
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x432a08]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41d5ff
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41d605
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 0x41f895
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.0041f811
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41fa04
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41fa04
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x41f9b9
jg 0x41f8f1
test eax, eax
je 0x41f9af
push 1
push 0x1000
call fcn.004161ee
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41f914
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x41f9a6
push 0x8000
push ebx
call fcn.00412326
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x41f93d
jg 0x41f938
cmp ecx, 0x1000
jb 0x41f93d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00414ec0
add esp, 0x10
cmp eax, 0xffffffff
je 0x41f982
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 0x41f938
jl 0x41f969
test ecx, ecx
jne 0x41f92a
push dword [ebp - 0xc]
push ebx
call fcn.00412326
push esi
call fcn.004150dc
add esp, 0xc
xor ebx, ebx
jmp 0x41fa12
cmp byte [edi + 0x24], 0
je 0x41f999
cmp dword [edi + 0x20], 5
jne 0x41f999
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x41f9a4
mov ebx, dword [edi + 0x18]
jmp 0x41f9a6
xor ebx, ebx
push esi
call fcn.004150dc
pop ecx
jmp 0x41fa12
test ecx, ecx
jg 0x41f97b
jl 0x41f9b9
test eax, eax
jae 0x41f97b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041736f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x41f9d9
cmp byte [edi + 0x1c], 0
je 0x41f97b
jmp 0x41fa0a
push ebx
call fcn.0041a9b7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41f97b
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 0x41fa12
cmp byte [edi + 0x1c], 0
je 0x41fa0f
mov ebx, dword [edi + 0x18]
jmp 0x41fa12
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041736f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420cc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420ced
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420ced
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x412290
pop dword [ebp - 4]
mov eax, 0xb3a9f3d
sub eax, 0xaf97cad
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x389c6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x495584d2
sub ecx, 0x49553e90
mov edi, eax
mov edx, 0x425e0d88
add edx, 0xbde56078
add edx, dword [ebp - 4]
mov esi, 0x913e4810
mov ebx, dword [edx]
xor ebx, esi
mov dword [edi], ebx
add edi, 0x605704cd
add edi, 0x9fa8fb37
add edx, 0xf2ea35da
add edx, 0xd15ca2a
loop 0x4122e4
add eax, 0x7fe4b509
add eax, 0x801c56d2
mov ebx, eax
add eax, 0x52eac51d
sub eax, 0x52eac518
mov ecx, 0xb5f97b01
add ecx, 0x4a4684ff
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x4220b2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x42211b
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x42215c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x422141
mov ecx, ebx
call fcn.00421da0
add ebx, 0x28
dec ebp
jne 0x422135
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x422157
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00421cd0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.00422200
mov ebx, eax
cmp ebx, edi
jne 0x4221bf
lea ecx, [ebp + 0x20]
call fcn.00424320
mov ebx, eax
cmp ebx, edi
jne 0x4221bf
lea ecx, [ebp + 0x1c]
call fcn.00424320
mov ebx, eax
cmp ebx, edi
jne 0x4221bf
push ebp
call fcn.00412281
mov ebx, eax
cmp ebx, edi
je 0x4221d4
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.00422220
cmp ebx, edi
jle 0x4221cf
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x4221d4
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x4221e6
cmp dword [esi + 0x40], edi
jne 0x4221e6
cmp dword [esi + 0x3c], edi
jne 0x4221e6
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x51bcd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8c000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0x430c48cc
push eax
push edi
jmp 0x51bcfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51bd01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51bcf0
mov eax, 1
add ebx, ebx
jne 0x51bd13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51bd24
jne 0x51bd43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51bd43
dec eax
add ebx, ebx
jne 0x51bd30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51bd08
add ebx, ebx
jne 0x51bd3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51bd95
xor ecx, ecx
sub eax, 3
jb 0x51bd5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51bdca
sar eax, 1
mov ebp, eax
jmp 0x51bd66
add ebx, ebx
jne 0x51bd66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51bd34
inc ecx
add ebx, ebx
jne 0x51bd74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51bd34
add ebx, ebx
jne 0x51bd81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51bd76
jne 0x51bd92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51bd76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51bdb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51bda6
jmp 0x51bcf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51bdb4
add edi, ecx
jmp 0x51bcf6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51bdd6
cmp byte [edi], 0x11
jne 0x51bdd6
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 0x51bddb
lea edi, [esi + 0x114000]
mov eax, dword [edi]
or eax, eax
je 0x51be53
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x124d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x124f08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51be08
mov ecx, edi
jns 0x51be37
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x124f10]
or eax, eax
je 0x51be4d
mov dword [ebx], eax
add ebx, 4
jmp 0x51be25
call dword [esi + 0x124f0c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51be84
cmp al, 0xef
ja 0x51be77
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51be59
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51be66
mov ebp, dword [esi + 0x124f14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x51beb8
sub esp, 0xffffff80
jmp 0x420577
Function at 0x73a590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24e000]
push edi
or ebp, 0xffffffff
jmp 0x73a5b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x73a5b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73a5a8
mov eax, 1
add ebx, ebx
jne 0x73a5cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x73a5dc
jne 0x73a5fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73a5fb
dec eax
add ebx, ebx
jne 0x73a5e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x73a5c0
add ebx, ebx
jne 0x73a5f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x73a64d
xor ecx, ecx
sub eax, 3
jb 0x73a613
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x73a682
sar eax, 1
mov ebp, eax
jmp 0x73a61e
add ebx, ebx
jne 0x73a61e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73a5ec
inc ecx
add ebx, ebx
jne 0x73a62c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73a5ec
add ebx, ebx
jne 0x73a639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x73a62e
jne 0x73a64a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x73a62e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x73a66c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x73a65e
jmp 0x73a5ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x73a66c
add edi, ecx
jmp 0x73a5ae
pop esi
lea edi, [esi + 0x84000]
mov ecx, 0x3be2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x73a68e
cmp byte [edi], 0x16
jne 0x73a68e
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 0x73a693
lea edi, [esi + 0x337000]
mov eax, dword [edi]
or eax, eax
je 0x73a702
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37c488]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x37c4fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x73a6c0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x37c504]
or eax, eax
je 0x73a6fc
mov dword [ebx], eax
add ebx, 4
jmp 0x73a6dd
call dword [esi + 0x37c500]
mov ebp, dword [esi + 0x37c508]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1b7]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x33a75d]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x73a74e
sub esp, 0xffffff80
jmp 0x526f22