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

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