Function at 0x436af0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x545492
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
lea ecx, [esp + 0xb8]
mov dword [esp + 0xa4], edi
call fcn.0053fedc
mov dword [esp + 0x210], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], 0x5562fc
mov ebx, dword [ebp + 0xa88]
lea eax, [esp + 0x150]
push edi
lea ecx, [esp + 0x108]
push eax
mov eax, dword [esp + 0x220]
lea edx, [esp + 0x108]
push ecx
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x224], 1
mov dword [esp + 0xf0], ebx
call fcn.00431740
mov ecx, dword [eax]
xor esi, esi
mov dword [esp + 0x78], ecx
cmp ebx, edi
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x84], edx
jle 0x436bc8
cmp esi, dword [ebp + 0xa88]
jae 0x436bb0
mov eax, dword [ebp + 0xa84]
mov ecx, dword [eax + esi*4]
jmp 0x436bb2
xor ecx, ecx
mov edx, dword [esp + 0x218]
push edx
call fcn.0045fea0
test eax, eax
jne 0x436bee
inc esi
cmp esi, ebx
jl 0x436b9d
mov dword [esp + 0x58], 0x5555a8
lea ecx, [esp + 0x58]
mov byte [esp + 0x210], 2
call fcn.005400f8
mov dword [esp + 0x58], 0x555594
jmp 0x437bb0
mov ebx, dword [esp + 0x21c]
cmp ebx, edi
jne 0x436c1f
push 0x3e8
mov ecx, ebp
call fcn.0053ff18
mov dword [ebp + 0x158], eax
mov eax, dword [eax + 0x20]
push eax
call dword [0x553da4]
push eax
call fcn.00540008
mov ebx, eax
jmp 0x436c2a
mov dword [esp + 0xa4], 1
mov eax, dword [esp + 0x220]
cmp eax, edi
je 0x436c56
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0x556d28
mov eax, dword [esp + 0x228]
mov byte [esp + 0x210], 3
cmp eax, edi
jne 0x436c81
lea eax, [ebp + 0x15c]
push eax
call dword [0x5530f8]
push eax
lea ecx, [esp + 0x8c]
call fcn.00540104
lea ecx, [esp + 0x88]
push ecx
mov ecx, ebx
call fcn.00540272
push 1
mov ecx, ebx
call fcn.00540242
mov edx, dword [ebx]
push edi
mov ecx, ebx
mov dword [esp + 0xe4], eax
call dword [edx + 0x34]
mov dword [esp + 0xe4], eax
xor eax, eax
mov dword [esp + 0x6c], eax
jmp 0x436ccd
xor edi, edi
cmp eax, dword [ebp + 0xa88]
jae 0x436ce0
mov ecx, dword [ebp + 0xa84]
mov esi, dword [ecx + eax*4]
jmp 0x436ce2
xor esi, esi
mov edx, dword [esp + 0x218]
mov ecx, esi
push edx
call fcn.0045fea0
test eax, eax
je 0x437b07
mov ecx, esi
call fcn.004bcc80
mov edi, eax
cmp edi, 2
mov dword [esp + 0x28], edi
jge 0x436d1b
mov ecx, esi
call fcn.004faee0
cmp eax, 0xc
jne 0x437b07
mov eax, dword [esp + 0x224]
test eax, eax
je 0x436d2e
cmp esi, eax
jne 0x437b07
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
sub eax, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x68], eax
sub ecx, edx
mov edx, dword [ebp + 0x1c4]
push edx
mov edx, dword [ebp + 0x1c0]
push edx
mov edx, dword [ebp + 0x26c]
push edx
mov edx, dword [ebp + 0x268]
push edx
mov edx, dword [ebp + 0x264]
push edx
mov edx, dword [ebp + 0x25c]
push edx
mov edx, dword [ebp + 0x258]
push edx
mov edx, dword [ebp + 0x254]
push edx
mov edx, dword [ebp + 0x250]
push edx
push eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x6c], ecx
push ecx
mov ecx, dword [esp + 0xa4]
push eax
push ecx
mov ecx, esi
call fcn.0045fcb0
lea edx, [esp + 0x48]
mov ecx, esi
push edx
push 0
call fcn.00460100
mov edx, dword [esi + 0x1b8]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
test edx, edx
mov dword [esp + 0x24], ecx
jle 0x436fa2
cmp edi, 1
jle 0x4374be
mov byte [esp + 0xbc], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], 3
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, esi
call fcn.00460100
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], edx
call fcn.004faee0
cmp eax, 1
jne 0x436ec3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, edi
sub ecx, edx
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
cmp edx, 0x1a9
jge 0x436ec3
mov edx, dword [esi + 0x15c]
mov eax, dword [esi + 0x158]
push edx
push eax
push 0
call dword [0x5530e8]
test eax, eax
mov dword [esp + 0x50], eax
je 0x436e7b
mov edx, dword [ebx + 4]
mov ecx, eax
push ecx
push edx
call dword [0x5530c4]
mov edi, eax
jmp 0x436e7d
xor edi, edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x15c]
push ecx
push edx
mov ecx, ebx
call fcn.005401e2
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, ebx
call fcn.005401dc
test edi, edi
je 0x436eb6
mov edx, dword [ebx + 4]
push edi
push edx
call dword [0x5530c4]
mov eax, dword [esp + 0x50]
push eax
call dword [0x5530ec]
jmp 0x436f10
cmp dword [esi + 0x1b8], 2
jne 0x436ed4
mov byte [esp + 0xbc], 1
mov ecx, dword [esi + 0x158]
mov edx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1bc]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esi + 0x15c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
push edi
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.004365f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jle 0x436f56
mov edi, dword [esp + 0x10]
inc edi
inc ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x48]
push ecx
push edi
mov ecx, esi
call fcn.00460100
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
inc edi
inc eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], eax
jmp 0x436df5
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
cmp eax, edx
mov dword [esp + 0x38], eax
jl 0x436f6a
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jl 0x436f7e
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x1c]
cmp edi, edx
jle 0x436f88
mov edx, edi
cmp ecx, eax
mov dword [esp + 0x2c], edx
jle 0x436f99
mov dword [esp + 0x30], ecx
jmp 0x43753a
mov dword [esp + 0x30], eax
jmp 0x43753a
cmp edi, 1
jle 0x4374be
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x15c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x158]
push eax
push ecx
push 0
call dword [0x5530e8]
test eax, eax
mov dword [esp + 0x50], eax
je 0x436fea
mov edx, dword [ebx + 4]
push eax
push edx
call dword [0x5530c4]
mov dword [esp + 0x20], eax
jmp 0x436ff2
mov dword [esp + 0x20], 0
mov ecx, esi
call fcn.004faee0
cmp eax, 0xb
jne 0x4373c7
mov eax, dword [ebx]
push 5
mov ecx, ebx
call dword [eax + 0x2c]
lea ecx, [esp + 0x60]
mov dword [esp + 0x34], eax
push ecx
push 0
mov ecx, esi
call fcn.00460100
lea edx, [esp + 0x70]
mov ecx, esi
push edx
push 1
call fcn.00460100
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x264]
mov dword [esp + 0x30], ecx
test eax, eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], ecx
je 0x4372a0
mov eax, dword [ebx + 4]
push 2
push eax
call dword [0x553118]
fild dword [ebp + 0x264]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x74]
add edx, ecx
mov dword [esp + 0xd8], eax
fmul qword [0x55a2d8]
mov dword [esp + 0x10], edx
fstp qword [esp + 0xe8]
fild dword [esp + 0x10]
fadd qword [0x5566b8]
fmul qword [0x554618]
call fcn.00540a50
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
add ecx, eax
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fadd qword [0x5566b8]
fmul qword [0x554618]
call fcn.00540a50
fld qword [esp + 0xe8]
fcos
mov edi, eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], edi
lea eax, [esp + 0xc0]
push eax
push ecx
fld st(0)
fst dword [esp + 0xa8]
fstp dword [esp + 0xc8]
fld qword [esp + 0xf0]
fsin
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xd4], edx
fst dword [esp + 0xcc]
fld st(0)
fchs
fstp dword [esp + 0xd0]
fild dword [esp + 0x30]
fild dword [esp + 0x18]
fld st(1)
fmul st(4)
fsubr st(2)
fld st(1)
fmul st(4)
faddp st(1)
fstp dword [esp + 0xd8]
fld st(0)
fmul st(4)
fsubr st(1)
fxch st(2)
fmul st(3)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0xdc]
fstp st(0)
fstp st(0)
fstp st(0)
call dword [0x553114]
mov edx, dword [ebp + 0x1c4]
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [ebp + 0x26c]
push edx
mov edx, dword [ebp + 0x268]
push eax
mov eax, dword [ebp + 0x25c]
push ecx
mov ecx, dword [ebp + 0x258]
push edx
mov edx, dword [ebp + 0x254]
push 0
push eax
push ecx
mov eax, dword [ebp + 0x250]
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0045fcb0
lea edx, [esp + 0x60]
mov ecx, esi
push edx
push 0
call fcn.00460100
lea eax, [esp + 0x70]
mov ecx, esi
push eax
push 1
call fcn.00460100
mov ecx, dword [ebp + 0x1c4]
mov edx, dword [ebp + 0x1c0]
mov eax, dword [ebp + 0x26c]
push ecx
mov ecx, dword [ebp + 0x268]
push edx
mov edx, dword [ebp + 0x264]
push eax
mov eax, dword [ebp + 0x25c]
push ecx
mov ecx, dword [ebp + 0x258]
push edx
mov edx, dword [ebp + 0x254]
push eax
mov eax, dword [ebp + 0x250]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0045fcb0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x74]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
sub edx, eax
sar ecx, 1
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x28]
sub edi, ecx
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], edi
add eax, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [0x5530f4]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ebp + 0xc4c]
cmp ecx, eax
jne 0x437346
push 0xc4c41c
push 1
push 4
call dword [0x5530e8]
test eax, eax
mov dword [esp + 0x44], eax
je 0x4372fb
mov edx, eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [0x5530c4]
mov dword [esp + 0x10], eax
jmp 0x437303
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push edi
push ecx
call dword [0x553100]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43733b
mov edx, eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [0x5530c4]
mov ecx, dword [esp + 0x44]
push ecx
call dword [0x5530ec]
mov eax, dword [ebp + 0x264]
test eax, eax
je 0x4373b6
mov eax, dword [ebx + 4]
lea edx, [esp + 0xc0]
push edx
push eax
mov dword [esp + 0xc8], 0x3f800000
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0x3f800000
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call dword [0x553114]
mov ecx, dword [esp + 0xd8]
mov edx, dword [ebx + 4]
push ecx
push edx
call dword [0x553118]
mov eax, dword [esp + 0x34]
mov ecx, ebx
push eax
call fcn.005401d0
jmp 0x43749e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [esp + 0x13c]
push edx
push eax
mov ecx, ebx
call fcn.005401e2
mov eax, dword [esp + 0x28]
mov edi, 1
cmp eax, edi
jle 0x43749e
lea ecx, [esp + 0x48]
push ecx
push edi
mov ecx, esi
call fcn.00460100
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
cmp edi, 1
jne 0x437413
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], eax
cmp ecx, dword [esp + 0x38]
jge 0x43741f
mov dword [esp + 0x38], ecx
jmp 0x437429
cmp ecx, dword [esp + 0x2c]
jle 0x437429
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x3c]
jge 0x437435
mov dword [esp + 0x3c], eax
jmp 0x43743f
cmp eax, dword [esp + 0x30]
jle 0x43743f
mov dword [esp + 0x30], eax
cmp edi, 2
jne 0x437487
mov ecx, esi
call fcn.004faee0
cmp eax, 3
je 0x43745c
mov ecx, esi
call fcn.004faee0
cmp eax, 4
jne 0x43747f
cmp dword [esp + 0x28], 3
jle 0x437491
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc edx
lea ecx, [esp + 0x160]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.005401e2
jmp 0x437491
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
inc eax
push eax
push ecx
mov ecx, ebx
call fcn.005401dc
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x4373f1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4374b1
mov edx, dword [ebx + 4]
push eax
push edx
call dword [0x5530c4]
mov eax, dword [esp + 0x50]
push eax
call dword [0x5530ec]
jmp 0x43753a
mov ecx, esi
call fcn.004faee0
cmp eax, 0xc
jne 0x43753a
lea edi, [esi + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
fld qword [0x556d20]
not ecx
dec ecx
cmp ecx, 3
jge 0x4374ec
fstp st(0)
fld qword [0x5566b8]
jmp 0x4374f9
cmp ecx, 0xa
jle 0x4374f9
fstp st(0)
fld qword [0x556d18]
mov eax, dword [esi + 0x164]
mov edi, dword [esp + 0x1c]
imul eax, ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
fmul st(1)
call fcn.00540a50
mov ecx, dword [esp + 0x24]
add eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x164]
fstp st(0)
lea edx, [ecx + eax*2]
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 8]
push 0x5a
push eax
call dword [0x5530f0]
mov ecx, dword [esi + 0x164]
push 0x48
push eax
push ecx
call dword [0x553134]
cdq
xor eax, edx
mov ecx, dword [esi + 0x16c]
sub eax, edx
lea edx, [esi + 0x170]
push edx
push 0x22
push 2
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
mov dword [esp + 0x5c], eax
push 0
push 0
push 0
neg eax
push eax
call dword [0x5530e0]
push eax
lea ecx, [esp + 0x5c]
call fcn.00540104
mov eax, dword [ebx]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [ebx]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x168]
mov ecx, ebx
push eax
call dword [edx + 0x38]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.004faee0
dec eax
cmp eax, 0xf
ja case.0x4375d4.4
xor ecx, ecx
mov cl, byte [eax + 0x437c00]
jmp dword [ecx*4 + 0x437be4]
mov al, byte [esi + 0x160]
test al, al
jne 0x43760d
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
jmp 0x437680
mov al, byte [esi + 0x160]
test al, al
je 0x437619
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
jmp 0x437679
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jmp 0x437680
mov al, byte [esi + 0x160]
test al, al
jne case.0x4375d4.4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x437680
mov al, byte [esi + 0x160]
test al, al
jne case.0x4375d4.4
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jmp 0x437680
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
jmp 0x437679
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004615e0
push 0xa
mov ecx, esi
call fcn.0045fe10
push eax
call dword [0x553b18]
add esp, 8
test eax, eax
jne 0x4376c7
mov ecx, esi
call fcn.0045fe10
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
push ebx
call fcn.00433890
add esp, 0x10
lea ecx, [esp + 0x168]
push ebx
push ecx
mov ecx, esi
call fcn.00461430
jmp 0x4378a3
mov dl, byte [0x5d9178]
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x189]
mov byte [esp + 0x188], dl
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 0x1d4]
push 0x57fd88
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa0], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x190]
push eax
mov dword [esp + 0xa8], edx
call fcn.0045fe10
push eax
call fcn.004b8260
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x198]
add esp, 0x10
test al, al
je 0x43786f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], 0
add ecx, 2
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x188]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [edi + eax]
add edx, 0xa
push ecx
push edx
push ebx
call fcn.00433890
mov ecx, dword [esi + 0x1b4]
mov eax, dword [esi + 0x1b0]
add esp, 0x10
add edi, ecx
add eax, 0xa
lea edx, [esp + 0x188]
push edi
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0053ffba
lea eax, [esp + 0x184]
push ebx
push eax
mov ecx, esi
call fcn.004614f0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x18c]
push 0x57fd88
push ecx
push edx
mov dword [esp + 0x10c], eax
call fcn.004b8260
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa0]
add esp, 0x10
cmp eax, edi
jl 0x437807
mov dword [esp + 0x90], edi
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x94]
cmp ecx, eax
jl 0x437820
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x98]
cmp ecx, eax
jg 0x437839
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x9c]
cmp ecx, eax
jg 0x437852
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
add ecx, eax
mov al, byte [esp + 0x188]
test al, al
mov dword [esp + 0x10], ecx
jne 0x437759
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov dword [esi + 0x1d4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esi + 0x1d8], edx
mov dword [esi + 0x1dc], eax
mov dword [esi + 0x1e0], ecx
mov eax, dword [esp + 0xa0]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x30]
mov eax, dword [esp + 0x68]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x38]
lea ecx, [esp + 0x58]
call fcn.005400f8
mov ecx, dword [esp + 0x6c]
mov eax, dword [ebp + 0xc4c]
cmp ecx, eax
jne 0x437b07
mov edx, dword [ebx]
push 5
mov ecx, ebx
call dword [edx + 0x2c]
push 0xc4c41c
push 1
push 4
mov dword [esp + 0x40], eax
call dword [0x5530e8]
test eax, eax
mov dword [esp + 0x50], eax
je 0x43790c
mov ecx, dword [ebx + 4]
push eax
push ecx
call dword [0x5530c4]
mov edi, eax
jmp 0x43790e
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.004faee0
dec eax
cmp eax, 0xd
ja case.0x43792b.3
xor edx, edx
mov dl, byte [eax + 0x437c1c]
jmp dword [edx*4 + 0x437c10]
mov eax, dword [esi + 0x158]
mov edx, dword [esp + 0x40]
add eax, 6
lea ecx, [esp + 0x108]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.004b75e0
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
add esp, 0x18
lea edx, [esp + 0x140]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.005401e2
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
push eax
push ecx
mov ecx, ebx
call fcn.005401dc
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x118]
push edx
push eax
mov ecx, ebx
call fcn.005401dc
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
push ecx
push edx
mov ecx, ebx
call fcn.005401dc
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
push eax
push ecx
mov ecx, ebx
call fcn.005401dc
jmp case.0x43792b.2
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jge 0x437a0e
dec ecx
inc edi
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jl 0x4379f6
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jge 0x437a3c
dec edi
inc ecx
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jl 0x437a24
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x38]
push edi
lea eax, [esp + 0x14c]
push edx
push eax
mov ecx, ebx
call fcn.005401e2
mov ecx, dword [esp + 0x2c]
push edi
push ecx
mov ecx, ebx
call fcn.005401dc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov ecx, ebx
call fcn.005401dc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.005401dc
mov eax, dword [esp + 0x38]
push edi
push eax
mov ecx, ebx
call fcn.005401dc
mov edi, dword [esp + 0x20]
mov ecx, esi
call fcn.004faee0
dec eax
cmp eax, 0xf
ja case.0x437aa6.2
xor ecx, ecx
mov cl, byte [eax + 0x437c34]
jmp dword [ecx*4 + 0x437c2c]
mov eax, dword [esi + 0x1e0]
mov edx, dword [esi + 0x1d8]
mov ecx, dword [esi + 0x1dc]
sub eax, edx
mov edx, dword [esp + 0x18]
sub ecx, dword [esi + 0x1d4]
mov esi, dword [esp + 0x14]
add eax, edx
add ecx, esi
push eax
push ecx
push edx
mov edx, dword [ebx + 4]
push esi
push edx
call dword [0x553100]
test edi, edi
je 0x437af0
mov eax, dword [ebx + 4]
push edi
push eax
call dword [0x5530c4]
mov ecx, dword [esp + 0x50]
push ecx
call dword [0x5530ec]
mov edx, dword [esp + 0x34]
mov ecx, ebx
push edx
call fcn.005401d0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xdc]
inc eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jl 0x436ccb
mov eax, dword [esp + 0xe0]
mov ecx, ebx
push eax
call fcn.00540242
mov eax, dword [esp + 0xe4]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x34]
push 0
mov ecx, ebx
call fcn.00540272
lea ecx, [esp + 0x88]
call fcn.005400f8
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x437b6b
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 0x20]
push ecx
push edx
call dword [0x553d40]
mov edi, 0x5555a8
mov dword [esp + 0x88], edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x210], 4
call fcn.005400f8
mov esi, 0x555594
mov dword [esp + 0x58], edi
mov dword [esp + 0x88], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x210], 5
call fcn.005400f8
mov dword [esp + 0x58], esi
lea ecx, [esp + 0xb8]
mov dword [esp + 0x210], 0xffffffff
call fcn.0053feb8
mov ecx, dword [esp + 0x208]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x204
ret 0x14