Function at 0xe6bd68
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0xe6bd71
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 0x36], dl
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 4]
call fcn.00408218
mov eax, dword [ebp + 8]
call fcn.00408218
xor eax, eax
push ebp
push 0xe6cf45
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0xe6cf68
call 0xe39a7c
mov byte [ebp - 0x37], 0
cmp dword [ebp - 4], 0
jne 0xe6bde3
lea edx, [ebp - 0x58]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call 0x41932c
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 4]
xor edx, edx
call 0x418f84
mov eax, dword [ebp - 4]
call fcn.00e68250
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0xe6be04
call 0xe39b18
jmp 0xe6ce26
cmp dword [ebp + 8], 0
jne 0xe6be20
lea eax, [ebp + 8]
mov edx, dword [0xf061a8]
mov edx, dword [edx]
mov edx, dword [edx + 0xd0]
call fcn.00408284
cmp dword [ebp + 8], 0
jne 0xe6be33
lea eax, [ebp + 8]
mov edx, 0xe6cfac
call fcn.00408284
lea edx, [ebp - 0x60]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call 0x41932c
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x14]
xor edx, edx
call 0x418f84
xor edx, edx
push ebp
push 0xe6cc04
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [0xf07954]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x73d5c0]
call 0x760dc8
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x68]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call 0x419058
lea eax, [ebp - 0x64]
mov edx, 0xe6cfc8
call 0x408654
mov ecx, dword [ebp - 0x64]
mov dl, 1
mov eax, dword [0x45b778]
call 0x45bb2c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov si, 0xffef
call 0x405e38
push 0
mov ecx, 0xe6cff4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
dec eax
jne 0xe6bf1b
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, 0xe6d014
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov ecx, 0
call fcn.00408484
mov ecx, dword [ebp - 0x6c]
mov edx, 3
mov eax, dword [ebp - 0x40]
call 0x76252c
mov dl, 2
mov eax, dword [ebp - 0x40]
call 0x764410
jmp 0xe6bf34
xor ecx, ecx
mov edx, 3
mov eax, dword [ebp - 0x40]
call 0x76252c
xor edx, edx
mov eax, dword [ebp - 0x40]
call 0x764410
lea edx, [ebp - 0x84]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call 0x419058
lea eax, [ebp - 0x80]
mov edx, 0xe6d03c
call 0x408654
mov eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0xe6d074
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call 0x948704
lea eax, [ebp - 0x78]
mov edx, 0xe6d090
call 0x408654
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov ecx, 0
call fcn.00408484
mov ecx, dword [ebp - 0x74]
mov edx, 5
mov eax, dword [ebp - 0x40]
call 0x76252c
push 0xe6d0bc
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0xe6d0d8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov ecx, 0
call fcn.00408484
mov ecx, dword [ebp - 0x88]
mov edx, 1
mov eax, dword [ebp - 0x40]
call 0x76252c
push 0xe6d0f4
lea eax, [ebp - 0x94]
push eax
mov ecx, 0xe6d114
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov ecx, 0
call fcn.00408484
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x40]
call 0x7629a8
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x40]
call 0x762974
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
call fcn.0040845c
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00416f10
mov eax, dword [ebp - 0x98]
mov edx, 0xe6d12c
call 0x4089b8
je 0xe6c0a9
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x40]
call 0x762974
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov dx, 0x400
call 0x947794
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x40]
call 0x7629a8
mov eax, dword [ebp - 0x40]
mov byte [eax + 0xec], 0
mov eax, dword [ebp - 0x40]
mov si, 0xfff0
call 0x405e38
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x3c], edx
call fcn.00405b78
mov ecx, dword [0xf07954]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x7b43c0]
call 0x7bb954
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0xe6cbfa
inc esi
xor ebx, ebx
mov byte [ebp - 0x4d], 0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x2dc]
mov eax, dword [ebp - 0x44]
call 0x56ba4c
mov eax, dword [ebp - 0x44]
call 0x7bce40
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0xb4]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call 0x4179d4
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov edx, 0xe6d14c
call 0x408714
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x44]
call 0x7bce40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd8c4
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x44]
call 0x7bd8c4
mov edx, 0xe6d214
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd8ac
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x44]
call 0x7bd8ac
mov edx, 0xe6d320
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd8a0
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x44]
call 0x7bd8a0
mov edx, 0xe6d474
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd0c0
lea edx, [ebp - 0xb8]
call 0x76401c
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x44]
call 0x7bcd68
mov dl, 1
mov eax, dword [ebp - 0x44]
call 0x7bcfb8
mov eax, dword [ebp - 0x44]
call 0x56ba40
mov eax, dword [ebp - 0x44]
call 0x56e2e4
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xa5], 0
jne 0xe6cb90
mov edx, 0xe6d514
mov eax, dword [ebp - 0x44]
call 0x56cdc0
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x74]
cmp dword [ebp - 0xc], 0
jne 0xe6c23c
lea eax, [ebp - 0xc]
mov edx, 0xe6cfac
call fcn.00408284
mov eax, dword [ebp - 0x44]
call 0x56ba4c
mov eax, dword [ebp - 0x44]
call 0x7bce40
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0xc4]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call 0x4179d4
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, 0xe6d548
call 0x408714
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x44]
call 0x7bce40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd8c4
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x44]
call 0x7bd8c4
mov edx, 0xe6d6d8
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd8ac
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x44]
call 0x7bd8ac
mov edx, 0xe6d950
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd8a0
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x44]
call 0x7bd8a0
mov edx, 0xe6d474
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call 0x7bd0c0
lea edx, [ebp - 0xc8]
call 0x76401c
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x44]
call 0x7bcd68
mov dl, 1
mov eax, dword [ebp - 0x44]
call 0x7bcfb8
mov eax, dword [ebp - 0x44]
call 0x56ba40
mov eax, dword [ebp - 0x44]
call 0x56e2e4
lea edx, [ebp - 0xd0]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call 0x419058
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 8]
mov ecx, 0xe6dc08
call 0x408714
mov eax, dword [ebp - 8]
call 0x418aa8
test al, al
jne 0xe6c37f
mov eax, dword [ebp - 8]
call 0x4197ac
mov ecx, dword [0xf07954]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4d9a80]
call 0x4e0294
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 0x80
mov edx, 0xe6dc2c
call fcn.00408230
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x48]
call 0x4e0998
mov eax, dword [ebp - 0x48]
add eax, 0x84
mov edx, 0xe6dc68
call fcn.00408230
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
lea ecx, [ebp - 0xd4]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xd4]
mov edx, dword [0xf05d20]
call 0x4089b8
sete al
test al, al
je 0xe6c406
lea eax, [ebp - 0x1c]
xor edx, edx
call fcn.00408284
jmp 0xe6c413
lea eax, [ebp - 0x1c]
mov edx, 0xe6dc7c
call fcn.00408284
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push 0xe6dca4
push dword [ebp + 8]
push 0xe6dcb4
lea eax, [ebp - 0xd8]
mov edx, 5
call fcn.004087f8
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x48]
call 0x4e0928
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
lea ecx, [ebp - 0xdc]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xdc]
mov edx, dword [0xf05d20]
call 0x4089b8
sete al
test al, al
je 0xe6c485
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.00408284
jmp 0xe6c492
lea eax, [ebp - 0x24]
mov edx, 0xe6dc7c
call fcn.00408284
lea ecx, [ebp - 0xe0]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xe0]
mov edx, dword [0xf05d20]
call 0x4089b8
sete al
test al, al
je 0xe6c4c6
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.00408284
jmp 0xe6c4d3
lea eax, [ebp - 0x2c]
mov edx, 0xe6dc7c
call fcn.00408284
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push 0xe6dca4
push dword [ebp + 8]
push 0xe6dccc
lea ecx, [ebp - 0xe4]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0xe4]
push dword [ebp - 0x2c]
push 0xe6dca4
push dword [ebp + 8]
push 0xe6dcb4
mov eax, dword [ebp - 0x48]
add eax, 0x70
mov edx, 0xa
call fcn.004087f8
lea edx, [ebp - 0xe8]
mov eax, dword [ebp + 8]
call 0x948494
mov eax, dword [ebp - 0xe8]
push eax
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0xc]
call 0x948494
mov edx, dword [ebp - 0xec]
pop eax
call 0x408918
jae 0xe6c8d3
lea ecx, [ebp - 0xf0]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xf0]
mov edx, dword [0xf05d20]
call 0x4089b8
sete al
test al, al
je 0xe6c585
lea eax, [ebp - 0x30]
xor edx, edx
call fcn.00408284
jmp 0xe6c592
lea eax, [ebp - 0x30]
mov edx, 0xe6dc7c
call fcn.00408284
push dword [ebp - 8]
push 0xe6dce4
lea ecx, [ebp - 0xf4]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0xf4]
push dword [ebp - 0x30]
push 0xe6dca4
push dword [ebp - 0xc]
push 0xe6dcb4
lea eax, [ebp - 0x10]
mov edx, 7
call fcn.004087f8
mov edx, 0xe6dcf4
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [eax]
call dword [edx + 0xa4]
test al, al
jne 0xe6c632
mov dl, 1
mov eax, 0xe6dd28
call 0xe39a7c
lea ecx, [ebp - 0xf8]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xf8]
call fcn.00e6ea68
mov edx, 0xe6dcf4
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [0x551b2c]
call 0x405db8
mov edx, dword [ebp - 0x10]
call 0x564484
call 0xe39b18
mov eax, dword [ebp - 0x10]
call fcn.00418a60
test al, al
je 0xe6c772
push 0x30
lea edx, [ebp - 0xfc]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x531ab0
mov eax, dword [ebp - 0xfc]
call fcn.004082bc
push eax
push 0xe6dd80
lea ecx, [ebp - 0x104]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x104]
push 0xe6dda8
push dword [ebp + 8]
push 0xe6ddd0
push dword [ebp - 0xc]
push 0xe6de34
push 0xe6de48
push 0xe6de5c
push 0xe6de48
push 0xe6df44
lea eax, [ebp - 0x100]
mov edx, 0xb
call fcn.004087f8
mov eax, dword [ebp - 0x100]
call fcn.004082bc
push eax
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x533ba0
push eax
call 0x40ed28
push 1
push 0xe6dfb8
push 0xe6dfc8
lea edx, [ebp - 0x110]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call 0x419094
push dword [ebp - 0x10c]
push 0xe6dfe4
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004087f8
mov eax, dword [ebp - 0x108]
call fcn.004082bc
push eax
mov eax, dword [ebp - 0x10]
call fcn.004082bc
push eax
push 0xe6dfe8
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x533ba0
push eax
call 0x47ec9c
lea ecx, [ebp - 0x114]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x114]
call fcn.00e6bb38
mov byte [ebp - 0x4d], 1
mov byte [ebp - 0x37], 1
jmp 0xe6cbec
test ebx, ebx
jne 0xe6cbec
lea ecx, [ebp - 0x118]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x118]
mov edx, dword [0xf05d20]
call 0x4089b8
jne 0xe6c838
push 0x30
lea edx, [ebp - 0x11c]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x531ab0
mov eax, dword [ebp - 0x11c]
call fcn.004082bc
push eax
push 0xe6dd80
lea ecx, [ebp - 0x124]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x124]
push 0xe6dda8
push dword [ebp + 8]
push 0xe6ddd0
push dword [ebp - 0xc]
push 0xe6de34
push 0xe6de48
push 0xe6e000
push 0xe6de48
push 0xe6e140
lea eax, [ebp - 0x120]
mov edx, 0xb
call fcn.004087f8
mov eax, dword [ebp - 0x120]
call fcn.004082bc
push eax
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x533ba0
push eax
call 0x40ed28
jmp 0xe6cbec
push 0x30
lea edx, [ebp - 0x128]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x531ab0
mov eax, dword [ebp - 0x128]
call fcn.004082bc
push eax
push 0xe6dd80
lea ecx, [ebp - 0x130]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x130]
push 0xe6dda8
push dword [ebp + 8]
push 0xe6ddd0
push dword [ebp - 0xc]
push 0xe6de34
push 0xe6de48
push 0xe6e188
push 0xe6de48
push 0xe6e2c8
lea eax, [ebp - 0x12c]
mov edx, 0xb
call fcn.004087f8
mov eax, dword [ebp - 0x12c]
call fcn.004082bc
push eax
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x533ba0
push eax
call 0x40ed28
mov byte [ebp - 0x37], 1
jmp 0xe6cbec
test ebx, ebx
jne 0xe6cbec
lea edx, [ebp - 0x134]
mov eax, dword [ebp + 8]
call 0x948494
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0xc]
call 0x948494
mov edx, dword [ebp - 0x138]
pop eax
call 0x408918
jbe 0xe6ca59
mov eax, dword [ebp - 0x44]
call 0x56e700
mov edx, 0xe6d514
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov edx, 0xe6dcf4
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [eax]
call dword [edx + 0x118]
push 0x44
lea edx, [ebp - 0x13c]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x531ab0
mov eax, dword [ebp - 0x13c]
call fcn.004082bc
push eax
push 0xe6dd80
lea ecx, [ebp - 0x144]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x144]
push 0xe6dda8
push dword [ebp + 8]
push 0xe6e320
push dword [ebp - 0xc]
push 0xe6de34
push 0xe6de48
push 0xe6e380
push 0xe6de48
push 0xe6e540
lea eax, [ebp - 0x140]
mov edx, 0xb
call fcn.004087f8
mov eax, dword [ebp - 0x140]
call fcn.004082bc
push eax
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x533ba0
push eax
call 0x40ed28
cmp eax, 6
jne 0xe6ca44
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
je 0xe6ca44
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x48]
call 0x4e08a8
mov eax, dword [ebp - 0x148]
call fcn.00418a60
test al, al
je 0xe6ca44
mov dl, 1
mov eax, 0xe6e5a4
call 0xe39a7c
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x48]
call 0x4e08a8
mov eax, dword [ebp - 0x14c]
push eax
mov edx, 0xe6dcf4
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [0x551b2c]
call 0x405db8
pop edx
call 0x564230
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2a4]
call 0xe39b18
jmp 0xe6cbec
mov edx, 0xe6dcf4
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [eax]
call dword [edx + 0xa4]
and al, byte [ebp - 0x35]
je 0xe6cbec
push 0x44
lea edx, [ebp - 0x150]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x531ab0
mov eax, dword [ebp - 0x150]
call fcn.004082bc
push eax
push 0xe6dd80
lea ecx, [ebp - 0x158]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x158]
push 0xe6e604
push dword [ebp - 0xc]
push 0xe6e644
push 0xe6de48
push 0xe6e380
push 0xe6de48
push 0xe6e540
lea eax, [ebp - 0x154]
mov edx, 9
call fcn.004087f8
mov eax, dword [ebp - 0x154]
call fcn.004082bc
push eax
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x533ba0
push eax
call 0x40ed28
cmp eax, 6
jne 0xe6cbec
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
je 0xe6cbec
mov dl, 1
mov eax, 0xe6e5a4
call 0xe39a7c
mov eax, dword [ebp - 0x44]
call 0x56e700
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 0x48]
call 0x4e08a8
mov eax, dword [ebp - 0x15c]
call fcn.00418a60
test al, al
je 0xe6cb7e
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0x48]
call 0x4e08a8
mov eax, dword [ebp - 0x160]
push eax
mov edx, 0xe6dcf4
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [0x551b2c]
call 0x405db8
pop edx
call 0x564230
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2a4]
call 0xe39b18
jmp 0xe6cbec
test ebx, ebx
jne 0xe6cbec
mov eax, dword [ebp - 0x44]
call 0x56e794
lea ecx, [ebp - 0x164]
mov edx, ebx
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x164]
push eax
mov edx, 0xe6e6b8
mov eax, dword [ebp - 0x44]
call 0x56cdc0
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov edx, 0xe6d514
mov eax, dword [ebp - 0x44]
call 0x56cdc0
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x2a4]
cmp byte [ebp - 0x4d], 0
jne 0xe6cbfa
inc ebx
dec esi
jne 0xe6c0f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xe6cc0e
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x4c], edx
call fcn.00405b78
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x3c], edx
call fcn.00405b78
mov eax, dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x48], edx
call fcn.00405b78
mov eax, dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x44], edx
call fcn.00405b78
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x40], edx
call fcn.00405b78
mov dl, 1
mov eax, 0xe6e6e8
call 0xe39a7c
cmp byte [ebp - 0x37], 0
jne 0xe6ccb5
lea edx, [ebp - 0x170]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x16c]
call 0x41932c
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x168]
xor edx, edx
call 0x418f84
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 4]
call 0x4089b8
jne 0xe6ccb5
xor edx, edx
movzx eax, byte [ebp - 0x35]
call fcn.00e6e844
mov byte [ebp - 0x37], al
movzx eax, byte [ebp - 0x37]
xor al, 1
and al, byte [ebp - 0x36]
je 0xe6ce21
lea edx, [ebp - 0x178]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call 0x419058
lea eax, [ebp - 0x174]
mov edx, 0xe6e738
call 0x408654
mov eax, dword [ebp - 0x174]
call fcn.00418a60
test al, al
je 0xe6ce21
lea edx, [ebp - 0x180]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
call 0x419058
lea eax, [ebp - 0x17c]
mov edx, 0xe6e770
call 0x408654
mov ecx, dword [ebp - 0x17c]
mov dl, 1
mov eax, dword [0x45b778]
call 0x45bb2c
mov dword [ebp - 0x3c], eax
push 1
mov ecx, 0xe6e7a8
mov edx, 0xe6e7e0
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
or al, byte [ebp - 0x35]
je 0xe6ce14
movzx eax, byte [ebp - 0x35]
xor al, 1
test al, al
je 0xe6cd88
lea eax, [ebp - 0x34]
mov edx, 0xe6e810
call fcn.00408284
jmp 0xe6cd92
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.00408284
push dword [ebp - 0x34]
push 0xe6e830
mov eax, dword [0xf07b30]
push dword [eax]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004087f8
push 1
push 0xe6dfb8
mov eax, dword [ebp - 0x18]
call fcn.004082bc
push eax
lea edx, [ebp - 0x188]
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x532bcc
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call 0x419058
lea eax, [ebp - 0x184]
mov edx, 0xe6e738
call 0x408654
mov eax, dword [ebp - 0x184]
call fcn.004082bc
push eax
push 0xe6dfe8
mov eax, dword [0xf07954]
mov eax, dword [eax]
call 0x533ba0
push eax
call 0x47ec9c
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x3c], edx
call fcn.00405b78
call 0xe39b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xe6cf4f
lea eax, [ebp - 0x188]
mov edx, 0xa
call fcn.00408228
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00408228
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00408228
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.00408228
lea eax, [ebp - 0x144]
mov edx, 0x1f
call fcn.00408228
lea eax, [ebp - 0xc8]
call fcn.00406f4c
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00408228
lea eax, [ebp - 0xb8]
call fcn.00406f4c
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00408228
lea eax, [ebp - 0xa8]
mov edx, 3
call 0x406f70
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00408228
lea eax, [ebp - 0x90]
call fcn.00406f4c
lea eax, [ebp - 0x8c]
call fcn.00408220
lea eax, [ebp - 0x88]
call fcn.00406f4c
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.00408228
lea eax, [ebp - 0x74]
call fcn.00406f4c
lea eax, [ebp - 0x70]
call fcn.00408220
lea eax, [ebp - 0x6c]
call fcn.00406f4c
lea eax, [ebp - 0x68]
mov edx, 6
call fcn.00408228
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00408228
lea eax, [ebp + 8]
call fcn.00408220
ret