Function at 0x544670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x54], eax
cmp dword [ebx + 0x44], esi
jne 0x54645c
cmp byte [eax + 0x36], 0
jne 0x54645c
mov eax, dword [ebp + 0xc]
push edi
mov edi, ebx
call fcn.0053bbd0
mov dword [ebp - 4], eax
cmp eax, esi
je 0x54645b
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [edi + 0x44]
call fcn.004edb50
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
push eax
push ecx
push 0x6b
mov edx, edi
mov eax, ebx
call fcn.004ee4b0
xor edx, edx
cmp dword [edi + 0x1c], edx
push edi
setne dl
push ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x20], edx
call fcn.005413f0
add esp, 0x14
test eax, eax
jne 0x54645b
mov eax, dword [ebp - 0x48]
push eax
mov ecx, edi
mov eax, ebx
call fcn.004ffa50
add esp, 4
test eax, eax
jne 0x54645b
mov ecx, dword [edi + 8]
mov esi, dword [ebp - 0x54]
add ecx, ecx
add ecx, ecx
call fcn.004f0e10
xor edx, edx
mov dword [ebp - 0x2c], eax
cmp eax, edx
je 0x54645b
xor eax, eax
cmp dword [edi + 8], edx
jle 0x544755
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [edi + 8]
jl 0x544745
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x28], eax
inc dword [ebx + 0x48]
mov edi, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x48]
cmp edi, edx
je 0x54477b
mov edi, edi
inc eax
mov dword [ebx + 0x48], eax
mov edi, dword [edi + 0x14]
cmp edi, edx
jne 0x544770
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0xc], edx
cmp dword [eax], edx
jle 0x5449b7
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + edx]
lea edi, [ebp - 0x94]
call fcn.0050f6f0
test eax, eax
jne 0x54645b
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x544886
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, dword [ecx + 8]
mov edi, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi]
mov al, byte [ecx]
mov edx, dword [ebp - 0x18]
test al, al
je 0x544840
lea esp, [esp]
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x5932a0]
cmp al, byte [ebx + 0x5932a0]
jne 0x54483d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x544820
mov ebx, dword [ebp - 4]
movzx ecx, byte [ecx]
movzx eax, byte [ecx + 0x5932a0]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x5932a0]
sub eax, edx
je 0x544866
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0x3c]
jl 0x544811
mov dword [ebp - 0x1c], esi
jmp 0x544886
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebx + 4]
jne 0x54487d
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov dword [edx + esi*4], eax
cmp esi, dword [ebx + 8]
jl 0x54495d
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x24]
add esi, dword [ecx + 8]
mov edx, str._ROWID_
mov edi, dword [esi + 4]
mov bl, byte [edi]
mov dword [ebp - 0x50], esi
mov eax, edi
test bl, bl
je 0x5448d0
mov cl, bl
lea ecx, [ecx]
movzx esi, byte [edx]
movzx ecx, cl
mov cl, byte [ecx + 0x5932a0]
cmp cl, byte [esi + 0x5932a0]
jne 0x5448cd
mov cl, byte [eax + 1]
inc eax
inc edx
test cl, cl
jne 0x5448b0
mov esi, dword [ebp - 0x50]
movzx edx, byte [edx]
movzx ecx, byte [edx + 0x5932a0]
movzx edx, byte [eax]
movzx eax, byte [edx + 0x5932a0]
sub eax, ecx
je 0x54494b
mov ecx, edi
mov edx, str.ROWID
test bl, bl
je 0x54491d
mov al, bl
jmp 0x544900
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x5932a0]
cmp al, byte [ebx + 0x5932a0]
jne 0x54491d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x544900
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x5932a0]
movzx edx, byte [ecx + 0x5932a0]
sub edx, eax
je 0x54494b
push 0x596874
push edi
call fcn.004e3c10
add esp, 8
test eax, eax
jne 0x544a4f
mov eax, dword [esi]
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x30]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov eax, dword [ebx + 0xc]
push ecx
lea edx, [esi + esi*2]
mov ecx, dword [eax + edx*8]
mov edx, dword [ebx]
mov eax, dword [ebp + 8]
push ecx
push edx
push 0x17
call fcn.004fe5f0
add esp, 0x10
cmp eax, 1
je 0x54645b
cmp eax, 2
jne 0x54499e
mov eax, dword [ebp - 0x2c]
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
add dword [ebp - 0x24], 0x14
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx]
jl 0x5447c7
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 4]
push eax
push ecx
push edi
mov eax, ebx
call fcn.004ed5e0
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
add esp, 0xc
xor ecx, ecx
test eax, eax
je 0x544a03
lea esp, [esp]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x5449e0
test ecx, ecx
jle 0x544a03
mov esi, dword [ebp - 0x54]
add ecx, ecx
add ecx, ecx
call fcn.004f0e10
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x54645b
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x544a97
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x24], 0
jne 0x544a7c
cmp dword [ebp - 0x44], 0
jne 0x544a7c
mov edx, dword [esi + 0x24]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x3c], ecx
test edx, edx
jle 0x544a82
mov ecx, dword [esi + 4]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ecx]
cmp dword [esi + edi*4], 0
jge 0x544a79
inc eax
add ecx, 4
cmp eax, edx
jl 0x544a37
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x10]
jmp 0x544a82
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*4 + 4]
push edx
push 0x599c88
call fcn.004faad0
add esp, 8
mov byte [esi + 0x11], 1
jmp 0x54645b
mov esi, dword [ebp - 0x10]
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov esi, dword [esi + 0x14]
add eax, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x544a17
mov esi, dword [ebx + 8]
mov dword [ebp - 0x50], esi
test esi, esi
jne 0x544b3c
mov edi, dword [ebx]
mov ecx, 0xc8
mov esi, edi
call fcn.004f0e10
mov esi, eax
test esi, esi
je 0x544baf
push 0xc8
push 0
push esi
call fcn.004b9850
mov dword [esi], edi
mov eax, dword [edi + 4]
add esp, 0xc
test eax, eax
je 0x544ad9
mov dword [eax + 0x38], esi
mov eax, dword [edi + 4]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], 0
mov dword [edi + 4], esi
mov dword [esi + 0x30], 0x26bceaa5
mov dword [ebx + 8], esi
mov dword [ebp - 0x50], esi
test esi, esi
je 0x54645b
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x544b17
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x544b39
mov eax, dword [ebp - 0x18]
xor ecx, ecx
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x94
mov esi, dword [ebp - 0x50]
cmp byte [ebx + 0x12], 0
jne 0x544b46
mov byte [esi + 0x5e], 1
mov edi, dword [ebx + 0x1a8]
test edi, edi
jne 0x544b52
mov edi, ebx
mov ecx, dword [ebp - 0x30]
push ecx
mov eax, ebx
call fcn.0052a980
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
or byte [edi + 0x17], 1
mov edx, 1
shl edx, cl
add esp, 4
or dword [edi + 0x154], edx
test byte [eax + 0x22], 0x10
je 0x544bb6
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x38]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push ebx
call fcn.0053ee60
add esp, 0x20
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
jmp 0x54645b
xor esi, esi
jmp 0x544af0
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebx + 0x4c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
test edx, edx
jne 0x544bd5
cmp dword [ebp - 0x24], edx
je 0x544be8
lea ecx, [eax + 1]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
mov edi, dword [ecx + 8]
add edi, eax
mov dword [ebx + 0x4c], edi
jmp 0x544beb
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x44], 0
jne 0x544bfa
test edx, edx
jne 0x544bfa
cmp dword [ebp - 0x24], edx
je 0x544c03
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebx + 0x4c]
lea edx, [eax + 1]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 8]
add edx, eax
cmp dword [ebp - 0x20], 0
mov dword [ebx + 0x4c], edx
je 0x544c40
mov eax, dword [ebx + 0x1fc]
mov edx, dword [ecx]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
push eax
mov dword [ebx + 0x1fc], edx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push ebx
mov dword [ebp - 0x6c], ebx
call fcn.00540c70
add esp, 0x10
mov ebx, dword [ebp + 0x14]
lea edi, [ebp - 0x94]
call fcn.0050f6f0
test eax, eax
jne 0x54645b
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x544c69
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x544c93
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x18]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0xa
jmp 0x544c95
xor ebx, ebx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 4
push ebx
push ebx
push edx
push eax
push ecx
call fcn.00538790
add esp, 0x18
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x54645b
movzx edx, byte [eax + 6]
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x3c], edx
cmp dword [esi + 0x20], ebx
jg 0x544cd2
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x544cfc
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x14]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x41
jmp 0x544cfe
xor ebx, ebx
cmp dword [ebp - 0x3c], ebx
jne 0x544d42
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x544d1c
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x544d42
mov eax, dword [ebp - 0x5c]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x18]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x28]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x70
mov eax, dword [ebp - 0x58]
push eax
call fcn.004f8cc0
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp + 8]
add esp, 4
test dword [ecx + 0x18], 0x1000
je 0x544dad
cmp dword [eax + 0x1ac], ebx
jne 0x544dad
inc dword [eax + 0x4c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x5c], ecx
cmp dword [esi + 0x20], ecx
jg 0x544d8a
mov edi, esi
call fcn.004f4170
test eax, eax
mov eax, dword [ebp + 8]
jne 0x544dad
mov ecx, dword [ebp - 0x5c]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 0x68]
mov byte [ecx + 3], bl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov word [ecx], 7
cmp dword [ebp - 0x20], ebx
jne 0x544ef4
mov edi, dword [ebp - 4]
cmp dword [ebp - 0x3c], ebx
jne 0x544dd1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
push 0x28
push edi
push ecx
push edx
call fcn.005093d0
add esp, 0x10
cmp dword [ebp + 0x18], 5
je 0x544df0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x64], ebx
cmp eax, ebx
je 0x544df7
cmp byte [eax + 0x2c], 5
je 0x544df0
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x544de1
jmp 0x544df7
mov dword [ebp - 0x64], 1
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x544ef4
cmp dword [ebp - 0x64], ebx
jne 0x544e1c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
cmp dword [eax + ecx*4], ebx
jle 0x544ee0
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
push edi
push edx
call fcn.00510950
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x28]
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x58], ecx
cmp dword [esi + 0x20], ecx
jg 0x544e55
mov edi, esi
call fcn.004f4170
test eax, eax
je 0x544e52
mov eax, 1
jmp 0x544e87
mov ecx, dword [ebp - 0x58]
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov edi, dword [ebp - 0xc]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x14]
lea edx, [edx + edi + 1]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x30]
mov byte [eax + 3], bl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x28
mov eax, ecx
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp ecx, ebx
je 0x544ed3
cmp byte [edi + 0x36], bl
jne 0x544ed3
cmp eax, ebx
jge 0x544e9d
mov eax, dword [esi + 0x1c]
dec eax
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ecx + 0x10]
call fcn.004f4480
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x10], ebx
mov eax, ecx
cmp dword [ebp - 0x5c], ebx
jne 0x544ec7
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x544ee0
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
jmp 0x544ee0
mov ecx, dword [ebp - 0x5c]
mov eax, 0xfffffff0
call fcn.004f4480
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
inc dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x544e08
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x3c], ebx
je 0x544fa4
cmp dword [esi + 0x20], ecx
jg 0x544f1f
mov edi, esi
call fcn.004f4170
test eax, eax
je 0x544f1c
mov dword [ebp - 0x30], 1
jmp 0x544f45
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x28]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x4a
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 8], ecx
cmp dword [esi + 0x20], ecx
jg 0x544f65
mov edi, esi
call fcn.004f4170
test eax, eax
je 0x544f62
mov ecx, 1
jmp 0x544f85
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x30], ebx
jl 0x544fe9
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebp - 0x30]
jbe 0x544fe9
mov ecx, dword [ebp - 0x30]
mov edx, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x544fe9
cmp dword [esi + 0x20], ecx
jg 0x544fc0
mov edi, esi
call fcn.004f4170
test eax, eax
je 0x544fbd
mov dword [ebp - 0x10], 1
jmp 0x544fe9
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x28]
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x71
mov dword [ebp - 0x10], ecx
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x545058
cmp eax, ebx
je 0x544ffb
add eax, eax
jmp 0x545000
mov eax, 0x33
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi]
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545083
mov eax, dword [esi]
test eax, eax
je 0x54503a
cmp ebx, dword [eax + 0x104]
jb 0x54503a
cmp ebx, dword [eax + 0x108]
jae 0x54503a
movzx ecx, word [eax + 0xe8]
jmp 0x545046
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x36
jmp 0x545085
xor ebx, ebx
cmp dword [ebp - 0x44], ebx
je 0x545184
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x5450e9
cmp byte [eax], 0x84
jne 0x5450e9
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], eax
cmp dword [edi + 0x20], eax
jg 0x5450c1
call fcn.004f4170
test eax, eax
jne 0x545148
mov eax, dword [ebp - 8]
mov edx, dword [edi + 4]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xe
jmp 0x545148
mov edi, dword [ebp - 0x1c]
push edi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0052fc60
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x545148
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 8]
cmp edi, ebx
je 0x545148
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 8], ecx
cmp dword [edi + 0x20], ecx
jg 0x545125
call fcn.004f4170
test eax, eax
jne 0x545148
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
inc dword [edi + 0x1c]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
lea ecx, [ecx + edx*4]
mov edx, dword [ebp - 0x1c]
mov byte [ecx + 3], bl
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov word [ecx], 0xf
mov eax, dword [esi + 0x1c]
mov dword [ebp - 8], eax
cmp dword [esi + 0x20], eax
jg 0x545161
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x545184
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x15
cmp dword [ebp - 0x24], ebx
jne 0x54522a
cmp dword [ebp - 0x60], ebx
je 0x545314
mov edi, dword [ebp - 4]
mov dword [ebp - 0x38], ebx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push edi
push 3
push ebx
push edx
push eax
mov eax, dword [ebp - 0x60]
call fcn.004ee540
or dword [ebp - 0x38], eax
add esp, 0x18
mov dword [ebp - 0xc], ebx
cmp dword [edi + 8], ebx
jle 0x545272
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
cmp dword [edx + ecx*4], ebx
jl 0x545242
mov eax, dword [ebp - 0x38]
cmp eax, 0xffffffff
je 0x545242
cmp ecx, 0x20
jge 0x5451e9
mov edx, 1
shl edx, cl
test eax, edx
jne 0x545242
mov eax, dword [esi + 0x1c]
mov dword [ebp - 8], eax
cmp dword [esi + 0x20], eax
jg 0x5451ff
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x54525f
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x34]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xa
jmp 0x54525f
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.005001b0
add esp, 8
mov dword [ebp - 0x38], eax
jmp 0x54519c
mov edx, dword [ebp - 0x34]
lea eax, [ecx + edx]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push edx
push eax
mov ebx, ecx
mov eax, esi
call fcn.00519170
add esp, 0xc
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx + 8]
jl 0x5451c6
cmp dword [ebp - 0x44], ebx
jne 0x545314
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x5452ea
cmp eax, ebx
je 0x54528d
add eax, eax
jmp 0x545292
mov eax, 0x33
mov ebx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi]
add edx, edx
add edx, edx
push edx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545312
mov eax, dword [esi]
test eax, eax
je 0x5452cc
cmp ebx, dword [eax + 0x104]
jb 0x5452cc
cmp ebx, dword [eax + 0x108]
jae 0x5452cc
movzx ecx, word [eax + 0xe8]
jmp 0x5452d8
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x28]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xe
jmp 0x545314
xor ebx, ebx
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push edi
push 1
push 1
push eax
mov eax, dword [ebp - 0x60]
push ecx
call fcn.004ee540
mov edx, dword [edi + 8]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
lea ecx, [eax + edx - 1]
mov eax, dword [esi + 0x20]
add esp, 0x18
mov dword [ebp - 8], ecx
cmp eax, edi
jg 0x5453b2
cmp eax, ebx
je 0x545355
add eax, eax
jmp 0x54535a
mov eax, 0x33
mov ebx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi]
add edx, edx
add edx, edx
push edx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5453da
mov eax, dword [esi]
test eax, eax
je 0x545394
cmp ebx, dword [eax + 0x104]
jb 0x545394
cmp ebx, dword [eax + 0x108]
jae 0x545394
movzx ecx, word [eax + 0xe8]
jmp 0x5453a0
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x40]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 8]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0xa
jmp 0x5453dc
xor ebx, ebx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
cmp dword [edx + 8], ebx
jle 0x54569d
jmp 0x5453f0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 4]
je 0x54568a
mov edx, dword [ebp - 0x2c]
mov edi, eax
mov eax, dword [edx + edi*4]
cmp eax, ebx
jl 0x5455ae
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4]
cmp eax, ebx
je 0x5454de
cmp byte [eax], 0x84
jne 0x5454de
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov edi, dword [ecx + 8]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 8], eax
cmp ecx, eax
jg 0x5454b0
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x545451
mov eax, 0x33
mov ebx, dword [edi + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi]
add edx, edx
add edx, edx
push edx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545688
mov eax, dword [edi]
test eax, eax
je 0x54548f
cmp ebx, dword [eax + 0x104]
jb 0x54548f
cmp ebx, dword [eax + 0x108]
jae 0x54548f
movzx ecx, word [eax + 0xe8]
jmp 0x54549b
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 8]
shr edx, 4
mov dword [edi + 4], ebx
mov dword [edi + 0x20], edx
xor ebx, ebx
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x34]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0xc]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xe
jmp 0x54568a
add edi, dword [ebp - 0x40]
mov edx, dword [ebp + 8]
push edi
push eax
push edx
mov dword [ebp - 0x18], edi
call fcn.0052fc60
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp eax, edi
je 0x54568a
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x54568a
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 8], eax
cmp ecx, eax
jg 0x545583
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x545524
mov eax, 0x33
mov ebx, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545688
mov eax, dword [edi]
test eax, eax
je 0x545562
cmp ebx, dword [eax + 0x104]
jb 0x545562
cmp ebx, dword [eax + 0x108]
jae 0x545562
movzx ecx, word [eax + 0xe8]
jmp 0x54556e
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 8]
shr edx, 4
mov dword [edi + 4], ebx
mov dword [edi + 0x20], edx
xor ebx, ebx
inc dword [edi + 0x1c]
mov ecx, dword [ebp - 0x34]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xf
jmp 0x54568a
test dword [ebp - 0x48], 1
je 0x5455d1
cmp edi, 0x1f
jg 0x5455d1
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x3c], eax
je 0x54568a
mov edi, dword [ebp - 0xc]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 8], eax
cmp ecx, eax
jg 0x545645
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x5455ea
mov eax, 0x33
mov ebx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi]
add edx, edx
add edx, edx
push edx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x54566f
mov eax, dword [esi]
test eax, eax
je 0x545624
cmp ebx, dword [eax + 0x104]
jb 0x545624
cmp ebx, dword [eax + 0x108]
jae 0x545624
movzx ecx, word [eax + 0xe8]
jmp 0x545630
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 8]
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x40]
add ecx, edi
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x1d
jmp 0x545671
xor ebx, ebx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add edx, edi
push edx
push eax
push esi
mov eax, edi
call fcn.005154a0
add esp, 0xc
jmp 0x54568a
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx + 8]
jl 0x5453f0
test byte [ebp - 0x48], 1
je 0x545907
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x54571f
cmp eax, ebx
je 0x5456c2
add eax, eax
jmp 0x5456c7
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545747
mov eax, dword [esi]
test eax, eax
je 0x545701
cmp ebx, dword [eax + 0x104]
jb 0x545701
cmp ebx, dword [eax + 0x108]
jae 0x545701
movzx ecx, word [eax + 0xe8]
jmp 0x54570d
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x40]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 8]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x1e
jmp 0x545749
xor ebx, ebx
mov eax, dword [ebp - 4]
push esi
call fcn.004f7880
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x60]
push eax
mov eax, dword [ebp + 8]
push 1
push ecx
push 0x6b
push edx
push eax
call fcn.005472c0
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
add esp, 0x28
cmp eax, edi
jg 0x5457e9
cmp eax, ebx
je 0x54578c
add eax, eax
jmp 0x545791
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545814
mov eax, dword [esi]
test eax, eax
je 0x5457cb
cmp ebx, dword [eax + 0x104]
jb 0x5457cb
cmp ebx, dword [eax + 0x108]
jae 0x5457cb
movzx ecx, word [eax + 0xe8]
jmp 0x5457d7
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x14]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x36
jmp 0x545816
xor ebx, ebx
mov edx, dword [ebp - 4]
xor edi, edi
cmp dword [edx + 8], ebx
jle 0x545907
mov eax, edx
jmp 0x545830
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + edi*4], ebx
jge 0x5458fd
cmp edi, dword [eax + 4]
je 0x5458fd
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 8], eax
cmp ecx, eax
jg 0x5458b9
lea eax, [ecx + ecx]
cmp ecx, ebx
jne 0x54585e
mov eax, 0x33
mov ebx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi]
add edx, edx
add edx, edx
push edx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5458e3
mov eax, dword [esi]
test eax, eax
je 0x545898
cmp ebx, dword [eax + 0x104]
jb 0x545898
cmp ebx, dword [eax + 0x108]
jae 0x545898
movzx ecx, word [eax + 0xe8]
jmp 0x5458a4
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 8]
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x40]
add ecx, edi
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x1d
jmp 0x5458e5
xor ebx, ebx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add edx, edi
push edx
push eax
push esi
mov eax, edi
call fcn.005154a0
mov eax, dword [ebp - 4]
add esp, 0xc
inc edi
cmp edi, dword [eax + 8]
jl 0x545830
cmp dword [ebp - 0x20], ebx
jne 0x545bf8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp - 0x28]
push ebx
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x1c]
neg eax
push 1
sbb eax, eax
and eax, edi
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.0052d9e0
add esp, 0x28
cmp dword [ebp - 0x24], ebx
je 0x54595c
mov eax, dword [ebp - 4]
push ebx
mov ebx, dword [ebp + 8]
push edi
push eax
call fcn.0053bca0
add esp, 0xc
xor ebx, ebx
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x5459cf
cmp eax, ebx
je 0x54596e
add eax, eax
jmp 0x545973
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545a2f
mov eax, dword [esi]
test eax, eax
je 0x5459b1
cmp ebx, dword [eax + 0x104]
jb 0x5459b1
cmp ebx, dword [eax + 0x108]
jae 0x5459b1
movzx ecx, word [eax + 0xe8]
jmp 0x5459bd
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x14]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x28]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x36
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push ecx
push edx
call fcn.0051c750
add esp, 0xc
cmp dword [ebp - 0x24], ebx
jne 0x545a1d
cmp dword [ebp - 0x44], ebx
je 0x545abe
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x545a97
cmp eax, ebx
je 0x545a3a
add eax, eax
jmp 0x545a3f
mov dword [ebp - 0x20], 1
xor ebx, ebx
jmp 0x5459f8
mov eax, 0x33
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi]
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545abc
mov eax, dword [esi]
test eax, eax
je 0x545a79
cmp ebx, dword [eax + 0x104]
jb 0x545a79
cmp ebx, dword [eax + 0x108]
jae 0x545a79
movzx ecx, word [eax + 0xe8]
jmp 0x545a85
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x14]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x3b
jmp 0x545abe
xor ebx, ebx
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
jl 0x545ad6
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jbe 0x545ad6
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 4]
mov dword [ecx + edx*4 + 8], eax
mov edi, dword [ebp - 0x24]
cmp edi, ebx
je 0x545af3
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
push edx
push ebx
mov ebx, dword [ebp + 8]
push eax
call fcn.0053bca0
add esp, 0xc
xor ebx, ebx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push ebx
push ebx
push 1
push ecx
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.00509d40
add esp, 0x20
cmp edi, ebx
je 0x545bf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test dword [ecx + 0x18], 0x4000000
je 0x545bf8
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
mov eax, ecx
cmp ecx, ebx
jne 0x545b3f
xor edi, edi
mov dword [ebp - 0x48], edi
jmp 0x545b54
cmp byte [ecx], bl
je 0x545b48
inc eax
cmp byte [eax], bl
jne 0x545b43
sub eax, ecx
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x44]
add eax, 0x38
mov dword [ebp - 0x34], eax
cmp dword [eax + 0xc], ebx
je 0x545b9d
xor eax, eax
mov dword [ebp - 0x20], edi
cmp edi, ebx
jle 0x545b94
jmp 0x545b70
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x5932a0]
lea edi, [eax*8]
xor edx, edi
xor eax, edx
mov edx, dword [ebp - 0x20]
dec edx
inc ecx
mov dword [ebp - 0x20], edx
cmp edx, ebx
jg 0x545b70
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
xor edx, edx
div dword [ecx]
jmp 0x545b9f
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push edi
push eax
mov eax, dword [ebp - 0x34]
call fcn.004e4c00
add esp, 8
cmp eax, ebx
je 0x545bf8
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x545bf8
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ecx
push edi
push edx
push eax
call fcn.005089f0
add esp, 0x10
cmp eax, ebx
je 0x545bf1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
push ebx
push 2
push ecx
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00547190
add esp, 0x18
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x545bc0
mov ecx, dword [ebp - 0x54]
test dword [ecx + 0x18], 0x1000
je 0x545cb2
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1ac], ebx
jne 0x545cb2
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x545c86
cmp eax, ebx
je 0x545c29
add eax, eax
jmp 0x545c2e
mov eax, 0x33
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi]
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545cb0
mov eax, dword [esi]
test eax, eax
je 0x545c68
cmp ebx, dword [eax + 0x104]
jb 0x545c68
cmp ebx, dword [eax + 0x108]
jae 0x545c68
movzx ecx, word [eax + 0xe8]
jmp 0x545c74
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov eax, dword [esi + 4]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x68]
mov ecx, 1
add dword [esi + 0x1c], ecx
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x14
jmp 0x545cb2
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x60]
push eax
mov eax, dword [ebp + 8]
push 2
push ecx
push 0x6b
push edx
push eax
call fcn.005472c0
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
add esp, 0x24
cmp eax, edi
jg 0x545d49
cmp eax, ebx
je 0x545cec
add eax, eax
jmp 0x545cf1
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545d6e
mov eax, dword [esi]
test eax, eax
je 0x545d2b
cmp ebx, dword [eax + 0x104]
jb 0x545d2b
cmp ebx, dword [eax + 0x108]
jae 0x545d2b
movzx ecx, word [eax + 0xe8]
jmp 0x545d37
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x10]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 1
jmp 0x545d70
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jl 0x545d88
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
jbe 0x545d88
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + edx*4 + 8], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x545e65
lea esp, [esp]
cmp dword [ebp - 0x64], ebx
jne 0x545db4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
cmp dword [edx + eax*4], ebx
jle 0x545e51
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x545e23
cmp eax, ebx
je 0x545dc6
add eax, eax
jmp 0x545dcb
mov eax, 0x33
mov ebx, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545e4f
mov eax, dword [esi]
test eax, eax
je 0x545e05
cmp ebx, dword [eax + 0x104]
jb 0x545e05
cmp ebx, dword [eax + 0x108]
jae 0x545e05
movzx ecx, word [eax + 0xe8]
jmp 0x545e11
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x14]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0xc]
lea ecx, [ecx + edx + 1]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2d
jmp 0x545e51
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
inc dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x545da0
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x545ed4
cmp eax, ebx
je 0x545e77
add eax, eax
jmp 0x545e7c
mov eax, 0x33
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi]
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545ef9
mov eax, dword [esi]
test eax, eax
je 0x545eb6
cmp ebx, dword [eax + 0x104]
jb 0x545eb6
cmp ebx, dword [eax + 0x108]
jae 0x545eb6
movzx ecx, word [eax + 0xe8]
jmp 0x545ec2
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 4], ebx
mov dword [esi + 0x20], edx
xor ebx, ebx
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x14]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2d
jmp 0x545efb
xor ebx, ebx
mov edi, dword [ebp + 8]
cmp byte [edi + 0x12], bl
jne 0x545f14
cmp dword [edi + 0x1ac], ebx
jne 0x545f14
push edi
call fcn.00509970
add esp, 4
mov edx, dword [ebp - 0x54]
test dword [edx + 0x18], 0x1000
je 0x54645b
cmp dword [edi + 0x1ac], 0
jne 0x54645b
cmp byte [edi + 0x12], 0
jne 0x54645b
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x545fa8
test eax, eax
je 0x545f4d
add eax, eax
jmp 0x545f52
mov eax, 0x33
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esi]
call fcn.004f0e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x545fd3
mov eax, dword [esi]
test eax, eax
je 0x545f8c
cmp ebx, dword [eax + 0x104]
jb 0x545f8c
cmp ebx, dword [eax + 0x108]
jae 0x545f8c
movzx ecx, word [eax + 0xe8]
jmp 0x545f98
push ebx
call dword [0x5c0470]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 0x20], edx
mov dword [esi + 4], ebx
mov eax, dword [esi + 4]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x68]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x10
movzx eax, word [esi + 0x2c]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi]
add eax, eax
call fcn.004f4750
mov eax, dword [esi + 0x10]
test edi, edi
je 0x546056
cmp dword [edi + 0x1f0], 0
je 0x54602c
test eax, eax
je 0x546018
cmp eax, dword [edi + 0x104]
jb 0x546018
cmp eax, dword [edi + 0x108]
jae 0x546018
movzx eax, word [edi + 0xe8]
mov ecx, dword [edi + 0x1f0]
add dword [ecx], eax
jmp 0x54605f
push eax
call dword [0x5c0470]
mov ecx, dword [edi + 0x1f0]
add esp, 4
add dword [ecx], eax
jmp 0x54605f
test eax, eax
je 0x546056
cmp eax, dword [edi + 0x104]
jb 0x546056
cmp eax, dword [edi + 0x108]
jae 0x546056
mov ecx, dword [edi + 0x100]
mov dword [eax], ecx
dec dword [edi + 0xec]
mov dword [edi + 0x100], eax
jmp 0x54605f
push eax
call fcn.004e3800
add esp, 4
mov edx, 1
mov word [esi + 0x2c], dx
lea ecx, [edx + 0x4f]
mov esi, edi
call fcn.004f0e10
mov esi, eax
test esi, esi
je 0x546085
push 0x50
push 0
push esi
call fcn.004b9850
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x10], esi
test esi, esi
je 0x5460a5
mov ecx, 1
mov word [esi + 0x1c], cx
mov edx, dword [eax]
mov dword [esi], edx
mov word [esi + 0x44], cx
mov edx, dword [eax]
mov dword [esi + 0x28], edx
mov ecx, dword [eax]
cmp byte [ecx + 0x36], 0
jne 0x54645b
mov ebx, dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [ebp + 8], ebx
test eax, eax
je 0x5460c2
mov eax, dword [eax + 0x4c]
jmp 0x5460c7
mov eax, 0x3b9aca00
xor ecx, ecx
mov dword [ebp - 0x20], ecx
test eax, eax
js 0x5460e1
cmp byte [ecx + 0x599c78], 0
je 0x5460de
inc ecx
cmp ecx, eax
jle 0x5460d0
mov dword [ebp - 0x20], ecx
movzx ecx, word [ebx + 0x1c]
xor edx, edx
mov dword [ebp - 0x48], 0x202
cmp edx, 0x4e37c0
jne 0x5462bc
test ecx, 0x2460
je 0x5461f0
test ecx, 0x2000
je 0x54617b
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x546170
mov edi, dword [esi + 0x14]
test edi, edi
je 0x546170
push 0x40
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.004b9850
mov eax, dword [ebx]
lea edx, [ebp - 0xd4]
mov ecx, 1
push edx
mov word [ebp - 0xb0], cx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xd4], esi
call edi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx]
add esp, 0x10
call fcn.004e38a0
mov ecx, 0xa
lea esi, [ebp - 0xcc]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.004f3e00
add esp, 4
jmp 0x5461f0
test ecx, 0x400
je 0x54619c
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x54619c
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 4
mov dword [ebx + 0x20], 0
jmp 0x5461f0
test cl, 0x20
je 0x5461ae
mov ebx, dword [ebx + 0x10]
call fcn.004e6f10
mov ebx, dword [ebp + 8]
jmp 0x5461f0
test cl, 0x40
je 0x5461f0
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
mov dword [eax + 4], edx
mov dword [ecx + 0xac], eax
test byte [ebx + 0x1c], 0x20
je 0x5461d8
mov ebx, dword [ebx + 0x10]
call fcn.004e6f10
mov ebx, dword [ebp + 8]
mov ax, word [ebx + 0x1c]
mov ecx, 0xbf01
and ax, cx
or ax, 1
mov word [ebx + 0x1c], ax
mov byte [ebx + 0x1e], 5
mov esi, dword [ebx]
mov eax, dword [ebx + 0x24]
test esi, esi
je 0x54629f
cmp dword [esi + 0x1f0], 0
je 0x546263
test eax, eax
je 0x54623d
cmp eax, dword [esi + 0x104]
jb 0x54623d
cmp eax, dword [esi + 0x108]
jae 0x54623d
movzx eax, word [esi + 0xe8]
mov esi, dword [esi + 0x1f0]
add dword [esi], eax
mov eax, 0x599c78
mov dword [ebx + 4], eax
mov dword [ebx + 0x20], 0
jmp 0x546444
push eax
call dword [0x5c0470]
mov esi, dword [esi + 0x1f0]
add esp, 4
add dword [esi], eax
mov eax, 0x599c78
mov dword [ebx + 4], eax
mov dword [ebx + 0x20], 0
jmp 0x546444
test eax, eax
je 0x54629f
cmp eax, dword [esi + 0x104]
jb 0x54629f
cmp eax, dword [esi + 0x108]
jae 0x54629f
mov edx, dword [esi + 0x100]
mov dword [eax], edx
dec dword [esi + 0xec]
mov dword [esi + 0x100], eax
mov eax, 0x599c78
mov dword [ebx + 4], eax
mov dword [ebx + 0x20], 0
jmp 0x546444
push eax
call fcn.004e3800
mov eax, 0x599c78
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 0x20], 0
jmp 0x546444
test ecx, 0x2460
je 0x5463b3
test ecx, 0x2000
je 0x54633e
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x546333
mov edi, dword [esi + 0x14]
test edi, edi
je 0x546333
push 0x40
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.004b9850
mov eax, dword [ebx]
lea edx, [ebp - 0xd4]
mov ecx, 1
push edx
mov word [ebp - 0xb0], cx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xd4], esi
call edi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx]
add esp, 0x10
call fcn.004e38a0
mov ecx, 0xa
lea esi, [ebp - 0xcc]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.004f3e00
add esp, 4
jmp 0x5463b3
test ecx, 0x400
je 0x54635f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x54635f
mov ecx, dword [ebx + 4]
push ecx
call eax
add esp, 4
mov dword [ebx + 0x20], 0
jmp 0x5463b3
test cl, 0x20
je 0x546371
mov ebx, dword [ebx + 0x10]
call fcn.004e6f10
mov ebx, dword [ebp + 8]
jmp 0x5463b3
test cl, 0x40
je 0x5463b3
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
mov dword [eax + 4], edx
mov dword [ecx + 0xac], eax
test byte [ebx + 0x1c], 0x20
je 0x54639b
mov ebx, dword [ebx + 0x10]
call fcn.004e6f10
mov ebx, dword [ebp + 8]
mov ax, word [ebx + 0x1c]
mov ecx, 0xbf01
and ax, cx
or ax, 1
mov word [ebx + 0x1c], ax
mov byte [ebx + 0x1e], 5
mov esi, dword [ebx]
mov eax, dword [ebx + 0x24]
test esi, esi
je 0x546428
cmp dword [esi + 0x1f0], 0
je 0x5463fe
test eax, eax
je 0x5463ea
cmp eax, dword [esi + 0x104]
jb 0x5463ea
cmp eax, dword [esi + 0x108]
jae 0x5463ea
movzx eax, word [esi + 0xe8]
mov esi, dword [esi + 0x1f0]
add dword [esi], eax
jmp 0x546431
push eax
call dword [0x5c0470]
mov esi, dword [esi + 0x1f0]
add esp, 4
add dword [esi], eax
jmp 0x546431
test eax, eax
je 0x546428
cmp eax, dword [esi + 0x104]
jb 0x546428
cmp eax, dword [esi + 0x108]
jae 0x546428
mov edx, dword [esi + 0x100]
mov dword [eax], edx
dec dword [esi + 0xec]
mov dword [esi + 0x100], eax
jmp 0x546431
push eax
call fcn.004e3800
add esp, 4
xor eax, eax
mov dword [ebx + 4], 0x599c78
mov dword [ebx + 0x20], eax
mov dword [ebp - 0x48], 0xa02
mov cx, word [ebp - 0x48]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x18], eax
mov word [ebx + 0x1c], cx
mov word [ebx + 0x1e], 0x103
pop edi
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x54646c
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x1fc], edx
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov ecx, esi
call fcn.004e38a0
mov eax, dword [ebp - 0x2c]
mov ecx, esi
call fcn.004e38a0
mov eax, dword [ebp + 0xc]
push eax
mov eax, esi
call fcn.004ecf00
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004ebd60
mov edx, dword [ebp + 0x14]
push edx
push esi
call fcn.004f5b30
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret