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

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