Function at 0x424640
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebp, section.UPX1
lea edx, [ebp - 0x1a000]
push edx
xor edi, edi
lea ecx, [esp - 0x3e80]
mov eax, esp
push edi
cmp esp, ecx
jne 0x424658
inc ebp
push ecx
inc ebp
add ecx, 4
push 0x22394
push edx
push ecx
push 0x962f
add ecx, 4
push ebp
push ecx
push edi
mov dword [ecx], 0x20003
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov edi, dword [esp + 0x90]
lea eax, [edi + 4]
mov dword [esp + 0x74], 0
mov byte [esp + 0x73], 0
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x78], eax
movzx ecx, byte [edi + 2]
mov esi, 1
mov ebp, esi
shl ebp, cl
mov edx, ebp
dec edx
mov dword [esp + 0x6c], edx
movzx ecx, byte [edi + 1]
shl esi, cl
dec esi
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0xa8]
movzx edx, byte [edi]
mov dword [ebx], 0
mov dword [esp + 0x60], 0
mov dword [eax], 0
mov eax, 0x300
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], 1
movzx ecx, byte [edi + 1]
add ecx, edx
shl eax, cl
lea ecx, [eax + 0x736]
cmp dword [esp + 0x74], ecx
jae 0x424732
mov edi, dword [esp + 0x78]
mov word [edi], 0x400
sub edi, 0xfffffffe
loop 0x424728
xor ebx, ebx
mov edi, dword [esp + 0x94]
mov eax, edi
mov dword [esp + 0x48], 0xffffffff
add eax, dword [esp + 0x98]
mov dword [esp + 0x4c], eax
xor edx, edx
cmp edi, dword [esp + 0x4c]
je 0x4250d8
movzx ecx, byte [edi]
shl ebx, 8
inc edx
inc edi
or ebx, ecx
cmp edx, 4
jle 0x424752
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x74], eax
jae 0x4250e0
mov esi, dword [esp + 0x74]
and esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x44], esi
shl ecx, 4
add ecx, esi
lea ebp, [edx + ecx*2]
cmp dword [esp + 0x48], 0xffffff
ja 0x4247ba
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl dword [esp + 0x48], 8
shl ebx, 8
movzx eax, byte [edi]
inc edi
or ebx, eax
mov dx, word [ebp]
mov eax, dword [esp + 0x48]
shr eax, 0xb
movzx ecx, dx
imul eax, ecx
cmp ebx, eax
jae 0x4249b0
mov esi, 1
mov dword [esp + 0x48], eax
mov eax, 0x800
sub eax, ecx
mov cl, byte [esp + 0x64]
sar eax, 5
lea eax, [edx + eax]
movzx edx, byte [esp + 0x73]
mov word [ebp], ax
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
and eax, dword [esp + 0x68]
shl eax, cl
mov ecx, 8
sub ecx, dword [esp + 0x64]
sar edx, cl
add eax, edx
imul eax, eax, 0x600
lea eax, [ebp + eax + 0xe6c]
cmp dword [esp + 0x60], 6
mov dword [esp + 0x14], eax
jle 0x4248f7
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0x5c]
movzx ecx, byte [eax + ecx]
mov dword [esp + 0x40], ecx
lea edx, [esi + esi]
shl dword [esp + 0x40], 1
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x14]
and ecx, 0x100
lea esi, [ebp + ecx*2]
lea ebp, [esi + edx]
cmp dword [esp + 0x48], 0xffffff
mov dword [esp + 0x3c], ecx
ja 0x424886
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl dword [esp + 0x48], 8
shl ebx, 8
movzx esi, byte [edi]
inc edi
or ebx, esi
mov cx, word [ebp + 0x200]
movzx esi, cx
mov eax, dword [esp + 0x48]
shr eax, 0xb
imul eax, esi
cmp ebx, eax
jae 0x4248c1
mov dword [esp + 0x48], eax
mov eax, 0x800
sub eax, esi
sar eax, 5
cmp dword [esp + 0x3c], 0
lea eax, [ecx + eax]
mov word [ebp + 0x200], ax
mov esi, edx
je 0x4248e1
jmp 0x4248ef
sub dword [esp + 0x48], eax
lea esi, [edx + 1]
sub ebx, eax
mov eax, ecx
shr ax, 5
sub cx, ax
cmp dword [esp + 0x3c], 0
mov word [ebp + 0x200], cx
je 0x4248ef
cmp esi, 0xff
jle 0x424844
jmp 0x424968
cmp esi, 0xff
jg 0x424968
mov ebp, dword [esp + 0x14]
lea edx, [esi + esi]
add ebp, edx
cmp dword [esp + 0x48], 0xffffff
ja 0x424922
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl dword [esp + 0x48], 8
movzx eax, byte [edi]
shl ebx, 8
inc edi
or ebx, eax
mov cx, word [ebp]
movzx esi, cx
mov eax, dword [esp + 0x48]
shr eax, 0xb
imul eax, esi
cmp ebx, eax
jae 0x424950
mov dword [esp + 0x48], eax
mov eax, 0x800
sub eax, esi
sar eax, 5
lea eax, [ecx + eax]
mov esi, edx
mov word [ebp], ax
jmp 0x4248ef
lea esi, [edx + 1]
sub dword [esp + 0x48], eax
sub ebx, eax
mov eax, ecx
shr ax, 5
sub cx, ax
mov word [ebp], cx
jmp 0x4248ef
mov eax, dword [esp + 0xa0]
mov ecx, esi
mov edx, dword [esp + 0x74]
mov byte [esp + 0x73], cl
mov byte [edx + eax], cl
inc edx
cmp dword [esp + 0x60], 3
mov dword [esp + 0x74], edx
jg 0x424995
mov dword [esp + 0x60], 0
jmp 0x4250b0
cmp dword [esp + 0x60], 9
jg 0x4249a6
sub dword [esp + 0x60], 3
jmp 0x4250b0
add dword [esp + 0x60], 0xfffffffa
jmp 0x4250b0
mov ecx, dword [esp + 0x48]
sub ebx, eax
sub ecx, eax
mov esi, dword [esp + 0x60]
mov eax, edx
shr ax, 5
sub dx, ax
cmp ecx, 0xffffff
mov word [ebp], dx
mov ebp, dword [esp + 0x78]
lea esi, [ebp + esi*2]
mov dword [esp + 0x38], esi
ja 0x4249f3
cmp edi, dword [esp + 0x4c]
je 0x4250d8
movzx esi, byte [edi]
shl ebx, 8
shl ecx, 8
inc edi
or ebx, esi
mov ebp, dword [esp + 0x38]
mov eax, ecx
mov dx, word [ebp + 0x180]
shr eax, 0xb
movzx esi, dx
imul eax, esi
cmp ebx, eax
jae 0x424a5f
mov ecx, dword [esp + 0x54]
mov ebp, eax
mov eax, 0x800
sub eax, esi
mov esi, dword [esp + 0x58]
sar eax, 5
lea eax, [edx + eax]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x78]
mov word [edx + 0x180], ax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
xor eax, eax
cmp dword [esp + 0x60], 6
setg al
lea eax, [eax + eax*2]
sub ecx, 0xfffff99c
mov dword [esp + 0x60], eax
jmp 0x424cd3
sub ebx, eax
mov esi, ecx
sub esi, eax
mov eax, edx
mov ecx, dword [esp + 0x38]
shr ax, 5
sub dx, ax
mov word [ecx + 0x180], dx
cmp esi, 0xffffff
ja 0x424a97
cmp edi, dword [esp + 0x4c]
je 0x4250d8
movzx edx, byte [edi]
shl ebx, 8
shl esi, 8
inc edi
or ebx, edx
mov edx, esi
shr edx, 0xb
mov ebp, dword [esp + 0x38]
mov cx, word [ebp + 0x198]
movzx eax, cx
imul edx, eax
cmp ebx, edx
jae 0x424b98
mov ebp, edx
mov dword [esp + 0x34], 0x800
mov esi, 0x800
sub esi, eax
mov eax, esi
sar eax, 5
lea eax, [ecx + eax]
mov ecx, dword [esp + 0x38]
mov word [ecx + 0x198], ax
mov eax, dword [esp + 0x60]
shl eax, 5
add eax, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
lea ecx, [eax + esi*2]
cmp edx, 0xffffff
ja 0x424b09
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl ebx, 8
movzx eax, byte [edi]
shl ebp, 8
inc edi
or ebx, eax
mov eax, ebp
mov dx, word [ecx + 0x1e0]
movzx esi, dx
shr eax, 0xb
imul eax, esi
cmp ebx, eax
jae 0x424b7f
sub dword [esp + 0x34], esi
sar dword [esp + 0x34], 5
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x74], 0
lea eax, [edx + ebp]
mov word [ecx + 0x1e0], ax
je 0x4250d8
xor ecx, ecx
cmp dword [esp + 0x60], 6
mov esi, dword [esp + 0xa0]
setg cl
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx + 9]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0x5c]
mov cl, byte [esi + ecx]
mov byte [esp + 0x73], cl
mov byte [edx + esi], cl
inc edx
mov dword [esp + 0x74], edx
jmp 0x4250b0
sub ebp, eax
sub ebx, eax
mov eax, edx
shr ax, 5
sub dx, ax
mov word [ecx + 0x1e0], dx
jmp 0x424cb7
sub esi, edx
mov eax, ecx
shr ax, 5
sub cx, ax
mov eax, dword [esp + 0x38]
mov word [eax + 0x198], cx
sub ebx, edx
cmp esi, 0xffffff
ja 0x424bce
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl ebx, 8
movzx ecx, byte [edi]
shl esi, 8
inc edi
or ebx, ecx
mov eax, dword [esp + 0x38]
mov dx, word [eax + 0x1b0]
mov ecx, esi
movzx eax, dx
shr ecx, 0xb
imul ecx, eax
cmp ebx, ecx
jae 0x424c0b
mov ebp, ecx
mov esi, dword [esp + 0x38]
mov ecx, 0x800
sub ecx, eax
sar ecx, 5
lea ecx, [edx + ecx]
mov word [esi + 0x1b0], cx
mov esi, dword [esp + 0x58]
jmp 0x424cab
mov eax, esi
sub ebx, ecx
sub eax, ecx
mov ecx, edx
shr cx, 5
sub dx, cx
cmp eax, 0xffffff
mov esi, dword [esp + 0x38]
mov word [esi + 0x1b0], dx
ja 0x424c43
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl ebx, 8
movzx esi, byte [edi]
shl eax, 8
inc edi
or ebx, esi
mov ecx, eax
shr ecx, 0xb
mov esi, dword [esp + 0x38]
mov dx, word [esi + 0x1c8]
movzx esi, dx
imul ecx, esi
cmp ebx, ecx
jae 0x424c7d
mov ebp, ecx
mov eax, 0x800
sub eax, esi
sar eax, 5
mov ecx, dword [esp + 0x38]
lea eax, [edx + eax]
mov word [ecx + 0x1c8], ax
mov esi, dword [esp + 0x54]
jmp 0x424ca3
mov ebp, eax
sub ebx, ecx
sub ebp, ecx
mov eax, edx
shr ax, 5
sub dx, ax
mov ecx, dword [esp + 0x38]
mov word [ecx + 0x1c8], dx
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
xor eax, eax
cmp dword [esp + 0x60], 6
setg al
lea eax, [eax + eax*2 + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x60], eax
add ecx, 0xa68
cmp ebp, 0xffffff
ja 0x424cf1
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl ebx, 8
shl ebp, 8
movzx esi, byte [edi]
inc edi
or ebx, esi
mov eax, ebp
shr eax, 0xb
mov dx, word [ecx]
movzx esi, dx
imul eax, esi
cmp ebx, eax
jae 0x424d32
mov dword [esp + 0x48], eax
mov eax, 0x800
sub eax, esi
shl dword [esp + 0x44], 4
sar eax, 5
mov dword [esp + 0x2c], 0
lea eax, [edx + eax]
mov word [ecx], ax
mov edx, dword [esp + 0x44]
lea ecx, [ecx + edx + 4]
mov dword [esp + 0x10], ecx
jmp 0x424da4
sub ebp, eax
sub ebx, eax
mov eax, edx
shr ax, 5
sub dx, ax
cmp ebp, 0xffffff
mov word [ecx], dx
ja 0x424d60
cmp edi, dword [esp + 0x4c]
je 0x4250d8
movzx eax, byte [edi]
shl ebx, 8
shl ebp, 8
inc edi
or ebx, eax
mov eax, ebp
mov dx, word [ecx + 2]
movzx esi, dx
shr eax, 0xb
imul eax, esi
cmp ebx, eax
jae 0x424dae
mov dword [esp + 0x48], eax
mov eax, 0x800
sub eax, esi
shl dword [esp + 0x44], 4
sar eax, 5
mov dword [esp + 0x2c], 8
lea eax, [edx + eax]
mov esi, dword [esp + 0x44]
mov word [ecx + 2], ax
lea ecx, [ecx + esi + 0x104]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], 3
jmp 0x424ddd
sub ebp, eax
sub ebx, eax
mov dword [esp + 0x48], ebp
mov eax, edx
shr ax, 5
sub dx, ax
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], 8
mov word [ecx + 2], dx
sub ecx, 0xfffffdfc
mov dword [esp + 0x10], ecx
mov edx, 1
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x10]
lea ebp, [edx + edx]
add esi, ebp
cmp dword [esp + 0x48], 0xffffff
ja 0x424e15
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl dword [esp + 0x48], 8
movzx eax, byte [edi]
shl ebx, 8
inc edi
or ebx, eax
mov eax, dword [esp + 0x48]
mov dx, word [esi]
shr eax, 0xb
movzx ecx, dx
imul eax, ecx
cmp ebx, eax
jae 0x424e41
mov dword [esp + 0x48], eax
mov eax, 0x800
sub eax, ecx
sar eax, 5
lea eax, [edx + eax]
mov edx, ebp
mov word [esi], ax
jmp 0x424e56
sub dword [esp + 0x48], eax
sub ebx, eax
mov eax, edx
shr ax, 5
sub dx, ax
mov word [esi], dx
lea edx, [ebp + 1]
mov esi, dword [esp + 0x28]
dec esi
mov dword [esp + 0x28], esi
jne 0x424dea
mov cl, byte [esp + 0x30]
mov esi, 1
shl esi, cl
sub edx, esi
add edx, dword [esp + 0x2c]
cmp dword [esp + 0x60], 3
mov dword [esp + 0xc], edx
jg 0x425068
add dword [esp + 0x60], 7
mov esi, edx
cmp edx, 3
jle 0x424e92
mov esi, 3
shl esi, 7
mov ecx, dword [esp + 0x78]
lea esi, [ecx + esi + 0x360]
mov dword [esp + 0x24], 6
mov dword [esp + 8], esi
mov ecx, 1
lea ebp, [ecx + ecx]
mov eax, dword [esp + 8]
add eax, ebp
cmp dword [esp + 0x48], 0xffffff
ja 0x424edc
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl dword [esp + 0x48], 8
movzx ecx, byte [edi]
shl ebx, 8
inc edi
or ebx, ecx
mov ecx, dword [esp + 0x48]
mov dx, word [eax]
shr ecx, 0xb
movzx esi, dx
imul ecx, esi
cmp ebx, ecx
jae 0x424f08
mov dword [esp + 0x48], ecx
mov ecx, 0x800
sub ecx, esi
sar ecx, 5
lea ecx, [edx + ecx]
mov word [eax], cx
mov ecx, ebp
jmp 0x424f1d
sub dword [esp + 0x48], ecx
sub ebx, ecx
mov ecx, edx
shr cx, 5
sub dx, cx
mov word [eax], dx
lea ecx, [ebp + 1]
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x424eb1
lea edx, [ecx - 0x40]
mov dword [esp], edx
cmp edx, 3
jle 0x42505e
mov eax, edx
mov esi, edx
sar eax, 1
lea ecx, [eax - 1]
mov dword [esp + 0x20], ecx
and esi, 1
or esi, 2
cmp edx, 0xd
jg 0x424f6b
shl esi, cl
mov ebp, dword [esp + 0x78]
add edx, edx
lea eax, [ebp + esi*2]
mov dword [esp], esi
sub eax, edx
sub eax, 0xfffffaa2
mov dword [esp + 4], eax
jmp 0x424fc1
lea edx, [eax - 5]
cmp dword [esp + 0x48], 0xffffff
ja 0x424f90
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl dword [esp + 0x48], 8
shl ebx, 8
movzx ecx, byte [edi]
inc edi
or ebx, ecx
shr dword [esp + 0x48], 1
add esi, esi
cmp ebx, dword [esp + 0x48]
jb 0x424fa3
sub ebx, dword [esp + 0x48]
or esi, 1
dec edx
jne 0x424f6e
shl esi, 4
mov eax, dword [esp + 0x78]
add eax, 0x644
mov dword [esp], esi
mov dword [esp + 0x20], 4
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 1
mov ecx, 1
mov ebp, dword [esp + 4]
add ecx, ecx
add ebp, ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x48], 0xffffff
ja 0x424ffc
cmp edi, dword [esp + 0x4c]
je 0x4250d8
shl dword [esp + 0x48], 8
movzx ecx, byte [edi]
shl ebx, 8
inc edi
or ebx, ecx
mov eax, dword [esp + 0x48]
mov dx, word [ebp]
movzx esi, dx
shr eax, 0xb
imul eax, esi
cmp ebx, eax
jae 0x42502c
mov dword [esp + 0x48], eax
mov eax, 0x800
sub eax, esi
sar eax, 5
lea eax, [edx + eax]
mov word [ebp], ax
mov ecx, dword [esp + 0x18]
jmp 0x42504b
sub dword [esp + 0x48], eax
sub ebx, eax
mov ecx, edx
shr cx, 5
sub dx, cx
mov ecx, dword [esp + 0x18]
inc ecx
mov word [ebp], dx
mov edx, dword [esp + 0x1c]
or dword [esp], edx
mov eax, dword [esp + 0x20]
shl dword [esp + 0x1c], 1
dec eax
mov dword [esp + 0x20], eax
jne 0x424fce
mov eax, dword [esp]
inc eax
mov dword [esp + 0x5c], eax
je 0x4250c1
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x74]
add ebp, 2
cmp dword [esp + 0x5c], esi
ja 0x4250d8
mov edx, esi
mov ecx, dword [esp + 0xa0]
sub ecx, dword [esp + 0x5c]
add edx, dword [esp + 0xa0]
lea eax, [ecx + esi]
mov cl, byte [eax]
mov byte [esp + 0x73], cl
mov byte [edx], cl
inc eax
inc edx
inc dword [esp + 0x74]
dec ebp
je 0x4250b0
mov esi, dword [esp + 0xa4]
cmp dword [esp + 0x74], esi
jb 0x425090
jmp 0x4250c1
mov ecx, dword [esp + 0xa4]
cmp dword [esp + 0x74], ecx
jb 0x42477c
cmp dword [esp + 0x48], 0xffffff
ja 0x4250e0
mov ecx, 1
cmp edi, dword [esp + 0x4c]
je 0x4250ff
jmp 0x4250df
mov ebx, 1
jmp 0x4250ff
inc edi
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x74]
sub edi, dword [esp + 0x94]
mov dword [edx], edi
mov eax, dword [esp + 0xa8]
xor esi, esi
mov dword [eax], ebp
add esp, 0x7c
pop ebx
pop eax
add eax, dword [ebx - 4]
pop esi
add esi, dword [ebx - 8]
pop ebp
xor eax, eax
lea edi, [esp - 0x100]
mov esp, ebp
push eax
cmp esp, edi
jne 0x425117
mov esp, ebp
xor edi, edi
mov ecx, 0xc8
pop esi
mov edi, esi
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425128
cmp byte [edi], 4
jne 0x425128
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
mov bl, byte [edi + 4]
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42512d
lea edi, [esi + 0x22000]
mov eax, dword [edi]
test eax, eax
je 0x42519c
lea eax, [eax + esi + 0x25000]
mov ebx, dword [edi + 4]
add ebx, esi
sub edi, 0xfffffff8
push eax
call dword [esi + 0x25064]
xchg ebp, eax
mov al, byte [edi]
inc edi
test al, al
je 0x42515a
push edi
dec eax
push ebp
mov ecx, edi
repne scasb al, byte es:[edi]
call dword [esi + 0x25068]
test eax, eax
je 0x425196
mov dword [ebx], eax
add ebx, 4
jmp 0x425177
call dword [esi + 0x25078]
mov ebx, 0x1000
mov ebp, dword [esi + 0x2506c]
push eax
lea edi, [esi - 0x1000]
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop ebx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4251d0
sub esp, 0xffffff80
jmp section.UPX0