Function at 0x407bc0
Capabilities:
Decompress data using quicklz
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x134
mov ebx, ecx
mov edx, dword [ebx + 0xec]
cmp edx, dword [ebx + 0xe8]
mov eax, dword [esp + 0x148]
mov dword [esp + 0x118], eax
jne 0x40964d
xor eax, eax
cmp dword [ebx + 0x100], 0
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], eax
je 0x407c18
mov ebp, dword [ebx + 0xf4]
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0xf8], eax
jmp 0x407c29
lea eax, [esp + 0xf8]
push eax
mov ecx, ebx
call fcn.00409bb0
mov ebp, eax
mov esi, dword [ebx + 0xfc]
cmp esi, 2
jb 0x407d38
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x3c], ebp
cmp esi, 0x111
jbe 0x407c4c
mov esi, 0x111
xor ecx, ecx
dec eax
movzx edi, byte [eax]
mov dword [esp + 8], ecx
xor edx, edx
mov dword [esp], esi
mov ebp, dword [ebx + edx*4 + 0x104]
mov dword [esp + edx*4 + 0xfc], ebp
neg ebp
add ebp, eax
movzx ecx, byte [ebp - 1]
cmp edi, ecx
jne 0x407c81
movzx ecx, byte [eax + 1]
movzx esi, byte [ebp]
cmp ecx, esi
je 0x407c8b
mov dword [esp + edx*4 + 0x28], 0
jmp 0x407cd8
mov ecx, 2
cmp dword [esp], 2
jbe 0x407cc4
mov dword [esp + 4], edi
mov edi, dword [esp]
mov dword [esp + 0x110], ebx
movzx ebx, byte [ecx + eax]
movzx esi, byte [ecx + ebp - 1]
cmp ebx, esi
jne 0x407cb6
inc ecx
cmp ecx, edi
jb 0x407ca4
mov ebx, dword [esp + 0x110]
mov dword [esp], edi
mov edi, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp + edx*4 + 0x28], ecx
cmp ecx, dword [esp + ebp*4 + 0x28]
jbe 0x407cd4
mov ebp, edx
mov dword [esp + 8], ebp
inc edx
cmp edx, 4
jb 0x407c5b
mov ecx, dword [esp + 8]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + ecx*4 + 0x28]
mov edx, dword [ebx + 0xbc]
cmp esi, edx
jae 0x4092a7
cmp ebp, edx
jae 0x408ef6
mov ecx, dword [esp + 0xfc]
lea edx, [ebx + 0x78981c]
mov dword [esp + 0x11c], edx
mov edx, eax
mov dword [esp + 0x20], ecx
sub edx, ecx
movzx ecx, byte [edx - 1]
mov dword [esp + 0x24], ecx
cmp ebp, 2
jae 0x407d57
cmp edi, dword [esp + 0x24]
je 0x407d57
cmp esi, 2
jae 0x407d57
mov edx, dword [esp + 0x14c]
mov dword [edx], 0xffffffff
mov eax, 1
add esp, 0x134
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov edx, dword [ebx + 0x114]
mov ecx, dword [ebx + 0xb4]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x118]
mov dword [esp + 0x10c], esi
mov esi, dword [ebx + 0xb0]
mov dword [esp + 0x10], edx
and ecx, edi
and esi, edi
mov edi, dword [esp + 4]
mov dword [ebx + 0x609820], edx
movzx eax, byte [eax - 1]
mov dword [esp], ecx
mov ecx, dword [ebx + 0xa4]
shl esi, cl
neg ecx
add ecx, 8
shr eax, cl
add esi, eax
lea ecx, [esi + esi*2]
mov esi, dword [esp + 0x10c]
shl ecx, 9
lea eax, [ebx + ecx + 0x784]
cmp edx, 7
jae 0x407dc9
push edi
push eax
mov ecx, ebx
call fcn.00409b60
jmp 0x407dd6
push dword [esp + 0x24]
push edi
mov ecx, ebx
push eax
call fcn.0040a320
mov ecx, dword [esp]
mov dword [esp + 0xc], 0xffffffff
lea edx, [ebx + ecx*2]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
shl ecx, 5
movzx ecx, word [ecx + edx + 0x120]
shr ecx, 4
add eax, dword [ecx*4 + 0x445400]
mov dword [ebx + 0x609868], 0xffffffff
mov dword [ebx + 0x609854], 0
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x60984c], eax
mov eax, dword [ebx + 0x114]
mov dword [esp + 0x14], eax
mov ecx, eax
movzx eax, word [ebx + eax*2 + 0x2a0]
shl ecx, 5
movzx edx, word [ecx + edx + 0x120]
mov dword [esp + 8], ecx
xor edx, 0x7ff
shr edx, 4
mov edx, dword [edx*4 + 0x445400]
xor eax, 0x7ff
shr eax, 4
mov ecx, dword [eax*4 + 0x445400]
add ecx, edx
cmp edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ecx
jne 0x407ec9
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 8]
mov dword [esp + 0x10], edx
movzx edx, word [ebx + ecx*2 + 0x2b8]
shr edx, 4
mov ecx, dword [esp + 0x18]
movzx edi, word [edi + ecx + 0x300]
mov ecx, dword [edx*4 + 0x445400]
mov edx, dword [esp + 0x10]
shr edi, 4
add ecx, dword [edi*4 + 0x445400]
add ecx, dword [esp + 4]
cmp ecx, eax
jae 0x407ec9
mov dword [ebx + 0x60984c], ecx
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [ebx + 0x609868], eax
mov dword [ebx + 0x609854], eax
cmp ebp, esi
jbe 0x407ecf
mov esi, ebp
cmp esi, 2
jae 0x407ef3
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
mov eax, 1
add esp, 0x134
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x100]
mov edi, dword [esp + 0x104]
mov dword [ebx + 0x60983c], eax
mov eax, dword [esp + 0x108]
mov dword [ebx + 0x609864], 0
mov dword [ebx + 0x609840], ecx
mov dword [ebx + 0x609844], edi
mov dword [ebx + 0x609848], eax
mov eax, 2
lea ecx, [eax + eax*2]
shl ecx, 4
mov dword [ebx + ecx + 0x60981c], 0x40000000
inc eax
cmp eax, esi
jbe 0x407f33
mov edi, dword [esp]
mov eax, dword [ebx + 0x114]
mov dword [esp + 0x10], edx
mov dword [esp + 0x10c], esi
mov dword [esp + 0x3c], ebp
xor ecx, ecx
mov esi, ecx
mov ecx, edi
shl ecx, 4
add ecx, edi
shl ecx, 6
add ecx, ebx
mov dword [esp + 0xc], ecx
mov ebp, edi
mov edi, dword [esp + esi*4 + 0x28]
cmp edi, 2
jb 0x407fdc
push ebp
push eax
mov ecx, ebx
push esi
call fcn.0040a260
add eax, dword [esp + 4]
mov ecx, 2
mov edx, dword [esp + 0xc]
mov ebp, dword [edx + ecx*4 + 0x6053cc]
add ebp, eax
lea edx, [ecx + ecx*2]
shl edx, 4
cmp ebp, dword [ebx + edx + 0x60981c]
jae 0x407fcd
mov dword [ebx + edx + 0x60981c], ebp
mov dword [ebx + edx + 0x609838], esi
xor ebp, ebp
mov dword [ebx + edx + 0x609834], ebp
mov dword [ebx + edx + 0x609824], ebp
inc ecx
cmp ecx, edi
jbe 0x407f93
nop
mov ebp, dword [esp]
mov eax, dword [ebx + 0x114]
inc esi
cmp esi, 4
jb 0x407f77
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10c]
mov ebp, dword [esp + 0x3c]
movzx eax, word [ebx + eax*2 + 0x2a0]
shr eax, 4
mov edi, dword [eax*4 + 0x445400]
mov eax, dword [esp + 0x28]
add edx, edi
inc eax
cmp eax, 2
ja 0x408018
mov eax, 2
cmp eax, ebp
ja 0x408158
xor ebp, ebp
cmp eax, dword [ebx + 0x78981c]
mov dword [esp], ebp
jbe 0x409692
mov edi, ebp
mov dword [esp + 0x10c], esi
add edi, 2
lea esi, [edi*4]
lea ebp, [ebx + esi + 0x78981c]
cmp eax, dword [ebp]
ja 0x40803a
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10c]
mov dword [esp], edi
mov edi, dword [esp + 0xf8]
mov dword [esp + 0x18], ebp
mov dword [esp + 4], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10c], esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + eax*4 + 0x600b80]
mov edx, dword [edx + 4]
cmp eax, 5
mov esi, eax
jb 0x40809a
mov esi, 5
add ecx, dword [esp + 0x10]
add esi, 0xfffffffe
cmp edx, 0x80
jae 0x4080b9
shl esi, 9
add esi, ebx
mov edi, dword [esi + edx*4 + 0x78a4b0]
add edi, ecx
jmp 0x4080e9
bsr ebp, edx
mov dword [esp + 8], edx
mov edi, edx
and edi, 0xf
shl esi, 8
mov edi, dword [ebx + edi*4 + 0x78acb0]
add edi, ecx
add esi, ebx
lea ecx, [ebp + 0x1f]
shr edx, cl
and edx, 1
lea edx, [edx + ebp*2]
add edi, dword [esi + edx*4 + 0x78a0b0]
mov edx, dword [esp + 8]
lea ebp, [eax + eax*2]
shl ebp, 4
cmp edi, dword [ebx + ebp + 0x60981c]
jae 0x408119
mov dword [ebx + ebp + 0x60981c], edi
xor ecx, ecx
add edx, 4
mov dword [ebx + ebp + 0x609834], ecx
mov dword [ebx + ebp + 0x609838], edx
mov dword [ebx + ebp + 0x609824], ecx
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x14]
cmp eax, dword [edx + ecx]
jne 0x408152
mov edx, dword [esp]
add edx, 2
cmp edx, dword [esp + 4]
mov dword [esp], edx
je 0x409686
lea ecx, [edx*4]
mov dword [esp + 0x14], ecx
lea ebp, [ebx + ecx + 0x78981c]
mov dword [esp + 0x18], ebp
inc eax
jmp 0x40807c
lea eax, [esp + 0xfc]
mov dword [esp + 0x10c], esi
xor ebp, ebp
neg eax
mov dword [esp + 0xa0], eax
inc ebp
cmp ebp, dword [esp + 0x10c]
je 0x409ac5
lea eax, [esp + 0xf0]
push eax
mov ecx, ebx
call fcn.00409bb0
mov dword [esp + 0xf4], eax
cmp eax, dword [ebx + 0xbc]
jae 0x409a93
inc dword [esp + 0x118]
lea esi, [ebp + ebp*2]
shl esi, 4
add esi, ebx
cmp dword [esi + 0x609824], 0
mov ecx, dword [esi + 0x609834]
je 0x408237
mov eax, dword [esi + 0x609828]
dec ecx
test eax, eax
je 0x4081f9
mov edx, dword [esi + 0x60982c]
lea edi, [edx + edx*2]
shl edi, 4
mov edx, dword [edi + ebx + 0x609820]
cmp dword [esi + 0x609830], 4
jae 0x4081f0
mov edx, dword [edx*4 + 0x420420]
jmp 0x408206
mov edx, dword [edx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
jmp 0x408206
lea edx, [ecx + ecx*2]
shl edx, 4
mov edx, dword [edx + ebx + 0x609820]
mov edx, dword [edx*4 + 0x4203c0]
lea edi, [ebp - 1]
cmp ecx, edi
je 0x40824b
test eax, eax
je 0x408293
mov ecx, dword [esi + 0x60982c]
mov edi, dword [esi + 0x609830]
mov eax, dword [edx*4 + 0x420420]
mov dword [esp + 0xc8], eax
jmp 0x4082bc
lea edx, [ecx + ecx*2]
shl edx, 4
mov edx, dword [edx + ebx + 0x609820]
lea eax, [ebp - 1]
cmp ecx, eax
jne 0x408293
cmp dword [esi + 0x609838], 0
jne 0x408264
mov eax, dword [edx*4 + 0x420450]
mov dword [esp + 0xc8], eax
jmp 0x408272
mov eax, dword [edx*4 + 0x4203c0]
mov dword [esp + 0xc8], eax
mov edi, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
jmp 0x4083e2
mov edi, dword [esi + 0x609838]
cmp edi, 4
jae 0x4082ae
mov eax, dword [edx*4 + 0x420420]
mov dword [esp + 0xc8], eax
jmp 0x4082bc
mov eax, dword [edx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov dword [esp + 0xc8], eax
lea eax, [ecx + ecx*2]
shl eax, 4
lea eax, [ebx + eax + 0x60981c]
cmp edi, 4
jae 0x4083ba
mov edx, dword [eax + edi*4 + 0x20]
mov dword [esp + 0xfc], edx
cmp edi, 1
jae 0x4082e9
mov edi, 1
jmp 0x408305
xor edx, edx
mov ecx, dword [eax + edx*4 + 0x20]
mov dword [esp + edx*4 + 0x100], ecx
inc edx
cmp edx, edi
jb 0x4082eb
inc edi
cmp edi, 4
jae 0x408272
mov edx, edi
neg edx
add edx, 4
mov dword [esp + 0x4c], edx
cmp edx, 0x18
jbe 0x4096a4
mov dword [esp + 0x54], eax
mov dword [esp + 0xe8], edi
lea edx, [esp + 0xfc]
neg edi
lea edi, [edi*4 + 0x10]
sub edx, eax
mov dword [esp + 0x50], edi
add edx, 0xffffffe0
xor ecx, ecx
mov dword [esp + 0x58], ecx
cmp edx, edi
setg cl
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xa0]
lea edx, [eax + ecx + 0x20]
xor eax, eax
cmp edx, edi
setg al
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0xe8]
or edx, eax
mov eax, dword [esp + 0x54]
je 0x4096a4
lea edx, [esp + edi*4 + 0xfc]
push dword [esp + 0x50]
lea eax, [eax + edi*4 + 0x20]
push eax
push edx
mov dword [esp + 0x134], esi
call fcn.0041cd00
mov esi, dword [esp + 0x134]
add esp, 0xc
mov edi, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
jmp 0x4083e2
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x100], edx
add edi, 0xfffffffc
mov dword [esp + 0xfc], edi
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0xe8], edi
mov dword [esp + 0x114], ebp
mov ebp, dword [esp + 0xc8]
mov dword [esi + 0x609820], ebp
mov dword [esi + 0x60983c], edi
mov dword [esi + 0x609840], edx
mov dword [esi + 0x609844], ecx
mov dword [esi + 0x609848], eax
mov edx, dword [ebx + 0x4c]
mov eax, dword [esi + 0x60981c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x118]
dec edx
movzx ecx, byte [edx]
mov dword [esp + 0xc4], edx
mov ebp, edx
movzx edx, byte [edx - 1]
mov dword [esp + 0xd4], ecx
mov ecx, dword [ebx + 0xb4]
sub ebp, edi
movzx edi, byte [ebp - 1]
mov ebp, dword [esp + 0x114]
mov dword [esp + 0xd8], edi
mov edi, dword [ebx + 0xb0]
and ecx, eax
and edi, eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [ebx + 0xa4]
shl edi, cl
neg ecx
add ecx, 8
shr edx, cl
add edi, edx
lea eax, [edi + edi*2]
shl eax, 9
lea eax, [ebx + eax + 0x784]
cmp dword [esp + 0xc8], 7
mov edi, dword [esp + 0xe8]
jae 0x4084b6
push dword [esp + 0xd4]
push eax
mov dword [esp + 0x130], esi
mov ecx, ebx
call fcn.00409b60
jmp 0x4084d3
push dword [esp + 0xd8]
mov ecx, ebx
push dword [esp + 0xd8]
push eax
mov dword [esp + 0x134], esi
call fcn.0040a320
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xd0]
shl edx, 5
add edx, ebx
mov dword [esp + 0xe0], edx
movzx edx, word [edx + ecx*2 + 0x120]
mov ecx, edx
shr ecx, 4
mov ecx, dword [ecx*4 + 0x445400]
add ecx, dword [esp + 0xc0]
add ecx, eax
mov eax, dword [esi + 0x60984c]
mov dword [esp + 0xdc], ecx
cmp ecx, eax
mov dword [esp + 0xe4], eax
jae 0x408568
mov eax, ecx
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xe4], eax
mov dword [esi + 0x60984c], eax
mov dword [esi + 0x609868], 0xffffffff
mov eax, 1
mov dword [esi + 0x609854], 0
mov dword [esi + 0x609864], ebp
movzx edx, word [edx + ecx*2 + 0x120]
jmp 0x40856a
xor eax, eax
mov ecx, dword [esp + 0xc0]
xor edx, 0x7ff
shr edx, 4
add ecx, dword [edx*4 + 0x445400]
mov edx, dword [esp + 0xc8]
movzx edx, word [ebx + edx*2 + 0x2a0]
mov dword [esp + 0xc0], ecx
xor edx, 0x7ff
shr edx, 4
mov edx, dword [edx*4 + 0x445400]
add edx, ecx
mov ecx, dword [esp + 0xd8]
cmp ecx, dword [esp + 0xd4]
mov dword [esp + 0xcc], edx
jne 0x408659
cmp ebp, dword [esi + 0x609864]
jbe 0x4085d9
cmp dword [esi + 0x609868], 0
je 0x408659
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xe8], edi
movzx edi, word [ebx + eax*2 + 0x2b8]
movzx eax, word [edx + ecx*2 + 0x300]
shr edi, 4
shr eax, 4
mov edx, dword [edi*4 + 0x445400]
add edx, dword [eax*4 + 0x445400]
mov edi, dword [esp + 0xe8]
add edx, dword [esp + 0xcc]
cmp edx, dword [esp + 0xe4]
mov eax, dword [esp + 0x74]
ja 0x408659
mov eax, edx
mov dword [esi + 0x60984c], eax
mov dword [esi + 0x609864], ebp
xor edx, edx
mov dword [esi + 0x609868], edx
mov dword [esi + 0x609854], edx
mov eax, 1
mov ecx, dword [ebx + 0xc0]
mov edx, ebp
neg edx
lea ecx, [edx + ecx - 1]
mov edx, dword [ebx + 0xfc]
cmp ecx, edx
jb 0x408673
mov ecx, edx
mov dword [esp + 0xbc], ecx
cmp ecx, 2
jb 0x408171
mov edx, dword [ebx + 0xbc]
cmp ecx, edx
jb 0x40868f
mov ecx, edx
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x408849
mov eax, dword [esp + 0xd8]
cmp eax, dword [esp + 0xd4]
je 0x408849
mov eax, dword [esp + 0xbc]
neg edi
inc edx
cmp eax, edx
jae 0x4086bf
mov edx, eax
add edi, dword [esp + 0xc4]
mov eax, 1
cmp edx, 1
jbe 0x408707
mov dword [esp + 0x114], ebp
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0x110], ebx
mov ebx, edx
movzx edx, byte [eax + ebp]
movzx ecx, byte [eax + edi - 1]
cmp edx, ecx
jne 0x4086f9
inc eax
cmp eax, ebx
jb 0x4086e7
mov ebp, dword [esp + 0x114]
mov ebx, dword [esp + 0x110]
lea ecx, [eax - 1]
mov dword [esp + 8], ecx
lea eax, [ebp + eax - 1]
lea edx, [ebp + 1]
cmp ecx, 2
mov dword [esp + 4], eax
mov dword [esp], edx
jb 0x408849
mov ecx, dword [esp + 0xc8]
mov ecx, dword [ecx*4 + 0x4203c0]
mov edi, dword [esp + 0x118]
mov eax, dword [esp + 0xdc]
lea edx, [edi + 1]
movzx edi, word [ebx + ecx*2 + 0x2a0]
and edx, dword [ebx + 0xb4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x128], esi
mov esi, dword [esp + 4]
xor edi, 0x7ff
shr edi, 4
add eax, dword [edi*4 + 0x445400]
mov edi, ecx
mov dword [esp + 0x114], ebp
shl edi, 5
add edi, ebx
mov ebp, dword [esp + 0x10c]
movzx edx, word [edi + edx*2 + 0x120]
mov edi, dword [esp + 8]
xor edx, 0x7ff
shr edx, 4
add eax, dword [edx*4 + 0x445400]
mov dword [esp + 0xdc], eax
lea eax, [esi + 1]
cmp ebp, eax
jae 0x4087cb
inc ebp
lea edx, [ebp + ebp*2]
shl edx, 4
cmp ebp, eax
mov dword [edx + ebx + 0x60981c], 0x40000000
jb 0x4087b4
push dword [esp + 0x14]
mov ecx, ebx
push dword [esp + 0x1c]
push edi
push 0
call fcn.0040a190
add eax, dword [esp + 0xdc]
lea edx, [esi + esi*2 + 3]
shl edx, 4
cmp eax, dword [edx + ebx + 0x60981c]
jae 0x408820
mov dword [edx + ebx + 0x60981c], eax
mov eax, dword [esp]
xor ecx, ecx
mov dword [edx + ebx + 0x609834], eax
mov dword [edx + ebx + 0x609838], ecx
mov dword [edx + ebx + 0x609824], 1
mov dword [edx + ebx + 0x609828], ecx
test byte [ebx + 0xd0], 1
je 0x408834
dec esi
dec edi
cmp edi, 2
jae 0x4087ad
mov esi, dword [esp + 0x128]
mov dword [esp + 0x10c], ebp
mov ebp, dword [esp + 0x114]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x128], esi
mov edx, eax
mov dword [esp + 0x114], ebp
lea ecx, [ebp + 2]
shl edx, 4
mov dword [esp + 0x44], ecx
mov dword [esp + 0xa4], 2
add edx, eax
mov dword [esp + 0x40], 0
mov edi, dword [esp + 0x40]
shl edx, 6
add edx, ebx
mov dword [esp + 0x120], edx
mov ebp, dword [esp + edi*4 + 0xfc]
mov eax, dword [esp + 0xc4]
movzx edx, byte [eax]
neg ebp
add ebp, eax
movzx ecx, byte [ebp - 1]
cmp edx, ecx
jne 0x408c6a
movzx edx, byte [eax + 1]
movzx ecx, byte [ebp]
cmp edx, ecx
jne 0x408c6a
mov esi, 2
cmp dword [esp + 0x48], 2
jbe 0x409a6c
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x110], ebx
mov ebx, eax
movzx eax, byte [esi + ebx]
movzx edx, byte [esi + ebp - 1]
cmp eax, edx
jne 0x4088ef
inc esi
cmp esi, ecx
jb 0x4088dd
mov ebx, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
add eax, esi
cmp eax, dword [esp + 0x10c]
jbe 0x40892c
mov ecx, dword [esp + 0x10c]
inc ecx
lea edx, [ecx + ecx*2]
shl edx, 4
cmp ecx, eax
mov dword [edx + ebx + 0x60981c], 0x40000000
jb 0x40890f
mov dword [esp + 0x10c], ecx
push dword [esp + 0xd0]
mov ecx, ebx
push dword [esp + 0xcc]
push edi
call fcn.0040a260
add eax, dword [esp + 0xcc]
mov dword [esp + 0xec], eax
cmp esi, 2
jb 0x4089ce
mov edx, dword [esp + 0x128]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x110], ebx
mov eax, 2
mov ebx, dword [esp + 0x120]
mov ebp, dword [ebx + eax*4 + 0x6053cc]
add ebp, dword [esp + 0xec]
lea ecx, [eax + eax*2]
shl ecx, 4
cmp ebp, dword [edx + ecx + 0x60981c]
jae 0x4089b7
mov dword [edx + ecx + 0x60981c], ebp
mov ebp, dword [esp + 0x114]
mov dword [edx + ecx + 0x609834], ebp
mov dword [edx + ecx + 0x609838], edi
mov dword [edx + ecx + 0x609824], 0
inc eax
cmp eax, esi
jbe 0x408973
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x128], edx
mov ecx, dword [esp + 0xbc]
mov eax, dword [ebx + 0xbc]
lea edx, [esi + 1]
test edi, edi
lea eax, [eax + esi + 1]
jne 0x4089ed
mov dword [esp + 0xa4], edx
cmp eax, ecx
jb 0x4089f3
mov eax, ecx
cmp edx, eax
jae 0x408a26
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x110], ebx
movzx ecx, byte [edx + edi]
movzx ebx, byte [edx + ebp - 1]
cmp ecx, ebx
jne 0x408a1b
inc edx
cmp edx, eax
jb 0x408a09
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x110]
sub edx, esi
dec edx
cmp edx, 2
jb 0x408c6a
mov ecx, dword [ebx + 0xb4]
movzx ebp, byte [ebp + esi - 1]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0xc8]
mov eax, dword [edi*4 + 0x420420]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x118]
add edx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
and ecx, edx
and edx, dword [ebx + 0xb0]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0xa4]
shl edx, cl
mov eax, ecx
neg eax
add eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc4]
movzx edi, byte [eax + esi - 1]
movzx eax, byte [eax + esi]
mov ecx, dword [esp + 0x38]
shr edi, cl
push ebp
add edx, edi
push eax
lea edx, [edx + edx*2]
shl edx, 9
lea ecx, [ebx + edx + 0x784]
push ecx
mov edi, dword [esp + 0x4c]
mov ecx, ebx
call fcn.0040a320
mov ebp, dword [esp + 0x120]
mov ecx, dword [ebp + esi*4 + 0x6053cc]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
add ecx, dword [esp + 0xec]
mov dword [esp + 0x40], edi
mov edi, edx
mov edx, dword [edx*4 + 0x4203c0]
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], esi
shl edi, 5
add edi, ebx
movzx edi, word [edi + ebp*2 + 0x120]
shr edi, 4
add eax, dword [edi*4 + 0x445400]
movzx edi, word [ebx + edx*2 + 0x2a0]
add ecx, eax
mov eax, dword [esp + 0x118]
lea eax, [eax + esi + 1]
mov ebp, edx
and eax, dword [esp + 0x24]
mov dword [esp + 0x70], eax
shl ebp, 5
add ebp, ebx
movzx edx, word [ebp + eax*2 + 0x120]
mov dword [esp + 0x5c], ebp
xor edi, 0x7ff
shr edi, 4
xor edx, 0x7ff
mov ebp, dword [edi*4 + 0x445400]
mov edi, dword [esp + 0x40]
shr edx, 4
add ebp, dword [edx*4 + 0x445400]
mov edx, dword [esp + 0x34]
add ebp, ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x60], ebp
lea ebp, [ecx + esi + 1]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x10c]
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 6
add ecx, ebx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x114]
lea eax, [eax + ecx + 1]
add eax, edx
cmp ebp, eax
jae 0x408baf
inc ebp
lea ecx, [ebp + ebp*2]
shl ecx, 4
cmp ebp, eax
mov dword [ecx + ebx + 0x60981c], 0x40000000
jb 0x408b98
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
movzx ecx, word [ebx + esi*2 + 0x2b8]
mov esi, dword [esp + 0x70]
movzx edi, word [edi + esi*2 + 0x300]
shr ecx, 4
mov ecx, dword [ecx*4 + 0x445400]
mov esi, dword [esp + 0x68]
xor edi, 0x7ff
shr edi, 4
lea eax, [eax + eax*2]
shl eax, 4
add ecx, dword [edi*4 + 0x445400]
add ecx, dword [esi + edx*4 + 0x6053cc]
add ecx, dword [esp + 0x60]
cmp ecx, dword [eax + ebx + 0x60981c]
jae 0x408c4c
mov edi, dword [esp + 0x114]
mov dword [eax + ebx + 0x60981c], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + ebx + 0x609834], ecx
mov ecx, dword [esp + 0x40]
mov esi, 1
mov dword [eax + ebx + 0x609838], 0
mov dword [eax + ebx + 0x609824], esi
mov dword [eax + ebx + 0x609828], esi
mov dword [eax + ebx + 0x60982c], edi
mov dword [eax + ebx + 0x609830], ecx
test byte [ebx + 0xd0], 2
je 0x408c5f
dec edx
cmp edx, 2
jae 0x408b83
mov edi, dword [esp + 0x40]
mov dword [esp + 0x10c], ebp
inc edi
cmp edi, 4
jb 0x40888f
mov esi, dword [esp + 0x128]
mov ebp, dword [esp + 0x114]
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0xf4]
cmp edx, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
jbe 0x408cf5
mov edx, dword [esp + 0x48]
xor eax, eax
cmp edx, dword [ebx + 0x78981c]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x1c], eax
jbe 0x4096f1
mov edx, eax
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x11c]
add edx, 2
lea eax, [edx*4]
cmp ecx, dword [edi + eax]
ja 0x408cc4
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x11c]
mov edx, eax
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
add edi, 2
mov dword [edx + ecx], eax
mov dword [esp + 0xf0], edi
mov eax, dword [esp + 0xa4]
cmp eax, dword [esp + 0xf4]
ja 0x408171
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x10c]
mov eax, ecx
sub eax, edx
add eax, ebp
add ecx, ebp
mov dword [esp + 0x10], eax
cmp edx, ecx
jae 0x408d82
mov eax, edx
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x114], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x110], ebx
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov ebx, dword [esp + 0x10]
lea edi, [ecx + ebp + 1]
lea edx, [ecx + ecx*2]
shl edx, 4
inc ecx
cmp ecx, ebx
mov dword [eax + edx + 0x60984c], 0x40000000
jb 0x408d53
mov ebp, dword [esp + 0x114]
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x10c], edi
mov edx, dword [esp + 0xc8]
mov edi, dword [esp + 0xa4]
movzx eax, word [ebx + edx*2 + 0x2a0]
shr eax, 4
xor edx, edx
mov ecx, dword [eax*4 + 0x445400]
add ecx, dword [esp + 0xc0]
cmp edi, dword [ebx + 0x78981c]
mov dword [esp + 0x124], ecx
jbe 0x409a57
add edx, 2
lea ecx, [edx*4]
lea eax, [ebx + ecx + 0x78981c]
cmp edi, dword [eax]
ja 0x408dbe
mov dword [esp + 0x130], ecx
mov dword [esp + 0xa4], edi
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x128], esi
mov dword [esp + 0x114], ebp
mov ebp, edi
mov dword [esp + 0x110], ebx
mov edx, dword [esp + 0x120]
mov ecx, dword [edx + ebp*4 + 0x600b80]
add ecx, dword [esp + 0x124]
cmp ebp, 5
mov eax, dword [esp + 0x12c]
mov ebx, dword [eax + 4]
mov edx, ebp
jb 0x408e3f
mov edx, 5
add edx, 0xfffffffe
cmp ebx, 0x80
jb 0x408e7d
bsr eax, ebx
mov edi, dword [esp + 0x110]
mov esi, ebx
and esi, 0xf
shl edx, 8
mov esi, dword [edi + esi*4 + 0x78acb0]
add esi, ecx
add edx, edi
lea ecx, [eax + 0x1f]
mov edi, ebx
shr edi, cl
and edi, 1
lea eax, [edi + eax*2]
add esi, dword [edx + eax*4 + 0x78a0b0]
jmp 0x408e90
shl edx, 9
add edx, dword [esp + 0x110]
mov esi, dword [edx + ebx*4 + 0x78a4b0]
add esi, ecx
mov edx, dword [esp + 0x128]
lea eax, [ebp + ebp*2]
shl eax, 4
cmp esi, dword [edx + eax + 0x60981c]
jae 0x408ed3
mov edi, edx
mov edx, dword [esp + 0x114]
mov dword [edi + eax + 0x60981c], esi
lea ecx, [ebx + 4]
mov dword [edi + eax + 0x609834], edx
mov dword [edi + eax + 0x609838], ecx
mov dword [edi + eax + 0x609824], 0
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x130]
cmp ebp, dword [eax + ecx]
lea edx, [ebp + 1]
je 0x4096f8
mov edi, edx
mov ebp, edi
jmp 0x408e14
mov eax, dword [esp + 0xf8]
mov edx, dword [ebx + eax*4 + 0x789818]
mov ecx, dword [esp + 0x14c]
add edx, 4
mov dword [ecx], edx
mov ecx, ebp
dec ecx
je 0x40911c
mov eax, dword [ebx + 0x100]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ebp
lea edx, [eax + ebp - 1]
mov dword [ebx + 0x100], edx
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x30], eax
cmp eax, 4
jae 0x40912b
mov esi, dword [ebx + 0x54]
inc dword [ebx + 0x60]
inc edx
inc dword [ebx + 0x4c]
cmp edx, esi
je 0x408f5a
mov dword [ebx + 0x50], edx
jmp 0x409109
cmp edx, 0xffffffff
jne 0x408fb8
mov ebp, dword [ebx + 0x98]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x9c]
neg ebp
add ebp, edx
dec ebp
and ebp, 0xfffffc00
add ecx, dword [ebx + 0xa0]
je 0x408fa4
mov dword [ebx + 0x50], edx
xor edx, edx
mov esi, dword [eax + edx*4]
mov edi, esi
sub edi, ebp
cmp esi, ebp
ja 0x408f96
mov edi, 0
mov dword [eax + edx*4], edi
inc edx
cmp edx, ecx
jb 0x408f86
mov edx, dword [ebx + 0x50]
mov esi, dword [ebx + 0x54]
mov eax, dword [ebx + 0x58]
sub esi, ebp
mov dword [ebx + 0x54], esi
sub edx, ebp
mov dword [ebx + 0x50], edx
sub eax, ebp
mov dword [ebx + 0x58], eax
jmp 0x408fbe
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x50], edx
cmp dword [ebx + 0x7c], 0
mov ecx, dword [ebx + 0x94]
mov dword [esp + 4], ecx
jne 0x4090bb
lea ebp, [edx + ecx]
cmp eax, ebp
jne 0x4090bb
mov esi, ecx
mov ebp, dword [ebx + 0x4c]
mov edi, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x80]
add esi, ebp
mov dword [esp], edi
add edi, ecx
cmp esi, edi
jb 0x409034
mov ecx, dword [ebx + 0x90]
sub ebp, ecx
sub eax, edx
add eax, ecx
push eax
push ebp
push dword [esp + 8]
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov eax, dword [ebx + 0x48]
mov ebp, dword [ebx + 0x90]
mov edx, dword [ebx + 0x50]
mov dword [esp], eax
add ebp, eax
mov eax, dword [ebx + 0x58]
cmp dword [ebx + 0x7c], 0
mov dword [ebx + 0x4c], ebp
jne 0x409044
mov ecx, dword [ebx + 0x80]
mov esi, dword [esp]
sub ebp, edx
add ebp, eax
sub esi, ebp
add esi, ecx
mov dword [esp], esi
jne 0x409050
mov ecx, dword [ebx + 0x94]
mov dword [esp + 4], ecx
jmp 0x4090bb
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 0xc]
jb 0x409064
mov ecx, ebx
mov edx, 1
call fcn.00402e90
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x409079
mov dword [ebx + 0x7c], 1
xor eax, eax
mov dword [esp], eax
jmp 0x4090a8
mov edx, esi
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp edx, eax
jb 0x409089
mov edx, eax
mov dword [esp], edx
push edx
push ecx
push ebp
call fcn.0041cd00
add esp, 0xc
mov eax, dword [esp]
add dword [ebx + 4], eax
test eax, eax
jne 0x4090a8
mov dword [ebx + 0x7c], 1
add eax, dword [ebx + 0x58]
mov edx, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x94]
mov dword [ebx + 0x58], eax
mov dword [esp + 4], ecx
mov ebp, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
cmp ebp, ecx
jne 0x4090ce
mov dword [ebx + 0x60], 0
xor ebp, ebp
mov esi, dword [ebx + 0x68]
sub eax, edx
cmp esi, eax
jb 0x4090d9
mov esi, eax
mov dword [ebx + 0x5c], esi
sub ecx, ebp
mov ebp, edx
neg ebp
dec ebp
cmp ecx, ebp
jb 0x4090e9
mov ecx, ebp
cmp eax, dword [esp + 4]
ja 0x4090fa
test eax, eax
je 0x4090fe
mov eax, 1
jmp 0x4090fe
sub eax, dword [esp + 4]
cmp eax, ecx
jb 0x409104
mov eax, ecx
add eax, edx
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x408f34
mov ebp, dword [esp + 0x3c]
mov eax, ebp
add esp, 0x134
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov eax, dword [ebx + 0x4c]
movzx edi, byte [eax]
movzx ecx, byte [eax + 1]
movzx ebp, byte [eax + 2]
movzx eax, byte [eax + 3]
xor ecx, dword [edi*4 + 0x445000]
mov edi, dword [eax*4 + 0x445000]
mov dword [esp + 0x110], ebx
mov esi, ecx
and esi, 0x3ff
shl ebp, 8
xor ecx, ebp
movzx ebp, cx
shl edi, 5
xor ecx, edi
and ecx, dword [ebx + 0x74]
mov edi, dword [ebx + 0x6c]
mov eax, dword [edi + ecx*4 + 0x41000]
mov dword [edi + ecx*4 + 0x41000], edx
mov ecx, dword [ebx + 0x6c]
xor edi, edi
mov dword [ecx + ebp*4 + 0x1000], edx
mov ebp, dword [ebx + 0x6c]
mov dword [esp + 0x20], edi
mov dword [ebp + esi*4], edx
mov edx, dword [ebx + 0x50]
mov ebp, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x70]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx + 0x60]
mov dword [esp + 0x24], edx
lea edx, [edx + ebp*8]
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 0x78]
mov dword [esp + 0x18], edi
lea ecx, [edx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x38]
sub ebx, eax
xor edx, edx
test esi, esi
sete dl
dec esi
test edx, edx
jne 0x409b03
cmp ebx, dword [esp + 0x34]
jae 0x409b03
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edi, ebp
sub edi, ebx
cmp ebx, ebp
mov ebp, dword [esp + 0x24]
ja 0x409207
mov edx, 0
add edi, edx
mov edx, dword [esp + 0x20]
lea ebp, [ebp + edi*8]
neg ebx
add ebx, ecx
mov edi, dword [esp + 0x18]
cmp edx, edi
jb 0x40921f
mov edx, edi
movzx edi, byte [ebx + edx]
movzx ecx, byte [ecx + edx]
cmp edi, ecx
jne 0x409269
inc edx
cmp edx, dword [esp + 0x30]
je 0x40925b
mov edi, dword [esp + 0x30]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
movzx eax, byte [edx + ebx]
movzx ecx, byte [edx + esi]
cmp eax, ecx
jne 0x409253
inc edx
cmp edx, edi
jne 0x409242
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
test edx, edx
jbe 0x409269
cmp edx, dword [esp + 0x30]
je 0x409ae2
mov ecx, dword [esp + 0x1c]
movzx ebx, byte [edx + ebx]
movzx edi, byte [edx + ecx]
cmp ebx, edi
jge 0x409291
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [ecx], eax
lea eax, [ebp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
jmp 0x4091ca
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
mov dword [ecx], eax
mov eax, dword [ebp]
mov dword [esp + 0x20], edx
jmp 0x4091ca
mov eax, dword [esp + 0x14c]
mov dword [eax], ecx
mov ecx, esi
dec ecx
je 0x4094c2
mov eax, dword [ebx + 0x100]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10c], esi
lea edx, [eax + esi - 1]
mov dword [ebx + 0x100], edx
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x30], eax
cmp eax, 4
jae 0x4094d1
mov esi, dword [ebx + 0x54]
inc dword [ebx + 0x60]
inc edx
inc dword [ebx + 0x4c]
cmp edx, esi
je 0x4092fd
mov dword [ebx + 0x50], edx
jmp 0x4094ac
cmp edx, 0xffffffff
jne 0x40935b
mov ebp, dword [ebx + 0x98]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x9c]
neg ebp
add ebp, edx
dec ebp
and ebp, 0xfffffc00
add ecx, dword [ebx + 0xa0]
je 0x409347
mov dword [ebx + 0x50], edx
xor edx, edx
mov esi, dword [eax + edx*4]
mov edi, esi
sub edi, ebp
cmp esi, ebp
ja 0x409339
mov edi, 0
mov dword [eax + edx*4], edi
inc edx
cmp edx, ecx
jb 0x409329
mov edx, dword [ebx + 0x50]
mov esi, dword [ebx + 0x54]
mov eax, dword [ebx + 0x58]
sub esi, ebp
mov dword [ebx + 0x54], esi
sub edx, ebp
mov dword [ebx + 0x50], edx
sub eax, ebp
mov dword [ebx + 0x58], eax
jmp 0x409361
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x50], edx
cmp dword [ebx + 0x7c], 0
mov ecx, dword [ebx + 0x94]
mov dword [esp + 4], ecx
jne 0x40945e
lea ebp, [edx + ecx]
cmp eax, ebp
jne 0x40945e
mov esi, ecx
mov ebp, dword [ebx + 0x4c]
mov edi, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x80]
add esi, ebp
mov dword [esp], edi
add edi, ecx
cmp esi, edi
jb 0x4093d7
mov ecx, dword [ebx + 0x90]
sub ebp, ecx
sub eax, edx
add eax, ecx
push eax
push ebp
push dword [esp + 8]
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov eax, dword [ebx + 0x48]
mov ebp, dword [ebx + 0x90]
mov edx, dword [ebx + 0x50]
mov dword [esp], eax
add ebp, eax
mov eax, dword [ebx + 0x58]
cmp dword [ebx + 0x7c], 0
mov dword [ebx + 0x4c], ebp
jne 0x4093e7
mov ecx, dword [ebx + 0x80]
mov esi, dword [esp]
sub ebp, edx
add ebp, eax
sub esi, ebp
add esi, ecx
mov dword [esp], esi
jne 0x4093f3
mov ecx, dword [ebx + 0x94]
mov dword [esp + 4], ecx
jmp 0x40945e
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 0xc]
jb 0x409407
mov ecx, ebx
mov edx, 1
call fcn.00402e90
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x40941c
mov dword [ebx + 0x7c], 1
xor eax, eax
mov dword [esp], eax
jmp 0x40944b
mov edx, esi
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp edx, eax
jb 0x40942c
mov edx, eax
mov dword [esp], edx
push edx
push ecx
push ebp
call fcn.0041cd00
add esp, 0xc
mov eax, dword [esp]
add dword [ebx + 4], eax
test eax, eax
jne 0x40944b
mov dword [ebx + 0x7c], 1
add eax, dword [ebx + 0x58]
mov edx, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x94]
mov dword [ebx + 0x58], eax
mov dword [esp + 4], ecx
mov ebp, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
cmp ebp, ecx
jne 0x409471
mov dword [ebx + 0x60], 0
xor ebp, ebp
mov esi, dword [ebx + 0x68]
sub eax, edx
cmp esi, eax
jb 0x40947c
mov esi, eax
mov dword [ebx + 0x5c], esi
sub ecx, ebp
mov ebp, edx
neg ebp
dec ebp
cmp ecx, ebp
jb 0x40948c
mov ecx, ebp
cmp eax, dword [esp + 4]
ja 0x40949d
test eax, eax
je 0x4094a1
mov eax, 1
jmp 0x4094a1
sub eax, dword [esp + 4]
cmp eax, ecx
jb 0x4094a7
mov eax, ecx
add eax, edx
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x4092d7
mov esi, dword [esp + 0x10c]
mov eax, esi
add esp, 0x134
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov eax, dword [ebx + 0x4c]
movzx edi, byte [eax]
movzx ecx, byte [eax + 1]
movzx ebp, byte [eax + 2]
movzx eax, byte [eax + 3]
xor ecx, dword [edi*4 + 0x445000]
mov edi, dword [eax*4 + 0x445000]
mov dword [esp + 0x110], ebx
mov esi, ecx
and esi, 0x3ff
shl ebp, 8
xor ecx, ebp
movzx ebp, cx
shl edi, 5
xor ecx, edi
and ecx, dword [ebx + 0x74]
mov edi, dword [ebx + 0x6c]
mov eax, dword [edi + ecx*4 + 0x41000]
mov dword [edi + ecx*4 + 0x41000], edx
mov ecx, dword [ebx + 0x6c]
xor edi, edi
mov dword [ecx + ebp*4 + 0x1000], edx
mov ebp, dword [ebx + 0x6c]
mov dword [esp + 0x20], edi
mov dword [ebp + esi*4], edx
mov edx, dword [ebx + 0x50]
mov ebp, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x70]
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx + 0x60]
mov dword [esp + 0x24], edx
lea edx, [edx + ebp*8]
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 0x78]
mov dword [esp + 0x18], edi
lea ecx, [edx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x38]
sub ebx, eax
xor edx, edx
test esi, esi
sete dl
dec esi
test edx, edx
jne 0x409b41
cmp ebx, dword [esp + 0x34]
jae 0x409b41
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edi, ebp
sub edi, ebx
cmp ebx, ebp
mov ebp, dword [esp + 0x24]
ja 0x4095ad
mov edx, 0
add edi, edx
mov edx, dword [esp + 0x20]
lea ebp, [ebp + edi*8]
neg ebx
add ebx, ecx
mov edi, dword [esp + 0x18]
cmp edx, edi
jb 0x4095c5
mov edx, edi
movzx edi, byte [ebx + edx]
movzx ecx, byte [ecx + edx]
cmp edi, ecx
jne 0x40960f
inc edx
cmp edx, dword [esp + 0x30]
je 0x409601
mov edi, dword [esp + 0x30]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
movzx eax, byte [edx + ebx]
movzx ecx, byte [edx + esi]
cmp eax, ecx
jne 0x4095f9
inc edx
cmp edx, edi
jne 0x4095e8
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
test edx, edx
jbe 0x40960f
cmp edx, dword [esp + 0x30]
je 0x409b20
mov ecx, dword [esp + 0x1c]
movzx ebx, byte [edx + ebx]
movzx edi, byte [edx + ecx]
cmp ebx, edi
jge 0x409637
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [ecx], eax
lea eax, [ebp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
jmp 0x409570
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
mov dword [ecx], eax
mov eax, dword [ebp]
mov dword [esp + 0x20], edx
jmp 0x409570
mov ecx, dword [esp + 0x14c]
lea ebp, [edx + edx*2]
shl ebp, 4
mov eax, dword [ebp + ebx + 0x609834]
sub eax, edx
mov edx, dword [ebp + ebx + 0x609838]
mov dword [ecx], edx
mov esi, dword [ebp + ebx + 0x609834]
mov dword [ebx + 0xec], esi
add esp, 0x134
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov esi, dword [esp + 0x10c]
jmp 0x408158
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x11c]
jmp 0x40805e
mov dword [esp + 0x110], ebx
xor edx, edx
lea eax, [eax + edi*4]
mov ebx, edx
lea edx, [esp + edi*4 + 0xfc]
mov edi, dword [esp + 0x4c]
mov ecx, dword [eax + ebx*4 + 0x20]
mov dword [edx + ebx*4], ecx
inc ebx
cmp ebx, edi
jb 0x4096bd
mov ebx, dword [esp + 0x110]
mov edi, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
jmp 0x4083e2
xor eax, eax
jmp 0x408cd7
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0xbc]
sub edi, ebx
lea eax, [ecx + ebp + 1]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x98], edi
mov edi, edx
cmp eax, ecx
jb 0x409728
mov eax, ecx
cmp edx, eax
jae 0x40976a
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0xa4], ebp
movzx ecx, byte [edx + edi]
movzx ebp, byte [edx + esi - 1]
cmp ecx, ebp
jne 0x40975b
inc edx
cmp edx, eax
jb 0x409749
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0xa4]
mov eax, ebp
neg eax
lea edx, [eax + edx - 1]
mov dword [esp + 0x94], edx
cmp edx, 2
jb 0x409a02
mov edx, dword [esp + 0xc8]
mov eax, dword [edx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov edx, dword [esp + 0x110]
mov ecx, dword [edx + 0xa4]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x118]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0xb4]
mov dword [esp + 0x80], eax
lea ebx, [edi + ebp]
and eax, ebx
and ebx, dword [edx + 0xb0]
shl ebx, cl
neg ecx
add ecx, 8
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc4]
movzx edi, byte [ebp + eax - 1]
shr edi, cl
movzx ecx, byte [ebp + eax]
mov eax, dword [esp + 0x98]
add ebx, edi
movzx edi, byte [eax + ebp - 1]
lea ebx, [ebx + ebx*2]
shl ebx, 9
push edi
push ecx
lea ebx, [edx + ebx + 0x784]
mov ecx, edx
push ebx
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x88]
call fcn.0040a320
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x7c], edi
add esi, eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xa4], ebp
mov edi, ecx
mov ecx, dword [ecx*4 + 0x4203c0]
mov dword [esp + 0xb4], ecx
shl edi, 5
add edi, eax
movzx edi, word [edi + edx*2 + 0x120]
shr edi, 4
add esi, dword [edi*4 + 0x445400]
inc edx
and edx, dword [esp + 0x80]
mov edi, ecx
movzx ecx, word [eax + ecx*2 + 0x2a0]
shl edi, 5
add edi, eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xac], edi
movzx edi, word [edi + edx*2 + 0x120]
xor ecx, 0x7ff
shr ecx, 4
xor edi, 0x7ff
mov ecx, dword [ecx*4 + 0x445400]
shr edi, 4
add ecx, dword [edi*4 + 0x445400]
add ecx, esi
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0xa8], ecx
lea esi, [esi + ebp + 1]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x8c], esi
mov ecx, edx
shl ecx, 4
add ecx, edx
shl ecx, 6
add ecx, eax
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x10c]
add ebx, 4
mov dword [esp + 0x88], ebx
mov ebx, eax
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x114]
lea eax, [eax + edx + 1]
add eax, ebp
cmp ecx, eax
jae 0x409932
inc ecx
lea edx, [ecx + ecx*2]
shl edx, 4
cmp ecx, eax
mov dword [edx + ebx + 0x60981c], 0x40000000
jb 0x40991c
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xac]
movzx edx, word [ebx + esi*2 + 0x2b8]
mov esi, dword [esp + 0xb0]
movzx edi, word [edi + esi*2 + 0x300]
shr edx, 4
mov edx, dword [edx*4 + 0x445400]
mov esi, dword [esp + 0xb8]
xor edi, 0x7ff
shr edi, 4
lea eax, [eax + eax*2]
shl eax, 4
add edx, dword [edi*4 + 0x445400]
add edx, dword [esi + ebp*4 + 0x6053cc]
add edx, dword [esp + 0xa8]
cmp edx, dword [eax + ebx + 0x60981c]
jae 0x4099e4
mov edi, dword [esp + 0x114]
mov dword [eax + ebx + 0x60981c], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + ebx + 0x609834], edx
mov edx, dword [esp + 0x88]
mov esi, 1
mov dword [eax + ebx + 0x609838], 0
mov dword [eax + ebx + 0x609824], esi
mov dword [eax + ebx + 0x609828], esi
mov dword [eax + ebx + 0x60982c], edi
mov dword [eax + ebx + 0x609830], edx
test byte [ebx + 0xd0], 4
je 0x4099f7
dec ebp
cmp ebp, 2
jae 0x409904
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10c], ecx
mov eax, dword [esp + 0x90]
add eax, 2
cmp eax, dword [esp + 0x9c]
mov dword [esp + 0x90], eax
je 0x409a44
mov edx, dword [esp + 0x110]
lea ecx, [eax*4]
mov dword [esp + 0x130], ecx
lea ebx, [edx + ecx + 0x78981c]
mov dword [esp + 0x12c], ebx
jmp 0x408eef
mov ebp, dword [esp + 0x114]
mov ebx, dword [esp + 0x110]
jmp 0x408171
xor eax, eax
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x11c]
jmp 0x408de1
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x10c]
jbe 0x40892c
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x10c]
lea eax, [eax + 2]
jmp 0x40890f
mov edx, eax
mov eax, dword [esp + 0xf0]
push ebp
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xf4], edx
mov edx, dword [esp + 0x150]
push edx
mov ecx, ebx
call fcn.0040a390
add esp, 0x134
pop ebx
pop ebp
pop esi
pop edi
ret 8
push ebp
mov eax, dword [esp + 0x150]
push eax
mov ecx, ebx
call fcn.0040a390
add esp, 0x134
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x110]
mov eax, dword [ebp]
mov dword [edx], eax
mov edx, dword [ebp + 4]
mov dword [ecx], edx
mov edx, dword [ebx + 0x50]
jmp 0x408f44
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x110]
xor eax, eax
mov dword [edx], eax
mov dword [ecx], eax
mov edx, dword [ebx + 0x50]
jmp 0x408f44
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x110]
mov eax, dword [ebp]
mov dword [edx], eax
mov edx, dword [ebp + 4]
mov dword [ecx], edx
mov edx, dword [ebx + 0x50]
jmp 0x4092e7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x110]
xor eax, eax
mov dword [edx], eax
mov dword [ecx], eax
mov edx, dword [ebx + 0x50]
jmp 0x4092e7