Function at 0x4068b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x5515d0
sub esp, 0x2e8
mov eax, dword [0x93e25c]
push ebx
push ebp
mov ebp, dword [esp + 0x2f8]
mov dword [esp + 0x2ec], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30c]
push esi
push edi
xor edi, edi
and eax, 0x1000
xor ecx, ecx
or eax, ecx
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x28], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x2c], 1
je 0x551627
mov dword [esp + 0x2c], edi
mov ebx, dword [esp + 0x2fc]
mov ecx, dword [ebp + 0x74]
lea edx, [ebx + 0x6b8]
push edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x80], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov al, byte [0x9732a8]
test al, al
je 0x551694
test byte [0x973ee4], 0x10
jne 0x551694
push 0x973ee8
call fcn.005e8900
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x50], eax
je 0x551694
push eax
mov eax, dword [0x9730a0]
push eax
push str.sql
lea ecx, [esp + 0xbc]
push str._s__lx__i
push ecx
call fcn.006cf753
add esp, 0x14
jmp 0x5516cc
mov eax, dword [ebx + 0xb60]
push eax
lea edx, [eax + 1]
mov eax, dword [ebx + 0xb40]
push eax
mov dword [ebx + 0xb60], edx
mov ecx, dword [0x9730a0]
push ecx
push str.sql
lea edx, [esp + 0xc0]
push str._s_lx__lx__x
push edx
call fcn.006cf753
add esp, 0x18
push 6
push 0x73a01c
push 0x974640
call fcn.005df040
add esp, 4
push eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x104]
push ecx
call fcn.005dc850
mov esi, dword [esp + 0x31c]
add esp, 0x14
cmp esi, edi
mov ecx, 0x200
je 0x55175d
cmp dword [ebp + 0x5c], edi
jne 0x551719
xor esi, esi
mov dword [esp + 0x308], esi
jmp 0x551741
mov eax, esi
jmp 0x551720
mov edx, dword [eax + 4]
mov edx, dword [edx]
mov byte [edx + 0x30], 4
mov edx, dword [eax + 4]
mov edx, dword [edx]
cmp dword [edx + 0x28], ecx
jb 0x55173b
mov dword [esp + 0x28], 1
mov eax, dword [eax]
cmp eax, edi
jne 0x551720
cmp dword [ebp + 0x54], 0x2000
jb 0x551752
mov dword [esp + 0x28], 1
cmp esi, edi
je 0x55175d
mov dword [esp + 0x30c], edi
mov ecx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x44]
mov edi, dword [ebp + 0x40]
mov edx, dword [ebp + 0x48]
add edi, eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x70]
add edi, edx
test ecx, ecx
je 0x55177c
add dword [esp + 0x3c], eax
push 0
lea edx, [esp + 0x94]
push 0x400
push edx
call fcn.00404700
add esp, 0xc
test esi, esi
je 0x5517a4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5517a4
mov edx, dword [ebp + 0x54]
jmp 0x5517a6
xor edx, edx
lea eax, [esp + 0xb0]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5517b0
sub eax, esi
mov dword [esp + 0x30], eax
lea eax, [esp + 0xf4]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5517c7
push 0
push edx
sub eax, esi
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x3c]
inc edx
push edx
inc eax
lea edx, [esp + 0x9c]
push edx
push eax
lea ecx, [ebp + 0x34]
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0x80]
lea edx, [edi + 2]
shl edx, 6
push edx
push eax
mov eax, dword [ebp + 0x50]
inc eax
lea edx, [eax + eax*2]
shl edx, 3
push edx
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x3c]
push eax
push 0x2c
lea eax, [ebp + 0x38]
push eax
lea eax, [edx*4 + 4]
push eax
lea edx, [esp + 0x98]
push edx
lea esi, [edi*4]
push esi
lea eax, [esp + 0xb0]
push eax
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x7c]
push edx
push esi
lea eax, [esp + 0xbc]
push eax
push ecx
lea ecx, [esp + 0x70]
push ecx
push 0x690
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0xf4]
push eax
call fcn.005d8eb0
add esp, 0x68
test eax, eax
je 0x5529d2
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*8]
lea edx, [ecx*8 + 4]
push edx
push eax
call fcn.005d8dd0
add esp, 8
test eax, eax
je 0x5518ce
mov dword [eax], edi
add eax, 4
dec edi
xor edx, edx
cmp edi, edx
mov dword [esp + 0x30], eax
jl 0x5518d2
add eax, 0x30
lea ecx, [edi + 1]
jmp 0x5518b0
mov dword [eax - 4], edx
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0x844320
add eax, 0x48
dec ecx
jne 0x5518b0
mov eax, dword [esp + 0x30]
jmp 0x5518d2
xor eax, eax
xor edx, edx
cmp eax, edx
mov dword [esp + 0x3c], eax
mov dword [ebp + 0x18], eax
jne 0x55191f
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
je 0x5518f4
push eax
push 0x973ee8
call fcn.005e8970
add esp, 8
lea ecx, [esp + 0x90]
push 0
push ecx
call fcn.005d8f70
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2e4]
call fcn.006cedd0
add esp, 0x2e8
ret
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xf4]
push eax
push ecx
mov dword [ebp + 0x2c], edx
call fcn.0062b5e0
mov eax, dword [esp + 0x94]
lea edx, [esp + 0xb8]
push edx
push eax
call fcn.0062b5e0
mov edi, dword [esp + 0x20]
xor eax, eax
mov ecx, 0x1a4
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
lea ecx, [esi + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x7c]
xor eax, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x80]
xor eax, eax
mov ecx, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x20]
add edi, 0x4d8
mov ecx, 8
lea esi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x4d8]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x330]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x20]
mov dword [eax + 0x68], ecx
mov edx, dword [esp + 0x20]
mov dword [edx + 0x4cc], 0xb
mov eax, dword [esp + 0x20]
mov dword [eax + 0x4a4], 3
mov ecx, dword [esp + 0x20]
mov edx, 1
mov dword [ecx + 0x480], edx
mov eax, dword [esp + 0x20]
add esp, 0x10
xor ecx, ecx
mov dword [eax + 0x484], ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x49c], esi
mov eax, dword [esp + 0x10]
mov byte [eax + 0x4b0], dl
mov eax, dword [esp + 0x10]
mov dword [eax + 0x10], ebx
mov eax, dword [esp + 0x10]
lea esi, [eax + 0x538]
mov dword [eax], esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [esp + 0x34]
mov dword [eax + 0x78], esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [esp + 0x8c]
mov dword [eax + 0x94], esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [esp + 0x88]
mov dword [eax + 0x98], esi
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov eax, 0x73a01c
mov dword [esi + 0x90], eax
mov esi, dword [esp + 0x10]
mov esi, dword [esi]
mov dword [esi + 0xe8], 8
mov esi, dword [esp + 0x10]
mov esi, dword [esi]
mov dword [esi + 0xe4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov byte [edx + 0x14f], 1
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov esi, dword [ebp + 0x68]
mov dword [edx + 0x88], esi
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov dword [edx + 0x90], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [eax + 0x90]
mov dword [eax + 0x8c], edx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x304]
mov dword [ebp + 0x60], ecx
mov dword [esp + 0x58], eax
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
cmp eax, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
je 0x551f3a
mov edi, dword [esp + 0x44]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov esi, eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x38], esi
je 0x551ba6
mov al, byte [edi + 0x35]
test al, al
je 0x551b8c
cmp esi, 2
je 0x551b8c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x68]
xor eax, eax
and edx, 0x40000000
or eax, edx
je 0x551b6a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
cmp esi, 0x11
je 0x551b80
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x68]
and edx, 0xbfffffff
or eax, edx
je 0x551b8c
mov dword [ebp + 0x60], 1
jmp 0x551f21
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
test eax, eax
je 0x551ba6
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x551f21
cmp esi, 2
jne 0x551d94
mov ecx, dword [esp + 0x308]
xor eax, eax
cmp ecx, eax
jne 0x551d94
cmp dword [esp + 0x310], eax
jne 0x551d94
cmp dword [edi + 0x60], eax
mov dword [edi + 0x48], eax
mov dword [esp + 0x20], eax
jbe 0x551efa
lea ecx, [ecx]
mov ecx, dword [edi + 0x4c]
mov edx, dword [esp + 0x20]
mov esi, dword [ecx + edx*4]
lea eax, [ecx + edx*4]
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test eax, eax
jne 0x551d7b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
sub edi, edx
mov edx, dword [ebp + 0x64]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x314]
push eax
push ecx
mov ecx, dword [esp + 0x68]
push 0
sar edi, 2
lea eax, [edx + edi*4]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x7c]
push edx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x30]
push eax
push esi
push ecx
push ebx
call fcn.00401032
mov esi, eax
add esp, 0x30
test esi, esi
je 0x5529b6
mov edx, dword [esp + 0x58]
mov ebx, 4
add edx, ebx
mov dword [esp + 0x58], edx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x24]
add ecx, eax
test byte [esi + 0x54], 0x10
mov dword [esp + 0x24], ecx
je 0x551c99
mov eax, dword [esp + 0x34]
mov dword [eax], edi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
add ecx, ebx
inc eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x68]
cmp eax, 0x10
jne 0x551cb5
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 0x5c]
and eax, 7
add ecx, eax
mov dword [esp + 0x5c], ecx
mov dword [esi + 0x50], edi
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
add dword [esp + 0x18], ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x6c]
cmp eax, 0xfe
je 0x551cdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
cmp eax, 0xf
jne 0x551cee
inc dword [esp + 0x80]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
add dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x2fc]
push 0x8c
mov dword [ebx + 0x14], eax
call fcn.0040105a
add esp, 4
test eax, eax
je 0x551d19
push esi
mov ecx, eax
call fcn.00406050
mov ebp, eax
jmp 0x551d1b
xor ebp, ebp
mov ecx, dword [ebx + 0xa88]
cmp dword [ecx + 0xc], 3
mov edi, dword [esp + 0x38]
je 0x551d3a
mov edx, dword [ebx + 0x14]
mov eax, dword [edi]
push edx
push eax
push edi
mov ecx, ebx
call fcn.004085df
mov dword [edi], ebp
mov ecx, dword [esp + 0x10]
add ecx, 0x4d8
mov dword [ebx + 0x14], ecx
test byte [esi + 0x54], 1
jne 0x551d5e
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
inc eax
mov dword [esp + 0x1c], eax
mov byte [edx + 0x32], 1
mov eax, dword [ebx + 0xb30]
mov ebp, dword [esp + 0x300]
mov edi, dword [esp + 0x44]
mov dword [esi + 0x28], eax
mov ecx, dword [ebx + 0xb34]
mov dword [esi + 0x2c], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jb 0x551be0
jmp 0x551efa
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub eax, dword [esi + 0x14]
sar eax, 2
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x551dba
push esi
push edi
push ebx
call fcn.0040852b
add esp, 0xc
jmp 0x551e25
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x551ddc
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x551dd5
mov eax, dword [esp + 0x308]
test eax, eax
je 0x551ddc
mov eax, 1
jmp 0x551dde
xor eax, eax
mov edx, dword [ebp + 0x64]
push edx
mov dl, byte [edi + 0x30]
push ecx
xor ecx, ecx
cmp dl, 4
sete cl
xor edx, edx
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x318]
test eax, eax
mov eax, dword [esp + 0x7c]
setne dl
push edx
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x7c]
push ecx
push edx
push edi
push esi
push ebx
call fcn.00401032
add esp, 0x30
mov esi, eax
test esi, esi
jne 0x551e4c
mov eax, dword [ebx + 0xbd4]
test eax, eax
jne 0x5529b6
mov ebx, dword [esp + 0x2fc]
mov ebp, dword [esp + 0x300]
jmp 0x551f21
cmp dword [esp + 0x38], 2
jne 0x551e56
mov dword [edi + 0x48], esi
mov edx, dword [esp + 0x58]
mov eax, dword [esi]
add edx, 4
mov ecx, esi
mov dword [esp + 0x58], edx
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x24]
add ecx, eax
test byte [esi + 0x54], 1
mov dword [esp + 0x24], ecx
jne 0x551e7c
inc dword [esp + 0x1c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x68]
cmp eax, 0x10
jne 0x551e98
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 0x5c]
and eax, 7
add ecx, eax
mov dword [esp + 0x5c], ecx
test byte [esi + 0x54], 0x10
je 0x551ebc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov dword [ecx], edx
mov ecx, dword [esp + 0x34]
add ecx, 4
inc eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
cmp byte [edi + 0x30], 4
jne 0x551ed6
mov al, byte [edi + 0x32]
test al, al
je 0x551ed6
mov ecx, dword [esp + 0x54]
inc ecx
or byte [esi + 0x55], 0x80
mov dword [esp + 0x54], ecx
mov eax, dword [ebx + 0xb30]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x28], eax
mov ecx, dword [ebx + 0xb34]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x50], edx
mov eax, dword [esp + 0x18]
mov dword [eax], esi
add dword [esp + 0x18], 4
dec dword [esp + 0x4c]
jne 0x551f21
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
sub edx, dword [eax + 0x14]
sar edx, 2
mov dword [ebp + 0x4c], edx
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x44], eax
jne 0x551b28
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x14]
mov ebx, dword [esp + 0x40]
mov edi, eax
sub edi, esi
mov dword [eax], 0
mov eax, dword [esp + 0x34]
sar edi, 2
test ebx, ebx
mov dword [esp + 0x44], edi
mov dword [eax], 0
jne 0x551fd5
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x551fd5
mov eax, dword [esp + 0x314]
and eax, 0x108
xor ecx, ecx
cmp eax, 0x100
jne 0x551f89
test ecx, ecx
je 0x551fd5
mov ecx, dword [esp + 0x318]
and ecx, 1
xor eax, eax
or eax, ecx
jne 0x551fd5
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [edx + 0xdc], 6
mov eax, dword [esp + 0x10]
push 6
lea ecx, [eax + 0x4d8]
push ecx
push eax
call fcn.0040b0a0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x60]
add esp, 0xc
add esi, eax
jmp 0x552077
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ecx + 0xdc], 9
mov eax, dword [esp + 0x10]
push 9
lea edx, [eax + 0x4d8]
push edx
push eax
call fcn.0040b0a0
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x314]
add esp, 0xc
test eax, eax
je 0x552094
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x168]
cmp eax, 0x10
jbe 0x55202e
mov eax, 0x10
jmp 0x552038
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x168]
cmp dword [ebp + 0x50], eax
ja 0x55206b
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x16c]
cmp eax, 0xc00
jbe 0x55205c
mov eax, 0xc00
jmp 0x552066
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
cmp dword [ebp + 0x54], eax
jbe 0x552094
mov dword [esp + 0x28], 1
mov esi, dword [esp + 0x24]
test ebx, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [edx + 0x11c], ebx
jne 0x5520aa
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x5520a6
inc dword [esp + 0x68]
jmp 0x5520aa
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x552073
mov esi, dword [esp + 0x24]
add esi, dword [esp + 0x54]
jmp 0x552077
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
add ecx, 7
lea eax, [edx + eax + 7]
shr ecx, 3
shr eax, 3
add eax, ecx
add esi, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], esi
jne 0x5520de
mov esi, 1
mov dword [esp + 0x24], esi
test ebx, ebx
jne 0x552109
mov ecx, dword [esp + 0x78]
cmp ecx, 0x80
jb 0x552114
xor edx, edx
mov eax, esi
div ecx
cmp eax, 2
jbe 0x552109
xor edx, edx
mov eax, ecx
div dword [esp + 0x80]
cmp eax, 0x40
jb 0x552114
mov dword [esp + 0x84], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ecx + 0xf8], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [eax + 0xd0], esi
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
add esi, 0xc
and esi, 0xfffffff8
mov dword [edx + 0xfc], esi
mov ecx, dword [esp + 0x10]
lea eax, [esi + esi*2]
push eax
add ecx, 0x4d8
push ecx
call fcn.005d8dd0
mov edx, dword [esp + 0x18]
mov dword [edx + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x18]
add esp, 8
test eax, eax
je 0x5529b6
add eax, esi
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax]
add ecx, esi
mov esi, dword [esp + 0x300]
mov dword [edx + 0x7c], ecx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [eax], 0
mov edi, dword [esi + 0x2c]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov ebx, dword [edx]
mov edx, dword [esp + 0x38]
sub ecx, edi
sar ecx, 2
test edx, edx
mov dword [esi + 0x48], ecx
mov edi, dword [eax + 0x18]
lea ecx, [edi + edx]
mov dword [esp + 0x64], edi
mov dword [esp + 0x2c], ecx
je 0x552226
xor eax, eax
mov ecx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov word [ebx], ax
mov word [ebx + 2], dx
or eax, 0xffffffff
mov ecx, edx
mov ebp, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x6c], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
add ebx, 0x20
add eax, ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov dword [ecx + 0x118], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ecx + 0xec], edx
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
mov ecx, dword [esi + 0x4c]
xor edx, edx
test edi, edi
sete dl
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
test ecx, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edx
jbe 0x5524b7
mov edi, dword [esp + 0x2c]
jmp 0x552261
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ebp, dword [eax]
xor ecx, ecx
mov eax, ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov ax, word [ebp + 0x54]
test al, 1
jne 0x5522fa
test ah, ah
jns 0x5522c4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5522c4
mov byte [edi], cl
mov word [ebx + 2], 1
mov word [ebx], cx
inc edi
add ebx, 0x20
mov eax, ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [esp + 0x2c], edi
mov dword [eax + 0x1c], ecx
jmp 0x5522d9
mov ecx, edx
and ecx, 7
mov al, 1
shl al, cl
mov ecx, edx
shr ecx, 3
mov word [ebx + 0xa], cx
mov byte [ebx + 8], al
mov ecx, dword [esp + 0x64]
mov eax, edx
shr eax, 3
add eax, ecx
mov ecx, edx
mov dword [ebp + 0xc], eax
and ecx, 7
mov al, 1
shl al, cl
inc edx
mov dword [esp + 0x1c], edx
mov byte [ebp + 0x56], al
jmp 0x552305
mov dword [ebp + 0xc], 0
mov byte [ebp + 0x56], 0
mov edx, dword [ebp]
mov ecx, ebp
mov dword [ebp + 8], edi
call dword [edx + 0x68]
cmp eax, 0x10
jne 0x55233b
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov ecx, eax
shr ecx, 3
add ecx, edx
mov dword [ebp + 0x58], ecx
mov ecx, dword [ebp + 0x4c]
mov dl, al
and dl, 7
and ecx, 7
add eax, ecx
mov byte [ebp + 0x5c], dl
mov dword [esp + 0x1c], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x4c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
mov esi, dword [eax + ecx*4]
test esi, esi
mov dword [esp + 0x30], esi
je 0x5523f3
mov eax, dword [esi + 8]
test eax, eax
je 0x5523f3
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
mov ecx, dword [eax + 0x18]
mov edi, dword [edx + 0x7c]
mov eax, dword [esi]
sub edi, ecx
push edi
mov ecx, esi
mov dword [esp + 0x80], edi
call dword [eax + 0xb0]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5523a8
mov cl, byte [esi + 0x56]
and cl, byte [eax]
neg cl
sbb ecx, ecx
neg ecx
mov eax, ecx
je 0x5523a8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5523e2
mov dl, byte [ebp + 0x56]
or byte [eax], dl
jmp 0x5523e2
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5523ba
mov cl, byte [ebp + 0x56]
mov dl, byte [eax]
not cl
and dl, cl
mov byte [eax], dl
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x3c]
mov edi, dword [ebp + 8]
mov ecx, eax
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x7c]
mov esi, eax
mov eax, dword [esi]
neg edi
push edi
mov ecx, esi
call dword [eax + 0xb0]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x55241e
mov ecx, dword [esp + 0x310]
mov esi, dword [esp + 0x3c]
push ecx
push eax
push ebp
mov ecx, esi
call fcn.0040416f
add esi, 0x48
mov dword [esp + 0x3c], esi
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x3c]
mov esi, eax
mov word [ebx + 2], si
mov al, byte [ebp + 0x54]
add edi, esi
test al, 0x10
mov dword [esp + 0x2c], edi
je 0x552440
mov word [ebx], 4
jmp 0x55246b
mov eax, dword [esp + 0x84]
test eax, eax
je 0x552466
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x6c]
cmp eax, 0xfe
jne 0x552466
cmp esi, 0xa
jb 0x552466
mov word [ebx], 1
jmp 0x55246b
mov word [ebx], 0
dec dword [esp + 0x4c]
jne 0x55247f
mov ecx, dword [esp + 0x1c]
add ecx, 7
and ecx, 0xfffffff8
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
add edx, 0x68
mov dword [ebp + 0x18], edx
mov esi, dword [esp + 0x18]
inc eax
add esi, 4
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
jb 0x55225d
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x300]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x30], ebx
mov edx, dword [eax]
mov ecx, dword [edx + 0xd0]
mov edi, dword [edx + 0x7c]
mov esi, dword [eax + 0x18]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x2fc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x3c0]
mov eax, dword [edx + 0x3c4]
mov esi, ecx
and esi, eax
cmp esi, 0xffffffff
jne 0x552507
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ecx + 0xd8], esi
jmp 0x552546
mov esi, dword [esp + 0x10]
mov edi, dword [esi]
cmp dword [edi + 0xdc], 6
jne 0x552530
mov esi, dword [edx + 0x3b8]
mov edx, dword [edx + 0x3bc]
cmp eax, edx
ja 0x55252c
jb 0x552530
cmp ecx, esi
jb 0x552530
mov ecx, esi
mov eax, edx
mov edx, dword [edi + 0xd0]
push 0
push edx
push eax
push ecx
call fcn.006cfc60
mov dword [edi + 0xd8], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [eax + 0xd8]
mov ecx, 1
cmp edx, ecx
jae 0x552561
mov dword [eax + 0xd8], ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov eax, dword [esp + 0x31c]
cmp dword [ecx + 0xd8], eax
jbe 0x55257c
mov dword [ecx + 0xd8], eax
mov ecx, dword [esp + 0x300]
mov edi, dword [esp + 0x308]
mov ebp, dword [ecx + 0x38]
xor esi, esi
cmp edi, esi
mov dword [ecx + 0x3c], eax
je 0x552725
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov dword [edx + 0x64], edi
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x28], eax
mov edx, dword [edx]
mov eax, 1
mov dword [edx + 0x100], eax
xor edx, edx
cmp ebx, esi
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx]
setne dl
mov dword [ebx + 0x114], edx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x48], ebp
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x18], edx
mov dword [ebp + 4], eax
mov eax, dword [ecx + 0x50]
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], eax
mov dword [ebp], esi
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x1c], str.group_key
lea ebx, [ebx]
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x48]
mov edx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax]
movsx ebx, byte [ecx + 0x32]
mov byte [edx + 0x17], 0
mov eax, dword [esp + 0x14]
mov ecx, esi
mov dword [eax], esi
call fcn.00409db3
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
mov ecx, dword [esp + 0x14]
mov word [ecx + 0xc], ax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x16], al
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x16]
cmp al, 1
je 0x552668
cmp al, 0xf
je 0x552668
cmp al, 0x11
je 0x552668
mov eax, 1
jmp 0x55266a
xor eax, eax
mov word [ecx + 0x10], ax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5526fe
mov edx, dword [esp + 0x48]
mov dword [edi + 0x28], edx
movzx ecx, byte [esi + 0x56]
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push ecx
xor ecx, ecx
test ebx, ebx
setne cl
push edx
add ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x308]
push edx
mov edx, dword [ecx + 0x14]
push edx
mov ecx, esi
call dword [eax + 0xac]
test eax, eax
mov dword [edi + 0x24], eax
je 0x5529b6
test ebx, ebx
je 0x5526ea
or dword [ebp + 4], 0x800
mov al, byte [esi + 0x56]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x17], al
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
mov ecx, dword [esp + 0x14]
sub edx, esi
mov dword [ecx + 8], edx
inc dword [edi + 0x28]
inc dword [esp + 0x48]
mov eax, dword [esp + 0x14]
or byte [eax + 0x15], 2
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx]
call dword [edx + 0x3c]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0xc]
add dword [ebp], ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [edi]
add ecx, 0x18
test edi, edi
mov dword [esp + 0x14], ecx
jne 0x552600
mov ecx, dword [esp + 0x300]
mov eax, dword [esp + 0x30c]
test eax, eax
je 0x552929
mov eax, dword [ecx + 0x4c]
mov ebx, dword [esp + 0x44]
cmp ebx, eax
je 0x552929
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x38]
sub esi, edx
mov edx, 0
setne dl
sub edx, eax
add edx, ebx
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x10]
mov byte [eax + 0x4ba], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov eax, 1
mov dword [edx + 0x100], eax
je 0x55278c
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [edx + 0x114], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*2]
shl eax, 3
push eax
add ecx, 0x4d8
push ecx
call fcn.005d8dd0
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x5529b6
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*2]
shl ecx, 3
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
movzx edx, word [esp + 0x24]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov dword [eax + 0x48], ebp
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp esi, eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 4], 0x801
mov dword [ebp], edx
mov dword [ebp + 0x1c], str.distinct_key
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x20], eax
je 0x55287f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov byte [eax + 0x17], 0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov eax, dword [esp + 0x14]
push 0x68
mov word [eax + 0xc], si
call fcn.0040105a
mov esi, eax
add esp, 4
test esi, esi
je 0x552860
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx + 0xc]
push 0x844320
push eax
mov eax, dword [eax + 0x18]
push 0
push 0
push 0
push 0
push edx
push eax
mov ecx, esi
call fcn.00404cb9
mov dword [esi], vtable.Field_string.0
mov dword [esi + 0x60], 1
jmp 0x552862
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov edx, dword [esp + 0x14]
mov word [edx + 0x10], 1
mov eax, dword [esp + 0x14]
mov byte [eax + 0x16], 2
add dword [esp + 0x14], 0x18
mov ecx, dword [esp + 0x300]
mov eax, dword [ecx + 0x4c]
cmp eax, ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x14]
lea edx, [ecx + eax*4]
mov dword [esp + 0x18], edx
jae 0x552929
sub ebx, eax
mov eax, dword [esp + 0x14]
mov byte [eax + 0x17], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
call fcn.00409db3
mov edx, dword [esp + 0x14]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x14]
mov word [ecx + 0xc], ax
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x16], al
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x16]
cmp al, 1
je 0x552906
cmp al, 0xf
je 0x552906
cmp al, 0x11
je 0x552906
mov eax, 1
jmp 0x552908
xor eax, eax
mov word [ecx + 0x10], ax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, 4
add ecx, 0x18
dec ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
jne 0x5528a1
mov edx, dword [esp + 0x2fc]
mov eax, dword [edx + 0xbd4]
test eax, eax
jne 0x5529b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ecx + 0x12c], 1
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
cmp dword [edx + 0xdc], 9
jne 0x552982
mov ecx, dword [esp + 0x318]
mov edx, dword [esp + 0x314]
push ecx
mov ecx, dword [esp + 0x304]
push edx
push ecx
push eax
call fcn.00544d80
add esp, 0x10
test eax, eax
jne 0x5529b6
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push 4
lea esi, [eax + 4]
mov edi, eax
mov eax, dword [edx + 0x94]
push 2
push eax
call fcn.00409089
test eax, eax
mov esi, dword [esi]
mov ecx, esi
je 0x552a02
mov edx, dword [esi]
push 0
push eax
call dword [edx + 0x18]
mov dword [edi + 0x4a4], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2fc]
mov ecx, dword [esp + 0x74]
push edx
push eax
mov dword [eax + 0x14], ecx
call fcn.004013d4
add esp, 8
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
je 0x5529e9
push eax
push 0x973ee8
call fcn.005e8970
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2e4]
call fcn.006cedd0
add esp, 0x2e8
ret
mov eax, dword [esi]
push 1
call dword [eax + 0xb0]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x2ec]
mov eax, dword [esp + 8]
pop ebp
pop ebx
call fcn.006cedd0
add esp, 0x2e8
ret