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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
and dword [esp + 0x50], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov eax, edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], esi
call fcn.0044e3a0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
xor eax, eax
cmp ebx, eax
je 0x452739
cmp byte [esi + 0x51], al
jne 0x452739
cmp dword [edi + 0x24], eax
jne 0x452739
push eax
push eax
push eax
push 0x15
mov eax, edi
call fcn.0043d7c8
add esp, 0x10
test eax, eax
jne 0x452739
push 0x30
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00497bc6
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp byte [eax], 8
ja 0x451408
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x451400
push eax
push esi
call fcn.00436d2d
pop ecx
pop ecx
and dword [ebx + 0x30], 0
and dword [ebx + 8], 0xfffffffe
push 0
push ebx
push edi
call fcn.00450ea8
add esp, 0xc
cmp dword [edi + 0x24], 0
jne 0x4526f3
mov eax, esi
cmp byte [eax + 0x51], 0
jne 0x4526f3
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x45143b
mov ecx, ebx
mov eax, edi
call fcn.0044de93
push edi
call fcn.0045e230
pop ecx
test eax, eax
jne 0x4526f3
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x20]
shr eax, 3
and eax, 1
mov dword [esp + 0x1c], eax
push 0xa
xor eax, eax
and dword [esp + 0x14], 0
pop ecx
lea edi, [esp + 0xac]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0xac], eax
jmp 0x451578
mov eax, dword [esp + 0x10]
cmp eax, dword [esi]
jge 0x451582
imul eax, eax, 0x48
lea edi, [eax + esi + 8]
test byte [edi + 0x24], 8
mov eax, dword [edi + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
je 0x4514d8
push dword [edi + 0x2c]
push dword [ebx + 0x24]
call fcn.0043a0b0
pop ecx
pop ecx
test eax, eax
je 0x4514d8
mov ecx, dword [esp + 0x24]
mov eax, 0x2000
test word [ecx + 0x4c], ax
jne 0x4514d8
push dword [edi + 0x2c]
and byte [edi + 0x24], 0xd7
push dword [ebx + 0x24]
call fcn.0044cc6b
pop ecx
pop ecx
cmp dword [esp + 0x34], 0
je 0x451574
mov eax, dword [esp + 0x18]
movsx ecx, word [eax + 0x2a]
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
cmp ecx, dword [edx]
jne 0x4515ac
test byte [eax + 8], 8
jne 0x451574
cmp dword [eax + 0x30], 0
je 0x451520
cmp dword [esp + 0x10], 0
jne 0x451520
test dword [ebx + 8], 0x40000
je 0x451520
cmp dword [esi], 1
je 0x451574
test byte [esi + 0x74], 0xa
jne 0x451574
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push dword [esp + 0x14]
mov eax, ebx
push esi
call fcn.0044fa23
add esp, 0xc
test eax, eax
je 0x451549
cmp dword [esi + 0x24], 0
jne 0x4526f3
or dword [esp + 0x10], 0xffffffff
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
jne 0x4526f3
mov eax, dword [ebp + 0x10]
cmp byte [eax], 8
mov esi, dword [esp + 0x14]
jbe 0x451574
mov eax, dword [ebx + 0x30]
mov dword [esp + 0xac], eax
inc dword [esp + 0x10]
cmp dword [ebx + 0x34], 0
je 0x451480
cmp dword [ebx + 0x34], 0
je 0x4515d4
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.0044e90c
add esp, 0xc
cmp dword [ebx + 0x38], 0
mov edi, eax
jne 0x4515a5
call fcn.00427f5d
mov eax, edi
jmp 0x45273c
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [eax]
movsx eax, word [eax + 0x2a]
mov edi, dword [ebp + 8]
push eax
push 0x4bf6d8
call fcn.00414384
add esp, 0x10
jmp 0x4526f3
cmp dword [esi], 1
jle 0x4515fa
mov ecx, dword [esp + 0x24]
mov eax, 0x8000
test word [ecx + 0x4c], ax
jne 0x4515fa
push ebx
mov ebx, dword [ebp + 8]
mov esi, ebx
call fcn.0045005d
mov esi, dword [esp + 0x18]
pop ecx
jmp 0x4515fd
mov ebx, dword [ebp + 8]
and dword [esp + 0x10], 0
cmp dword [esi], 0
jle 0x45188b
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
imul eax, eax, 0x48
lea esi, [eax + edi + 8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
jne 0x45163e
mov eax, dword [esi + 8]
test eax, eax
je 0x45163e
push dword [esi + 4]
push 0x4bc53c
push eax
push 0x14
mov eax, ebx
call fcn.0043d7c8
add esp, 0x10
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], eax
test eax, eax
je 0x45187b
mov edx, dword [esp + 0x24]
mov ecx, 0x1000
test word [edx + 0x4c], cx
jne 0x45167a
movzx ecx, byte [esi + 0x24]
shr ecx, 5
and ecx, 1
push ecx
push dword [esi + 0x2c]
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x24]
push eax
push ebx
call fcn.004500ef
add esp, 0x14
cmp dword [esp + 0x10], 0
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0xe8], eax
jne 0x451753
cmp dword [edi], 1
je 0x4516a7
test byte [edi + 0x74], 0xa
je 0x451753
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + 0x6c]
inc edi
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push edi
push 0
push eax
push 0xd
push ecx
mov dword [esp + 0x60], edi
mov dword [esi + 0x1c], eax
call fcn.00427d54
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [esi + 0x18], edi
mov byte [esp + 0x60], 0xd
push dword [eax + 0x14]
mov edi, ebx
push 0x4bf700
push 1
call fcn.00427f14
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x60]
push eax
push edi
push ebx
call fcn.0045136f
mov eax, dword [esi + 0x10]
mov cx, word [edi + 6]
mov word [eax + 0x2c], cx
mov eax, dword [esp + 0x74]
or dword [esi + 0x28], 0x10
add esp, 0xc
push dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0x10]
call fcn.00427fe8
mov eax, dword [esp + 0x50]
pop ecx
dec eax
mov ecx, esi
call fcn.0042848e
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
jmp 0x451852
and dword [esp + 0x18], 0
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
push 0
push 0x46
push dword [esp + 0x18]
mov dword [esi + 0x1c], eax
call fcn.00427dde
add esp, 0x10
mov dword [esp + 0x4c], eax
inc eax
test byte [esi + 0x28], 8
mov dword [esi + 0x18], eax
jne 0x451791
push 0x11
push dword [esp + 0x10]
call fcn.00427daf
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
call fcn.004512db
mov edi, eax
test edi, edi
je 0x4517c5
push dword [edi + 0x2c]
push dword [esi + 0x2c]
push 0x6d
push dword [esp + 0x18]
call fcn.00427dde
mov eax, dword [edi + 0x14]
mov ax, word [eax + 6]
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov word [ecx + 6], ax
jmp 0x451809
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x60], 0xc
push dword [eax + 0x14]
mov edi, ebx
push 0x4bf710
push 1
call fcn.00427f14
add esp, 0xc
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x24]
push ebx
call fcn.0045136f
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x10]
mov cx, word [ecx + 6]
mov word [eax + 0x2c], cx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45182f
mov ecx, dword [esp + 0xc]
call fcn.0042848e
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
push dword [esi + 0x1c]
push 0x42
push dword [esp + 0x14]
call fcn.00427dc5
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x58]
add esp, 0xc
call fcn.0042848e
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
and dword [ebx + 0x1c], 0
mov byte [ebx + 0x13], 0
cmp byte [eax + 0x51], 0
jne 0x4526f3
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [eax + 0xe8], ecx
mov ebx, eax
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi]
jl 0x45160b
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x24]
mov esi, dword [edi]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x58], eax
mov al, byte [edi + 8]
and al, 1
mov byte [esp + 0x60], al
mov eax, dword [edi + 8]
and al, 9
mov dword [esp + 0x4c], esi
cmp al, 1
jne 0x4518ec
mov edi, dword [esp + 0xac]
push 0xffffffffffffffff
mov eax, esi
call fcn.00439d6e
mov edi, dword [ebp + 0xc]
pop ecx
test eax, eax
jne 0x4518ec
and dword [edi + 8], 0xfffffffe
push eax
push esi
push dword [esp + 0x2c]
call fcn.00436635
add esp, 0xc
mov dword [edi + 0x28], eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0xac], 0
je 0x451944
mov ecx, dword [esi]
mov eax, dword [esp + 0xac]
push 0
push ebx
call fcn.0044d9a0
mov ecx, dword [ebx + 0x28]
push 0xfffffffffffffff7
push eax
mov eax, dword [esp + 0xbc]
lea edx, [ecx + 1]
mov dword [ebx + 0x28], edx
mov eax, dword [eax]
mov edx, dword [esi]
push 0
lea eax, [eax + edx + 1]
push eax
push ecx
push 0x70
push dword [esp + 0x2c]
mov dword [esp + 0xd8], ecx
call fcn.00427ead
add esp, 0x24
mov dword [esp + 0xc0], eax
jmp 0x45194c
or dword [esp + 0xc0], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0xc
jne 0x451967
push dword [esi]
push dword [eax + 4]
push 0x70
push dword [esp + 0x18]
call fcn.00427dde
add esp, 0x10
dec dword [ebx + 0x38]
test dword [edi + 8], 0x4000
mov ebx, dword [ebx + 0x38]
mov dword [esp + 0xd8], ebx
jne 0x451986
mov eax, 0x140
mov word [edi + 6], ax
mov edi, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov esi, edi
call fcn.0044e3c2
mov esi, ebx
cmp dword [esi + 0xc], 0
pop ecx
jne 0x4519bc
mov eax, dword [esp + 0xc0]
test eax, eax
jl 0x4519bc
mov ecx, dword [esp + 0xc]
call fcn.0042848e
or byte [esp + 0xcc], 1
mov byte [eax], 0x72
test byte [esi + 8], 1
je 0x451a0c
mov eax, dword [edi + 0x28]
push 0xfffffffffffffff7
push ecx
mov dword [esp + 0x6c], eax
inc eax
xor ebx, ebx
mov dword [edi + 0x28], eax
mov eax, dword [esi]
push ebx
push edi
xor ecx, ecx
call fcn.0044d9a0
add esp, 0xc
push eax
push ebx
push ebx
push dword [esp + 0x74]
push 0x70
push dword [esp + 0x24]
call fcn.00427ead
mov ecx, dword [esp + 0x28]
add esp, 0x1c
push 8
pop edx
mov dword [esp + 0x68], eax
call fcn.00428208
mov byte [esp + 0x61], 3
jmp 0x451a11
mov byte [esp + 0x61], 0
cmp dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x28]
jne 0x451bf0
test ebx, ebx
jne 0x451bf0
movzx eax, byte [esp + 0x60]
mov cx, word [esi + 8]
neg eax
sbb eax, eax
and eax, 0x100
mov edx, 0x4000
and cx, dx
or ax, cx
movzx ebx, ax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x18], eax
test eax, eax
je 0x451a62
mov esi, dword [ebp + 8]
mov edi, eax
call fcn.0045e94e
mov edi, esi
mov esi, dword [ebp + 0xc]
movsx eax, word [esi + 6]
push eax
push ebx
push dword [esi]
push dword [esp + 0xb8]
push dword [esp + 0x40]
push dword [esp + 0x28]
push edi
call fcn.0045cc4c
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4526f3
movzx eax, word [ebx + 0x48]
cmp ax, word [esi + 6]
jge 0x451a9e
mov word [esi + 6], ax
xor edi, edi
cmp byte [esp + 0x60], 0
je 0x451ab2
mov al, byte [ebx + 0x33]
test al, al
je 0x451ab2
mov byte [esp + 0x61], al
mov edx, dword [esp + 0xac]
cmp edx, edi
je 0x451af3
cmp byte [ebx + 0x34], 0
movsx ecx, byte [ebx + 0x2f]
mov dword [esp + 0xb0], ecx
jne 0x451ad3
mov eax, dword [ebx + 0x20]
jmp 0x451ae1
movzx eax, byte [ebx + 0x2e]
imul eax, eax, 0x50
mov eax, dword [eax + ebx + 0x2b0]
mov dword [esp + 0xc8], eax
cmp ecx, dword [edx]
jne 0x451af3
mov dword [esp + 0xac], edi
mov ecx, dword [esp + 0xc0]
cmp ecx, edi
jl 0x451b10
cmp dword [esp + 0xac], edi
jne 0x451b10
mov eax, dword [esp + 0xc]
call fcn.0042833a
cmp dword [esp + 0x18], edi
je 0x451bc1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x38]
dec eax
lea ebx, [eax - 1]
push eax
mov dword [esp + 0x44], ebx
dec ebx
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push ecx
push dword [esp + 0x38]
mov dword [esp + 0x5c], eax
push esi
mov eax, edi
mov dword [edi + 0x38], ebx
mov dword [esp + 0x54], ecx
call fcn.0045fb6d
push ebx
push 0
push 0xb
push dword [esp + 0x28]
call fcn.00427dde
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
call fcn.00428041
and dword [esp + 0xe8], 0
push ebx
push dword [esp + 0x64]
lea eax, [esp + 0x88]
push dword [ebp + 0x10]
push eax
lea eax, [esp + 0xdc]
push eax
push 0xffffffffffffffff
push esi
push edi
call fcn.0044d2bb
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x4c]
add esp, 0x40
call fcn.00428041
push dword [esp + 0x44]
push 0x42
push dword [esp + 0x14]
call fcn.00427dc5
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, ebx
call fcn.00428041
jmp 0x452666
push dword [ebx + 0x24]
lea eax, [esp + 0x64]
push dword [ebx + 0x20]
push dword [ebp + 0x10]
push eax
lea eax, [esp + 0xbc]
push eax
push 0xffffffffffffffff
push esi
push dword [ebp + 8]
call fcn.0044d2bb
push ebx
call fcn.0045d46c
add esp, 0x24
jmp 0x452663
and dword [esp + 0x1c], 0
and dword [esp + 0x54], 0
and dword [esp + 0x18], 0
test ebx, ebx
je 0x451c91
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
jle 0x451c1f
add eax, 0x1a
xor edx, edx
mov word [eax], dx
dec ecx
add eax, 0x18
test ecx, ecx
jg 0x451c12
mov ecx, dword [ebx]
test ecx, ecx
jle 0x451c35
lea eax, [ebx + 0x1a]
xor edx, edx
mov word [eax], dx
dec ecx
add eax, 0x18
test ecx, ecx
jg 0x451c28
cmp word [esi + 6], 0x42
jle 0x451c43
push 0x42
pop eax
mov word [esi + 6], ax
mov esi, dword [esp + 0xac]
test esi, esi
je 0x451c97
mov eax, dword [ebx]
cmp eax, dword [esi]
jne 0x451c97
xor edi, edi
test eax, eax
jle 0x451c6f
lea eax, [ebx + 0x10]
sub esi, ebx
mov cl, byte [esi + eax]
and cl, 1
mov byte [eax], cl
inc edi
add eax, 0x18
cmp edi, dword [ebx]
jl 0x451c5f
mov eax, dword [esp + 0xac]
push 0xffffffffffffffff
mov edi, ebx
call fcn.00439d6e
mov edi, dword [ebp + 8]
pop ecx
test eax, eax
jne 0x451c97
mov dword [esp + 0x18], 1
jmp 0x451c97
xor eax, eax
mov word [esi + 6], ax
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x20], eax
xor eax, eax
push 8
pop ecx
lea edi, [esp + 0xdc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xdc], eax
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xe0], ecx
inc eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x8c], eax
test ebx, ebx
je 0x451ce9
mov eax, dword [ebx]
mov dword [esp + 0x88], eax
jmp 0x451cf1
and dword [esp + 0x88], 0
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0xdc]
push eax
mov dword [esp + 0x98], ebx
call fcn.0043a4fd
mov esi, dword [esp + 0xb0]
pop ecx
lea eax, [esp + 0xdc]
push eax
call fcn.0043a4fd
xor esi, esi
pop ecx
cmp dword [esp + 0x58], esi
je 0x451d89
cmp ebx, esi
je 0x451d78
mov esi, dword [ebp + 0xc]
xor eax, eax
push 7
pop ecx
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xfc], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x100], 0x451234
mov dword [esp + 0x114], esi
test eax, eax
je 0x451d6f
push eax
lea eax, [esp + 0x100]
push eax
call fcn.00433a2f
pop ecx
pop ecx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x30], eax
xor esi, esi
push dword [esp + 0x58]
lea ecx, [esp + 0xe0]
call fcn.0043a4c2
pop ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x28], esi
jne 0x451dcd
cmp dword [eax + 0x2c], esi
jne 0x451dcd
cmp dword [esp + 0xa8], 1
jne 0x451dcd
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0xa8]
push dword [esp + 0x28]
mov eax, dword [eax]
call fcn.004501e7
pop ecx
pop ecx
mov byte [esp + 0x2f], al
jmp 0x451dd2
mov byte [esp + 0x2f], 0
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x10], esi
jle 0x451e45
and dword [esp + 0x28], 0
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + eax]
or dword [esp + 0xf4], 8
mov esi, dword [edi + 0x14]
lea eax, [esp + 0xdc]
push eax
call fcn.0043a4fd
test dword [edi + 4], 0x1000000
pop ecx
je 0x451e27
mov eax, dword [edi + 0x28]
push dword [eax + 0x28]
lea ecx, [esp + 0xe0]
call fcn.0043a4c2
pop ecx
and dword [esp + 0xf4], 0xfffffff7
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x28], 0x10
cmp eax, dword [esp + 0xa8]
jl 0x451de4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
jne 0x4526dd
xor edx, edx
cmp ebx, edx
je 0x452394
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x80], eax
inc eax
push edx
mov dword [esi + 0x28], eax
push esi
mov eax, ebx
call fcn.0044d9a0
mov edi, dword [esp + 0x14]
push 0xfffffffffffffff7
push eax
push 0
push dword [esp + 0x9c]
mov dword [esp + 0xec], eax
push dword [esp + 0x98]
push 0x72
push edi
call fcn.00427ead
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0x2c]
add esp, 0x24
inc eax
lea ecx, [eax + 1]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x38]
dec eax
lea edx, [ecx + 1]
mov dword [esp + 0x34], edx
inc edx
mov dword [esi + 0x2c], edx
mov dword [esp + 0x50], eax
dec eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
add dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x48], edx
push ecx
lea edx, [eax + 1]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx]
push 0
add edx, eax
push 0x46
push edi
mov dword [esp + 0x4c], ecx
mov dword [esi + 0x2c], edx
call fcn.00427dde
mov eax, dword [esp + 0x58]
mov ecx, dword [ebx]
inc eax
lea ecx, [ecx + eax - 1]
push ecx
push eax
push 0
push 0x49
push edi
call fcn.00427d54
add esp, 0x24
push dword [esp + 0x40]
push dword [esp + 0x4c]
push 0xc
push edi
call fcn.00427dde
mov eax, dword [esp + 0x28]
neg eax
sbb eax, eax
and eax, 0x200
push 0
or ax, 0x40
movzx eax, ax
push eax
push 0
push ebx
push dword [esp + 0x50]
push dword [esp + 0x38]
push esi
call fcn.0045cc4c
add esp, 0x2c
mov dword [esp + 0x30], eax
test eax, eax
je 0x4526dd
movsx ecx, byte [eax + 0x2f]
cmp ecx, dword [ebx]
jne 0x451f7e
xor esi, esi
mov dword [esp + 0x38], esi
jmp 0x452102
cmp byte [esp + 0x60], 0
je 0x451f93
mov eax, dword [ebp + 0xc]
test byte [eax + 8], 1
mov eax, 0x4bf720
je 0x451f98
mov eax, 0x4bf72c
push eax
mov edi, esi
call fcn.0044da37
mov edi, dword [ebx]
mov edx, dword [esp + 0xa0]
pop ecx
mov dword [esp + 0x38], 1
mov dword [esp + 0x14], edi
mov ecx, edi
test edx, edx
jle 0x451fd5
mov eax, dword [esp + 0x98]
add eax, 0xc
cmp dword [eax], ecx
jl 0x451fcf
inc dword [esp + 0x14]
inc ecx
add eax, 0x18
dec edx
jne 0x451fc6
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
call fcn.0043a55b
mov ecx, dword [ebp + 8]
push 0
mov esi, eax
push 0
push esi
mov eax, ebx
call fcn.004392a2
and dword [esp + 0x1c], 0
add esp, 0xc
cmp dword [esp + 0x9c], 0
jle 0x45204a
and dword [esp + 0x1c], 0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x1c]
add ecx, eax
cmp dword [ecx + 0xc], edi
jl 0x452034
lea eax, [esi + edi]
push eax
push dword [ecx + 4]
mov eax, dword [ecx + 8]
push dword [esp + 0x14]
mov ecx, dword [ecx]
call fcn.0043826f
add esp, 0xc
inc edi
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], 0x18
cmp eax, dword [esp + 0x9c]
jl 0x452009
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.0043a523
push eax
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push esi
push 0x5c
push dword [esp + 0x1c]
call fcn.00427d54
add esp, 0x14
push dword [esp + 0x1c]
push dword [esp + 0x84]
push 0x83
push dword [esp + 0x18]
call fcn.00427dde
mov edx, dword [esp + 0x2c]
mov eax, edi
call fcn.0043a541
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.0043a58c
push dword [esp + 0x40]
call fcn.0045d46c
mov edx, dword [edi + 0x28]
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
add esp, 0x14
mov eax, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x84], edx
call fcn.0043a523
push dword [esp + 0x14]
mov dword [esp + 0x58], eax
push eax
push edx
push 0x74
push dword [esp + 0x1c]
call fcn.00427d54
add esp, 0x14
push dword [esp + 0x20]
push dword [esp + 0x84]
push 0x22
push dword [esp + 0x18]
call fcn.00427dde
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
add esp, 0x10
mov byte [esp + 0x7d], 1
xor esi, esi
cmp dword [esp + 0x18], esi
je 0x452133
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x4c], 4
jne 0x452133
cmp dword [esp + 0x38], esi
jne 0x45211e
cmp byte [eax + 0x30], 0
je 0x452133
mov ecx, dword [esp + 0xc0]
mov eax, edi
mov dword [esp + 0xac], esi
call fcn.0042833a
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x38], esi
je 0x45215a
push dword [esp + 0x1c]
push dword [esp + 0x58]
push dword [esp + 0x88]
push 0x7e
push edi
call fcn.00427d54
add esp, 0x14
xor esi, esi
cmp dword [ebx], esi
jle 0x4521aa
lea eax, [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
add eax, esi
cmp dword [esp + 0x38], 0
push eax
je 0x452187
push esi
push dword [esp + 0x24]
push 0x5a
push edi
call fcn.00427d54
add esp, 0x14
jmp 0x4521a0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x80], 1
push dword [eax]
push dword [ebp + 8]
call fcn.00439190
add esp, 0xc
add dword [esp + 0x18], 0x18
inc esi
cmp esi, dword [ebx]
jl 0x452167
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x4521b7
inc dword [eax]
push 0xfffffffffffffff7
push eax
push dword [ebx]
mov eax, dword [esp + 0x54]
push dword [esp + 0x34]
inc eax
push eax
push 0x57
push edi
call fcn.00427ead
mov esi, dword [edi + 0x6c]
add esp, 0x1c
lea eax, [esi + 1]
push eax
push 0
push eax
push 0x10
push edi
call fcn.00427d54
mov eax, dword [esp + 0x5c]
add esp, 0x14
push dword [ebx]
inc eax
push eax
push dword [esp + 0x30]
mov eax, dword [ebp + 8]
call fcn.0043830f
add esp, 0xc
push dword [esp + 0x50]
push dword [esp + 0x38]
push 0xc
push edi
call fcn.00427dde
push dword [esp + 0x30]
push dword [esp + 0x50]
push 0x2f
push edi
call fcn.00427dde
push dword [esp + 0x60]
push dword [esp + 0x6c]
push 0xc
push edi
call fcn.00427dde
mov eax, esi
mov ecx, edi
call fcn.0042848e
mov ecx, dword [edi + 0x6c]
push dword [esp + 0x74]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
lea ebx, [esp + 0xb0]
call fcn.00451006
mov ebx, dword [esp + 0x40]
add esp, 0x34
push dword [esp + 0x44]
push 1
push 0x46
push ebx
call fcn.00427dde
add esp, 0x10
cmp dword [esp + 0x38], 0
je 0x452286
push dword [esp + 0x14]
push dword [esp + 0x84]
push 3
push ebx
call fcn.00427dde
add esp, 0x10
jmp 0x45229b
push dword [esp + 0x30]
call fcn.0045d46c
pop ecx
mov ecx, dword [esp + 0x78]
mov eax, ebx
call fcn.0042833a
push dword [esp + 0x50]
push dword [esp + 0x38]
push 0xc
push ebx
call fcn.00427dde
push dword [esp + 0x30]
push ebx
call fcn.00427df9
push dword [esp + 0x54]
mov eax, dword [ebx + 0x6c]
push 1
push 0x46
push ebx
mov dword [esp + 0xa0], eax
call fcn.00427dde
push dword [esp + 0x5c]
push 0x42
push ebx
call fcn.00427dc5
mov eax, dword [esp + 0x84]
add esp, 0x34
mov ecx, ebx
call fcn.00428041
mov esi, dword [ebx + 0x6c]
lea eax, [esi + 2]
push eax
push dword [esp + 0x48]
push 0x2f
push ebx
call fcn.00427dde
push dword [esp + 0x44]
push 0x42
push ebx
call fcn.00427dc5
mov eax, dword [ebp + 8]
add esp, 0x1c
lea edi, [esp + 0x7c]
call fcn.00450fb0
push 0x10
inc esi
push esi
push dword [esp + 0x60]
push dword [ebp + 8]
call fcn.00439761
push dword [esp + 0x88]
lea eax, [esp + 0x74]
push esi
push dword [ebp + 0x10]
push eax
lea eax, [esp + 0xcc]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044d2bb
push dword [esp + 0x64]
push 0x42
push ebx
call fcn.00427dc5
mov eax, dword [esp + 0x7c]
add esp, 0x3c
mov ecx, ebx
call fcn.00428041
push dword [ebp + 8]
mov esi, edi
call fcn.00450f1d
pop ecx
push dword [esp + 0x44]
push 0
push 0x46
push ebx
call fcn.00427dde
push dword [esp + 0x58]
push 0x42
push ebx
call fcn.00427dc5
add esp, 0x1c
jmp 0x452656
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xa4]
cmp dword [eax + 0x24], edx
jne 0x4523fd
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x4523fd
mov eax, dword [eax + 0x20]
cmp dword [eax], 1
jne 0x4523fd
cmp dword [eax + 0x1c], edx
jne 0x4523fd
mov eax, dword [eax + 0x18]
mov ecx, dword [ecx + 4]
cmp dword [eax + 0x38], edx
jne 0x452536
cmp byte [ecx], 0xa3
jne 0x452536
cmp dword [esp + 0xa8], edx
je 0x452536
mov edi, dword [esi + 4]
test dword [edi + 4], 0x100
je 0x452536
test dword [ecx + 4], 0x1000002
jne 0x452536
mov ebx, eax
jmp 0x4523ff
xor ebx, ebx
cmp ebx, edx
je 0x452536
mov esi, dword [ebp + 8]
mov edx, dword [ebx + 0x48]
mov ecx, dword [esi]
call fcn.0044c2e2
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x28]
push dword [esp + 0x3c]
mov dword [esp + 0x20], eax
inc eax
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x1c]
xor edi, edi
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], eax
call fcn.00441cbe
test byte [ebx + 0x24], 0x20
pop ecx
je 0x45244b
mov eax, ebx
call fcn.0043e20c
mov edi, eax
mov eax, dword [ebx + 8]
jmp 0x452475
test byte [eax + 0x38], 4
jne 0x452472
movzx ecx, word [eax + 0x30]
cmp cx, word [ebx + 0x2e]
jge 0x452472
cmp dword [eax + 0x24], 0
jne 0x452472
test edi, edi
je 0x452470
cmp cx, word [edi + 0x30]
jge 0x452472
mov edi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x452450
test edi, edi
je 0x45248f
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x54], eax
mov eax, esi
call fcn.004420f8
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0xc]
push 1
push dword [esp + 0x40]
push dword [esp + 0x5c]
push dword [esp + 0x28]
push 0x61
call fcn.00427fb4
add esp, 0x14
cmp dword [esp + 0x18], 0
je 0x4524c3
push 0xfffffffffffffff7
push dword [esp + 0x1c]
push 0xffffffffffffffff
push esi
call fcn.004283d2
add esp, 0x10
mov eax, dword [esp + 0xa4]
push dword [eax + 8]
push dword [esp + 0x20]
push 0x5d
push esi
call fcn.00427dde
push dword [esp + 0x2c]
push 0x75
push esi
call fcn.00427dc5
mov eax, dword [ebp + 8]
add esp, 0x1c
cmp byte [eax + 0xbf], 2
jne 0x45261e
test edi, edi
je 0x45252d
test byte [ebx + 0x24], 0x20
je 0x45250b
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x45252d
mov edi, dword [edi]
mov eax, 0x4bf6ac
push edi
mov edi, dword [ebp + 8]
push eax
push dword [ebx]
push 0x4bf6c4
push 0
call fcn.00427f14
add esp, 0x14
jmp 0x45261e
mov eax, 0x4bc53c
mov edi, eax
jmp 0x452512
xor edi, edi
cmp dword [esp + 0xa0], edx
je 0x452593
xor ecx, ecx
cmp dword [esp + 0xa8], edx
jle 0x45256f
mov eax, esi
mov esi, dword [eax]
test dword [esi + 4], 0x1000000
jne 0x452562
mov esi, dword [eax + 4]
test byte [esi + 4], 0x20
jne 0x45256f
inc ecx
add eax, 0x10
cmp ecx, dword [esp + 0xa8]
jl 0x45254e
cmp ecx, dword [esp + 0xa8]
jne 0x452593
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
push edi
push edx
push 0x46
push dword [esp + 0x18]
call fcn.00427dde
add esp, 0x10
jmp 0x452596
mov ebx, dword [ebp + 8]
push ebx
lea esi, [esp + 0x80]
call fcn.00450f1d
movzx ax, byte [esp + 0x33]
pop ecx
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x68]
push dword [esp + 0x40]
push dword [esp + 0x28]
push ebx
call fcn.0045cc4c
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4526dd
mov eax, dword [ebp + 8]
push edi
lea ebx, [esp + 0x80]
call fcn.00451006
pop ecx
test edi, edi
je 0x4525f7
push edi
push 1
push 0x46
push dword [esp + 0x18]
call fcn.00427dde
add esp, 0x10
cmp byte [esi + 0x2f], 0
jle 0x45260b
push dword [esi + 0x24]
push dword [esp + 0x10]
call fcn.00427df9
pop ecx
pop ecx
push esi
call fcn.0045d46c
mov eax, dword [ebp + 8]
pop ecx
lea edi, [esp + 0x7c]
call fcn.00450fb0
push 0x10
push dword [esp + 0x24]
xor esi, esi
push dword [esp + 0x60]
mov dword [esp + 0xb8], esi
push dword [ebp + 8]
call fcn.00439761
push dword [esp + 0x30]
push dword [esp + 0x34]
push dword [ebp + 0x10]
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044d2bb
add esp, 0x30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
call fcn.00428041
mov edi, dword [ebp + 8]
cmp byte [esp + 0x61], 3
jne 0x452681
push 0x4bf720
push 0x4bf308
push 0
call fcn.00427f14
add esp, 0xc
cmp dword [esp + 0xac], 0
je 0x4526c1
cmp dword [esp + 0xb0], 0
mov eax, 0x4bf738
jg 0x45269f
mov eax, 0x4bf3c8
push eax
call fcn.0044da37
mov eax, dword [esp + 0x50]
pop ecx
push dword [ebp + 0x10]
push dword [eax]
lea eax, [esp + 0xb4]
push dword [ebp + 0xc]
call fcn.0044da4b
add esp, 0xc
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xc]
call fcn.00428041
xor eax, eax
cmp dword [edi + 0x24], eax
setg al
mov dword [esp + 0x38], eax
cmp dword [esp + 0x5c], 0
je 0x4526f3
push dword [esp + 0x5c]
push dword [esp + 0x28]
call fcn.00436d2d
pop ecx
pop ecx
cmp dword [esp + 0x98], 0
je 0x45270f
push dword [esp + 0x98]
push dword [esp + 0x28]
call fcn.004120c1
pop ecx
pop ecx
cmp dword [esp + 0xa4], 0
je 0x45272b
push dword [esp + 0xa4]
push dword [esp + 0x28]
call fcn.004120c1
pop ecx
pop ecx
mov esi, dword [ebp + 8]
call fcn.00427f5d
mov eax, dword [esp + 0x38]
jmp 0x45273c
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret