Function at 0x422cd0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
cmp byte [eax + 0x560c], 0
push esi
push edi
jne 0x423488
cmp dword [eax + 0x5604], 0
jg 0x423488
cmp dword [eax + 0x5600], 0
jge 0x423488
mov esi, dword [eax + 0x144]
call fcn.00489c70
add dword [ebx + 0x5c], 0xffffffff
cmp dword [ebx + 0x5c], 0
jo 0x422e31
mov eax, dword [ebx]
fld1
cmp dword [eax + 0x768], 0
fstp dword [esp + 0xc]
mov dword [esp + 0x10], eax
je 0x422d6f
mov ecx, dword [eax + 0x7f8]
cmp ecx, 0x23
je 0x422d55
test ecx, ecx
jne 0x422d5d
mov ecx, dword [eax + 0x82c]
cmp dword [ecx + 0x24], 0x32
jne 0x422d5d
fld dword [0x6798b0]
jmp 0x422d9a
cmp dword [eax + 0x768], 0
je 0x422d6f
cmp dword [eax + 0x7f8], 0x2e
je 0x422d94
mov eax, dword [eax + 0x7f8]
cmp eax, 0x1a
je 0x422d94
cmp eax, 0x15
jne 0x422d87
fld dword [0x6793e0]
jmp 0x422d9a
cmp eax, 0x1b
jne 0x422d9e
fld dword [0x6798ac]
jmp 0x422d9a
fld dword [0x6798a8]
fstp dword [esp + 0xc]
mov esi, dword [ebx + 4]
mov edi, dword [esi + 0x144]
mov ecx, dword [edi + 0x24]
xor eax, eax
test ecx, ecx
jle 0x422dc2
lea edx, [edi + 0x5c]
cmp dword [edx], 0xffffffff
je 0x422dc4
add eax, 1
add edx, 0x50
cmp eax, ecx
jl 0x422db3
mov eax, ecx
cmp eax, 8
jle 0x422dd5
fld dword [esp + 0xc]
fmul qword [0x679628]
jmp 0x422e0b
mov ecx, edi
call fcn.00489b20
cmp eax, 6
jle 0x422ded
fld dword [esp + 0xc]
fmul qword [0x6795e0]
jmp 0x422e0b
mov ecx, edi
call fcn.00489b20
fld dword [esp + 0xc]
cmp eax, 4
jle 0x422e05
fmul qword [0x6798a0]
jmp 0x422e0b
fmul qword [0x6793d8]
call fcn.006397d0
xor edi, edi
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x5550]
mov edx, 0xa
cmp eax, edx
mov dword [esp + 0xc], edi
lea ebx, [edi + 5]
lea ecx, [edi + 0x10]
lea esi, [edi + 0x14]
jne 0x422e87
jmp 0x79f61a
cmp eax, esi
jne 0x422ee0
mov eax, 0xf
mov dword [esp + 0x18], 0xb
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xe
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0xd
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], edx
lea edi, [eax - 8]
jmp 0x4232a7
cmp eax, 0x1e
jne 0x422f4a
mov eax, 0x19
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x11
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x13
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x15
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x16
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0x17
mov dword [esp + 0x54], edx
lea edi, [eax - 0x11]
jmp 0x4232ab
cmp eax, 0x28
jne 0x422fbc
mov eax, 0x19
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x18
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x1f
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x1b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x1a
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x40], 0x1d
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x1c
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x1e
mov dword [esp + 0x54], edx
lea edi, [eax - 0x11]
jmp 0x4232ab
mov ecx, dword [esp + 0x10]
call fcn.004539d0
test al, al
je 0x423023
mov dword [esp + 0x18], 0x21
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x27
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], 0xa
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0xe
jmp 0x795abc
mov eax, ecx
call fcn.00453820
test al, al
je 0x423044
jmp 0x799a31
mov eax, dword [ecx + 0x7f8]
cmp eax, 0x21
mov dword [esp + 0x14], eax
jne 0x423082
mov edi, 3
mov eax, 0xf
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x55
mov dword [esp + 0x20], 0x31
mov dword [esp + 0x28], 0x32
mov dword [esp + 0x2c], eax
jmp 0x4232a7
call fcn.00453840
test al, al
je 0x4230b5
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x55
mov dword [esp + 0x20], 0x31
mov dword [esp + 0x24], 0xf
mov edi, 2
jmp 0x4232ab
call fcn.004538c0
test al, al
je 0x4230ff
mov eax, 0x19
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x2f
lea edi, [eax - 0x15]
jmp 0x4232ab
call fcn.00453920
test al, al
je 0x423153
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x20], 0x1a
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], 0x19
mov edi, ebx
jmp 0x4232ab
call fcn.00453950
test al, al
je 0x4231a2
mov dword [esp + 0x18], 0x21
mov dword [esp + 0x1c], 0x32
mov dword [esp + 0x20], 6
mov dword [esp + 0x24], 0x19
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], edx
mov edi, 4
jmp 0x4232ab
mov eax, dword [esp + 0x14]
cmp eax, 0x1a
jne 0x4231fc
mov dword [esp + 0x30], eax
mov eax, 0xf
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x20], 0x12
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x16
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], eax
lea edi, [eax - 9]
jmp 0x4232ab
cmp eax, 0x1b
jne 0x423250
mov edi, 6
mov dword [esp + 0x18], 0x21
mov dword [esp + 0x1c], 0x9b
mov dword [esp + 0x20], 0x27
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x12
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x44], edx
jmp 0x4232ab
cmp eax, 0x15
jne 0x4232af
mov eax, 0xf
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x19
mov dword [esp + 0x20], 3
mov dword [esp + 0x28], 0x22
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x11
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x3c], 0x1e
mov dword [esp + 0x40], 0xe
mov dword [esp + 0x44], edx
mov edi, 6
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], edi
test edi, edi
jle 0x423464
lea esi, [esp + 0x18]
mov dword [esp + 0x14], edi
nop
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov eax, dword [edx + 0x144]
mov ecx, dword [eax + 0x24]
mov ebx, dword [esi]
xor edi, edi
test ecx, ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x10], edi
jle 0x4232f8
add eax, 0x5c
cmp dword [eax], ebx
jne 0x4232ec
add edi, 1
add eax, 0x50
sub ecx, 1
jne 0x4232e5
mov dword [esp + 0x10], edi
cmp ebx, 0xb
jne 0x423323
call fcn.00412850
mov edi, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
call fcn.0040d3f0
add eax, dword [esp + 0x10]
cmp edi, eax
jg 0x423375
mov dword [esi + 4], 0
jmp 0x423456
cmp ebx, 0x10
jne 0x42333c
call fcn.0040d3f0
mov ecx, dword [esi + 4]
push 1
push 1
push ecx
add eax, edi
lea ecx, [ebx + 2]
jmp 0x423368
cmp ebx, 0x21
jne 0x423375
call fcn.0040d3f0
mov edx, dword [ebp + 8]
mov edx, dword [edx]
cmp dword [edx + 0x7f8], 0x1b
lea ecx, [ebx + 2]
jne 0x42335a
lea ecx, [ebx + 0xc]
mov edx, dword [esi + 4]
push 1
push 1
push edx
mov edx, dword [esp + 0x1c]
add eax, edx
xor edx, edx
call fcn.00511c40
mov dword [esi + 4], eax
add esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax + 0x768], 0
je 0x423416
mov ecx, dword [eax + 0x7f8]
cmp ecx, 0x23
je 0x4233a6
test ecx, ecx
jne 0x423416
mov eax, dword [eax + 0x82c]
cmp dword [eax + 0x24], 0x32
jne 0x423416
mov ebx, dword [esp + 0xbc]
cmp ebx, 0x27
je 0x4233bc
cmp ebx, 0x22
je 0x4233bc
cmp ebx, 0x20
jne 0x4233fc
mov edx, dword [edi + 4]
push 0x21
call fcn.0040d430
cmp eax, 2
jg 0x4233e3
mov ecx, dword [esi + 4]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esi + 4], ecx
jmp 0x4233fc
cmp eax, 5
jg 0x4233fc
mov ecx, dword [esi + 4]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 4], eax
cmp ebx, 0x21
jne 0x423416
mov edx, dword [edi + 4]
call fcn.0041d390
cmp dword [eax + 0x28], 0x55
jne 0x423416
mov dword [esi + 4], 0x1f4
cmp dword [esp + 0xc], 2
jle 0x423456
mov eax, dword [esp + 0x10]
cmp eax, 4
jl 0x42342f
mov dword [esi + 4], 1
jmp 0x423456
cmp eax, 3
jl 0x42343d
mov dword [esi + 4], 5
jmp 0x423456
mov ecx, dword [esp + 0xbc]
mov edx, edi
cmp ecx, dword [edx + 0x68]
jne 0x423456
mov eax, dword [esi + 4]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 4], eax
add esi, 8
sub dword [esp + 0x14], 1
jne 0x4232c0
mov edi, dword [esp + 0xc]
lea ebx, [esp + 0x18]
call fcn.00511520
mov esi, dword [eax]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x144]
push esi
call fcn.00489a50
mov dword [edi + 0x68], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4