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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xb8]
xor eax, eax
push ebp
push esi
mov esi, dword [esp + 0xb8]
mov ebp, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x54], eax
push edi
mov ecx, dword [esi + 4]
lea eax, [esi + 0x50]
mov dword [esp + 0x74], eax
mov edi, edx
mov eax, dword [ebp]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0x2c]
imul eax, eax, 0x48
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x78], eax
mov eax, dword [eax + ecx + 0x34]
lea ecx, [esi + 0x1e8]
mov edx, eax
mov dword [esp + 0x28], eax
call fcn.0045da21
not eax
not edx
and eax, dword [esp + 0xc8]
and edx, dword [esp + 0xcc]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov esi, dword [esp + 0xc0]
mov ecx, esi
call fcn.004be9f0
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x38]
dec eax
mov dword [ebp + 0x38], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x38]
dec eax
mov dword [ebp + 0x38], eax
cmp byte [ebx + 0x2c], 0
mov dword [esp + 0x80], eax
mov dword [ebx + 0x18], eax
jbe 0x45ba94
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
test byte [eax + ecx + 0x2c], 8
je 0x45ba94
mov eax, dword [ebp + 0x2c]
xor ecx, ecx
push ecx
inc eax
push eax
push ecx
push 0x46
mov dword [ebp + 0x2c], eax
mov ecx, edi
pop edx
mov dword [ebx], eax
call fcn.004293f8
add esp, 0xc
mov ecx, dword [esp + 0xbc]
test esi, esi
jle 0x45bab9
imul eax, esi, 0x50
add eax, 0x2f0
add eax, ecx
xor edx, edx
cmp dword [eax], edx
jne 0x45babb
dec esi
sub eax, 0x50
test esi, esi
jg 0x45baab
jmp 0x45babb
xor edx, edx
imul eax, esi, 0x50
mov esi, dword [eax + ecx + 0x2fc]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x40], esi
test byte [eax + ecx + 0x30], 0x10
je 0x45bb14
push dword [eax + ecx + 0x20]
mov esi, dword [eax + ecx + 0x24]
mov ecx, edi
push edx
push esi
push 0xd
pop edx
call fcn.004293f8
mov ecx, dword [esp + 0x2c]
add esp, 0xc
xor edi, edi
push edi
push dword [esp + 0x50]
push esi
push 0xe
pop edx
call fcn.004293f8
add esp, 0xc
mov dword [ebx + 0x34], eax
push 0xb
pop eax
mov byte [ebx + 0x2d], al
jmp 0x45c787
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x45bd1d
movzx ebp, word [ecx + 0x28]
mov ecx, dword [esp + 0x30]
lea edx, [ebp + 2]
call fcn.0043c481
mov ecx, eax
xor edi, edi
mov eax, dword [ebx + 0xc]
mov esi, edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x45bb9d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x45bb98
lea eax, [ecx + 2]
xor ecx, ecx
inc ecx
add eax, esi
test byte [edx + 0xc], cl
je 0x45bb82
mov ecx, dword [esp + 0x30]
push eax
push dword [esp + 0x30]
push esi
push ebx
call fcn.0045b131
mov eax, dword [ebx + 0x10]
add esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x45bb94
mov edx, dword [edx]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov edx, dword [edx + 0x10]
call fcn.0045b7ce
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, ebp
jl 0x45bb4b
mov eax, dword [esp + 0x1c]
push edi
push ecx
mov ecx, dword [esp + 0x28]
push dword [eax + 0x18]
push 0x46
pop edx
call fcn.004293f8
mov esi, dword [esp + 0x48]
add esp, 0xc
push edi
mov edi, dword [esp + 0x24]
lea eax, [esi + 1]
push eax
push ebp
push 0x46
pop edx
mov ecx, edi
call fcn.004293f8
mov ecx, dword [esp + 0x28]
add esp, 0xc
or eax, 0xffffffff
cmp byte [ecx + 0x1c], 0
push 0xfffffffffffffff9
pop edx
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, edi
push esi
push dword [esp + 0x24]
mov esi, dword [esp + 0x38]
push esi
push 9
pop edx
call fcn.00429535
mov edx, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [esp + 0xbc]
mov byte [edx + 0x1c], 0
push 0x3c
pop eax
mov dword [ebx + 0x30], esi
cmp byte [ecx + 0x31], 0
lea esi, [eax + 0x6e]
cmovne eax, esi
sub ebp, 1
mov byte [ebx + 0x2d], al
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x38]
js 0x45c787
imul ecx, eax, 0x14
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 0x30]
mov edi, dword [eax + ebp*4]
cmp ebp, 0x10
jge 0x45bc62
mov ax, word [edx + 0x1e]
mov cx, bp
shr ax, cl
test al, 1
je 0x45bc5e
mov edx, edi
mov ecx, ebx
call fcn.0045aed4
jmp 0x45bd07
mov ecx, dword [esp + 0x18]
xor eax, eax
inc eax
test byte [edi + 0xc], al
je 0x45bd0b
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x51], 0
jne 0x45bca3
mov edx, dword [ebx + 0x3c]
sub ecx, 0x14
mov dword [esp + 0x18], ecx
mov edx, dword [edx + ecx + 4]
mov ecx, dword [esp + 0x20]
call fcn.00429b75
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.004293f8
add esp, 0xc
mov ecx, dword [esp + 0x30]
xor eax, eax
push eax
push eax
push 0x35
pop edx
call fcn.004379a5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x45bd07
mov ecx, dword [edi]
mov edx, 0xab
xor edi, edi
push edi
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x48]
call fcn.0043791e
mov dword [esi + 0x10], eax
pop ecx
test eax, eax
je 0x45bcf9
mov ecx, dword [esp + 0x3c]
add ecx, 2
add ecx, ebp
push edi
mov dword [eax + 0x18], ecx
push dword [ebx + 0x18]
push esi
push dword [esp + 0x3c]
call fcn.0043b6df
add esp, 0x10
mov ecx, dword [esp + 0x44]
mov edx, esi
mov dword [esi + 0xc], edi
call fcn.00437d14
mov edx, dword [esp + 0x1c]
sub ebp, 1
mov ecx, dword [esp + 0x18]
jns 0x45bc37
jmp 0x45c787
test al, 5
setne cl
bt eax, 8
setb al
test al, cl
mov eax, dword [esp + 0x1c]
je 0x45bd9b
mov eax, dword [eax + 0x30]
mov ecx, ebp
mov esi, dword [eax]
inc dword [ebp + 0x2c]
mov edi, dword [ebp + 0x2c]
push edi
push dword [esp + 0x30]
push edx
push ebx
mov edx, esi
call fcn.0045b131
mov ebp, eax
add esp, 0x10
cmp ebp, edi
je 0x45bd60
mov ecx, dword [esp + 0x30]
mov edx, edi
call fcn.0043c468
mov ecx, dword [esp + 0x20]
push ebp
push dword [ebx + 0x10]
push dword [esp + 0x30]
push 0x1e
pop edx
call fcn.004293f8
mov byte [ebx + 0x2d], 0xaa
add esp, 0xc
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x45c787
push 4
pop edx
or word [esi + 0xa], dx
jmp 0x45c787
mov ecx, dword [eax + 0x24]
mov eax, ecx
and eax, 0x102
cmp eax, 0x102
jne 0x45bf93
mov edi, dword [esp + 0x1c]
mov esi, edx
mov dword [esp + 0x18], 0xaa
mov ebp, edx
mov dword [esp + 0x3c], edx
test cl, 0x20
je 0x45bdd1
mov eax, dword [edi + 0x30]
push 4
pop edx
mov ebp, dword [eax]
test cl, 0x10
je 0x45bddc
mov eax, dword [edi + 0x30]
mov esi, dword [edx + eax]
mov eax, dword [esp + 0x2c]
mov edi, ebp
test eax, eax
cmove edi, esi
cmove esi, ebp
test esi, esi
je 0x45be8d
mov ebp, dword [esi]
mov dword [esp + 0x44], 0x18161719
mov ecx, dword [ebp + 0x10]
call fcn.004374bf
xor edx, edx
inc edx
cmp eax, edx
jle 0x45be39
mov ecx, dword [esp + 0x30]
call fcn.0043c449
mov esi, eax
push edx
mov edx, dword [ebp + 0x10]
push esi
mov dword [esp + 0x48], esi
call fcn.0045b7ce
pop ecx
pop ecx
movzx ecx, byte [ebp]
xor eax, eax
inc ecx
inc eax
and ecx, 2
or ecx, eax
mov al, byte [esp + ecx + 0x44]
jmp 0x45be63
lea eax, [esp + 0x64]
mov edx, ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.0043b074
pop ecx
mov edx, esi
mov dword [esp + 0x40], eax
mov ecx, ebx
call fcn.0045aed4
movzx ecx, byte [ebp]
mov esi, dword [esp + 0x64]
mov al, byte [esp + ecx + 0xe]
push dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
mov ecx, ebp
push dword [esp + 0x50]
movzx edx, al
push dword [esp + 0x30]
call fcn.004293f8
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, esi
call fcn.0043c468
jmp 0x45beb4
push dword [esp + 0x40]
mov ebp, dword [esp + 0x24]
mov edx, eax
push dword [esp + 0x2c]
xor eax, eax
mov ecx, ebp
inc eax
xor edx, eax
lea edx, [edx*4 + 0x20]
call fcn.00429462
pop ecx
pop ecx
mov ecx, dword [esp + 0x30]
test edi, edi
je 0x45bf21
mov esi, dword [edi]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
push 1
mov edx, dword [esi + 0x10]
push eax
mov dword [esp + 0x44], eax
call fcn.0045b7ce
pop ecx
pop ecx
mov ecx, dword [esi + 0x10]
call fcn.004374bf
xor edx, edx
inc edx
cmp eax, edx
jg 0x45bf00
mov al, byte [esi]
cmp al, 0x38
je 0x45beea
cmp al, 0x36
jne 0x45bf00
mov eax, dword [esp + 0x2c]
xor eax, edx
lea edx, [eax*2 + 0x37]
mov dword [esp + 0x18], edx
xor edx, edx
inc edx
jmp 0x45bf0f
mov eax, dword [esp + 0x2c]
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x18], eax
call fcn.004374bf
cmp eax, edx
jg 0x45bf21
mov edx, edi
mov ecx, ebx
call fcn.0045aed4
cmp dword [esp + 0x2c], 0
mov ecx, dword [ebp + 0x6c]
mov ebp, dword [esp + 0x18]
sete al
mov edx, dword [esp + 0x28]
add al, 4
mov byte [ebx + 0x2d], al
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], ecx
cmp ebp, 0xaa
je 0x45c787
mov eax, dword [esp + 0x30]
xor edi, edi
mov ecx, dword [esp + 0x20]
push edi
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edx
mov edx, 0x80
call fcn.004293f8
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, ebp
push esi
push dword [esp + 0x50]
push dword [esp + 0x44]
call fcn.004293f8
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push 0x53
pop edx
call fcn.004298e0
jmp 0x45c787
test ecx, 0x200
je 0x45c742
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x3c], edx
movzx eax, word [esi + 0x1a]
movzx edi, word [esi + 0x18]
mov dword [esp + 0x70], eax
movzx eax, word [esi + 0x1c]
mov esi, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], edi
mov byte [esp + 0x17], dl
mov byte [esp + 0x4b], dl
mov eax, dword [eax + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x34], eax
movzx eax, di
mov dword [esp + 0x54], edx
mov edi, eax
mov dword [esp + 0x24], eax
test cl, 0x20
je 0x45c008
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x30]
movzx esi, word [esi + 0x1a]
mov eax, dword [eax + edi*4]
inc edi
mov dword [esp + 0x5c], eax
test cl, 0x10
mov ecx, dword [esp + 0x1c]
je 0x45c073
mov eax, ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x6c], eax
movzx eax, word [ecx + 0x1c]
cmp esi, eax
cmova eax, esi
cmp dword [esp + 0x5c], 0
mov esi, eax
mov dword [esp + 0x18], esi
jne 0x45c073
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 4]
movsx edi, word [eax + ecx*2]
test edi, edi
js 0x45c057
mov eax, dword [esi + 0xc]
mov ecx, edi
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x45c064
mov eax, dword [esp + 0x18]
mov esi, eax
cmp edi, 0xfffffffe
jne 0x45c06f
jmp 0x45c068
mov eax, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x24]
and eax, 0x80030
cmp eax, 0x80000
jne 0x45c0a1
xor eax, eax
inc eax
inc dword [ebp + 0x2c]
mov esi, eax
mov byte [esp + 0x17], al
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x24], eax
dec dword [ebp + 0x38]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x38]
mov dword [ebx + 0x28], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
movzx edi, word [ecx + 0x32]
cmp ax, di
jae 0x45c0cf
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov ebp, dword [esp + 0x24]
cmp byte [eax + ebp], cl
mov ebp, dword [esp + 0x30]
sete cl
cmp dword [esp + 0x2c], ecx
je 0x45c0db
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x2c], 0
je 0x45c111
cmp di, ax
jne 0x45c111
mov eax, dword [esp + 0x6c]
mov edi, eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x4b], al
mov eax, dword [esp + 0x70]
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0x58]
mov dword [esp + 0x6c], ecx
movzx ecx, dx
movzx eax, al
mov dword [esp + 0x5c], edi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x58], eax
jmp 0x45c115
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x4c]
mov edx, ebx
push eax
push esi
push dword [esp + 0x34]
mov ecx, ebp
call fcn.0045b4fa
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
test ecx, ecx
je 0x45c163
cmp word [esp + 0x58], 0
je 0x45c163
lea edx, [ecx + eax]
test edx, edx
jne 0x45c152
xor ecx, ecx
mov dword [esp + 0x3c], ecx
jmp 0x45c165
mov ecx, dword [esp + 0x44]
call fcn.00412dce
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp dword [esp + 0x54], 0
je 0x45c171
mov edx, dword [ebx + 0x28]
jmp 0x45c174
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x60], edx
test edi, edi
je 0x45c186
test byte [edi + 0xc], 0x28
mov dword [esp + 0x64], ecx
je 0x45c18e
mov dword [esp + 0x64], 1
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x45c1a5
test byte [edx + 0xc], 0x28
jne 0x45c1a5
xor edx, edx
mov dword [esp + 0x18], ecx
inc edx
jmp 0x45c1ac
xor edx, edx
inc edx
mov dword [esp + 0x18], edx
test edi, edi
jne 0x45c1bb
cmp word [esp + 0x40], di
mov dword [esp + 0x40], ecx
jbe 0x45c1bf
mov dword [esp + 0x40], edx
mov esi, eax
test edi, edi
je 0x45c266
mov eax, dword [edi]
mov edi, dword [eax + 0x10]
mov edx, edi
mov eax, dword [esp + 0x70]
movzx ecx, ax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x70], edi
call fcn.0045b7ce
pop ecx
pop ecx
mov ecx, edi
call fcn.00438bec
test eax, eax
je 0x45c21c
mov eax, dword [esp + 0x38]
xor edi, edi
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edi
push dword [esp + 0x64]
push eax
push 0x32
pop edx
call fcn.004293f8
mov edi, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x45c23a
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, edi
push eax
mov eax, dword [esp + 0x74]
movzx edx, ax
call fcn.0045af7c
pop ecx
mov ecx, dword [esp + 0x70]
movzx eax, cx
mov ecx, edi
add esi, eax
call fcn.004374bf
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x45c25e
mov edx, dword [esp + 0x5c]
mov ecx, ebx
call fcn.0045aed4
jmp 0x45c262
mov dword [esp + 0x64], ecx
xor al, al
jmp 0x45c2a2
cmp byte [esp + 0x17], 0
je 0x45c297
mov dword [esp + 0x64], ecx
add eax, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
push ecx
push eax
push ecx
push 0x49
pop edx
mov ecx, edi
call fcn.004293f8
xor eax, eax
add esp, 0xc
inc eax
inc esi
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x17]
jmp 0x45c2a6
cmp dword [esp + 0x54], 0
jne 0x45c271
mov al, byte [esp + 0x17]
mov edi, dword [esp + 0x20]
push dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
movzx ecx, al
mov eax, esi
sub eax, ecx
mov dword [esp + 0x6c], ecx
push eax
mov ecx, ebp
call fcn.0045af38
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x45c2d8
cmp esi, eax
je 0x45c397
test dword [ecx + 0x24], 0x40000
je 0x45c2f6
xor eax, eax
mov ecx, edi
push eax
push eax
push dword [esp + 0x3c]
push 0x77
pop edx
call fcn.004293f8
add esp, 0xc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x45c312
push 0
push eax
xor eax, eax
mov ecx, edi
inc eax
push eax
push 0x46
pop edx
call fcn.004293f8
add esp, 0xc
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
push esi
push dword [esp + 0x3c]
push dword [esp + 0x68]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x40]
movzx edx, byte [ecx + eax*2 + 0x4cbc38]
mov ecx, edi
call fcn.0042965e
mov eax, dword [esp + 0x64]
add esp, 0x10
test eax, eax
je 0x45c39b
mov eax, dword [edi + 0x6c]
xor ecx, ecx
push ecx
add eax, 2
push eax
push ecx
push 0xb
pop eax
mov edx, eax
mov ecx, edi
call fcn.004293f8
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, esi
sub eax, dword [esp + 0x64]
push eax
push dword [esp + 0x3c]
xor eax, eax
push dword [esp + 0x68]
inc eax
push dword [esp + 0x40]
cmp eax, esi
push 4
pop edx
sbb eax, eax
and eax, edx
movzx edx, byte [eax + ecx + 0x4cbc3a]
mov ecx, edi
call fcn.0042965e
add esp, 0x10
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x45c55c
mov eax, dword [ecx]
mov ecx, ebp
mov edi, dword [eax + 0x10]
mov edx, edi
mov eax, dword [esp + 0x58]
movzx esi, ax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
push esi
push eax
call fcn.0045b7ce
pop ecx
pop ecx
mov ecx, edi
call fcn.00438bec
test eax, eax
je 0x45c3f1
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
push dword [esp + 0x64]
push eax
push 0x32
pop edx
call fcn.004293f8
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45c41e
push eax
mov edx, esi
mov ecx, edi
call fcn.0045af7c
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
pop ecx
mov ecx, dword [esp + 0x24]
push eax
push esi
lea edx, [edx + ecx]
mov ecx, ebp
call fcn.0045af38
pop ecx
pop ecx
add dword [esp + 0x24], esi
mov ecx, edi
call fcn.004374bf
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x45c553
mov edx, dword [esp + 0x6c]
mov ecx, ebx
call fcn.0045aed4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
test eax, eax
je 0x45c458
mov edx, eax
mov ecx, esi
call fcn.00412a50
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45c469
mov edx, eax
mov ecx, esi
call fcn.00412a50
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x34], eax
test edi, edi
je 0x45c4bd
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x45c496
mov eax, dword [esi + 0x6c]
push 0
add eax, 3
push eax
push ecx
push 0x14
pop edx
mov ecx, esi
call fcn.004293f8
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push edi
push dword [esp + 0x3c]
push dword [esp + 0x68]
movzx edx, byte [eax + ecx*2 + str.__]
mov ecx, esi
push dword [esp + 0x40]
call fcn.0042965e
add esp, 0x10
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x45c506
mov eax, dword [esi + 0x6c]
push 0
add eax, 2
push eax
push ecx
push 0x12
pop edx
mov ecx, esi
call fcn.004293f8
mov ecx, dword [esp + 0x74]
add esp, 0xc
lea eax, [edi + ecx]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push dword [esp + 0x68]
push dword [esp + 0x40]
movzx edx, byte [ecx + eax*2 + str.__]
mov ecx, esi
call fcn.0042965e
add esp, 0x10
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x24]
test eax, 0x40000
je 0x45c52e
push 0
xor eax, eax
mov ecx, esi
inc eax
push eax
push dword [esp + 0x3c]
push 0x77
pop edx
call fcn.004293f8
mov eax, dword [edi + 0x24]
add esp, 0xc
test al, 0x40
je 0x45c594
mov ecx, dword [esp + 0xbc]
test byte [ecx + 0x2c], 0x20
jne 0x45c594
mov edx, dword [esp + 0x28]
xor eax, eax
xor edi, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x50]
jmp 0x45c6cc
mov dword [esp + 0x18], ecx
jmp 0x45c43f
cmp byte [esp + 0x4b], 0
je 0x45c43f
test eax, eax
jne 0x45c58a
mov eax, dword [esp + 0x24]
xor ecx, ecx
add eax, dword [esp + 0x38]
push ecx
push eax
push ecx
push 0x49
pop edx
mov ecx, edi
call fcn.004293f8
add esp, 0xc
and dword [esp + 0x18], 0
mov edi, dword [esp + 0x24]
inc edi
jmp 0x45c443
mov eax, dword [esp + 0x50]
xor edi, edi
mov esi, edi
mov ecx, dword [eax + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x45c62a
mov ecx, dword [esp + 0xbc]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x45c5f2
test eax, 0x1000
je 0x45c5ca
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x45c5f2
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
push ebp
push dword [esp + 0x2c]
call fcn.0045b72b
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
pop ecx
pop ecx
mov ecx, dword [esp + 0xbc]
jmp 0x45c6d0
inc dword [ebp + 0x2c]
mov edx, 0x87
mov esi, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x20]
push edi
push esi
push dword [esp + 0x3c]
call fcn.004293f8
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push esi
push 0
push dword [esp + 0x30]
push 0x1f
pop edx
call fcn.004293f8
add esp, 0xc
jmp 0x45c6b9
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x34]
je 0x45c6c5
call fcn.004403c2
mov edi, eax
mov ecx, ebp
movzx edx, word [edi + 0x32]
call fcn.0043c481
movzx ecx, word [edi + 0x32]
mov ebp, eax
xor eax, eax
xor esi, esi
mov edx, ecx
cmp ax, cx
jae 0x45c69a
mov ebx, dword [esp + 0x20]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x50]
mov dx, word [eax + esi*2]
call fcn.004403da
movsx ecx, ax
lea eax, [esi + ebp]
push eax
push ecx
push dword [esp + 0x3c]
mov ecx, ebx
push 0x5a
pop edx
call fcn.004293f8
movzx ecx, word [edi + 0x32]
add esp, 0xc
inc esi
cmp esi, ecx
jl 0x45c65f
mov ebx, dword [esp + 0xc4]
mov edx, ecx
mov ecx, dword [esp + 0x20]
movzx eax, dx
push eax
push ebp
push dword [esp + 0x88]
push dword [esp + 0x34]
push 0x1c
pop edx
call fcn.0042965e
add esp, 0x10
mov edx, dword [esp + 0x28]
xor edi, edi
mov eax, dword [esp + 0x50]
mov esi, edi
mov ecx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x34]
cmp dword [ebx], edi
jne 0x45c6e5
test byte [ecx + 0x2c], 0x20
jne 0x45c6e5
push ecx
push ebp
mov ecx, eax
call fcn.0045b898
pop ecx
pop ecx
mov edi, dword [esp + 0x50]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x45c6fe
push dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
call fcn.0045b93a
pop ecx
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x24], 0x1000
je 0x45c711
mov byte [ebx + 0x2d], 0xaa
jmp 0x45c71e
cmp dword [esp + 0x2c], 0
sete al
add al, 4
mov byte [ebx + 0x2d], al
xor edx, edx
mov dword [ebx + 0x30], ebp
mov al, byte [ecx + 0x26]
inc edx
and al, dl
mov byte [ebx + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x45c735
mov byte [ebx + 0x2f], dl
xor edx, edx
test esi, esi
cmove edx, edi
mov dword [esp + 0x58], edx
jmp 0x45c787
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
test byte [eax + ecx + 0x30], 0x20
je 0x45c757
mov byte [ebx + 0x2d], 0xaa
jmp 0x45c787
mov ecx, dword [esp + 0x2c]
push esi
mov al, byte [ecx + 0x4cfb68]
movzx edx, byte [ecx + 0x4cbc34]
mov ecx, edi
mov byte [ebx + 0x2d], al
mov eax, dword [esp + 0x2c]
push eax
mov dword [ebx + 0x30], eax
call fcn.00429462
pop ecx
pop ecx
inc eax
xor ecx, ecx
inc ecx
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x2f], cl
mov eax, dword [esp + 0x74]
xor edx, edx
cmp dword [esp + 0x58], edx
sete dl
inc edx
mov dword [esp + 0x4c], edx
mov edi, dword [eax + 0xc]
xor ebp, ebp
mov esi, dword [eax + 0x14]
mov dword [esp + 0x18], edi
test edi, edi
jle 0x45c86e
movzx eax, word [esi + 0xa]
test al, 6
jne 0x45c850
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
je 0x45c7d8
mov eax, dword [esp + 0xbc]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x45c850
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esi]
mov dword [esp + 0x68], ecx
test byte [eax + ebx + 0x2c], 8
mov ebx, dword [esp + 0xc4]
je 0x45c7fe
xor eax, eax
inc eax
test byte [ecx + 4], al
je 0x45c850
jmp 0x45c801
xor eax, eax
inc eax
cmp edx, eax
jne 0x45c81f
push dword [esp + 0x58]
mov edx, dword [ebx + 4]
call fcn.0043c088
pop ecx
test eax, eax
jne 0x45c9f3
push 2
pop ebp
jmp 0x45c850
cmp edx, 3
jl 0x45c9f7
movzx eax, word [esi + 0xa]
test eax, 0x200
jne 0x45c850
push 0x10
push dword [esp + 0x84]
push ecx
push dword [esp + 0x3c]
call fcn.0043b6df
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
mov edx, dword [esp + 0x4c]
dec edi
add esi, 0x30
test edi, edi
jg 0x45c7ad
mov eax, dword [esp + 0x74]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x18], edi
mov edx, ebp
mov dword [esp + 0x4c], edx
test ebp, ebp
jg 0x45c799
test edi, edi
jle 0x45c964
lea ebp, [esi + 0xc]
test byte [ebp - 2], 6
jne 0x45c954
movzx eax, word [ebp]
test al, 0x82
push 0xb
setne cl
pop edx
bt ax, dx
setb al
test al, cl
je 0x45c954
mov ecx, dword [esp + 0x28]
cmp dword [ebp + 8], ecx
jne 0x45c954
cmp dword [ebx], 0
jne 0x45c954
mov eax, dword [ebp - 0xc]
mov edx, ecx
mov ecx, dword [esp + 0x74]
push 0
push 0x83
push dword [esp + 0xd4]
mov dword [esp + 0x74], eax
push dword [esp + 0xd4]
push dword [ebp + 0x10]
call fcn.0045dd31
mov esi, eax
add esp, 0x14
test esi, esi
je 0x45c954
test byte [esi + 0xa], 4
jne 0x45c954
xor ecx, ecx
inc ecx
test byte [esi + 0xc], cl
je 0x45c917
mov eax, dword [esi]
test dword [eax + 4], 0x800
je 0x45c917
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], ecx
jg 0x45c954
mov esi, dword [esi]
lea edi, [esp + 0x88]
mov eax, dword [esp + 0x68]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x84]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x3c]
call fcn.0043b6df
mov edi, dword [esp + 0x28]
add esp, 0x10
dec edi
add ebp, 0x30
mov dword [esp + 0x18], edi
test edi, edi
jg 0x45c887
cmp dword [ebx], 0
je 0x45c9e2
mov ecx, dword [esp + 0x20]
push 0
push dword [ebx]
mov eax, dword [ecx + 0x6c]
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x46
pop edx
call fcn.004293f8
mov ebp, dword [esp + 0x80]
xor edx, edx
add esp, 0xc
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], edx
jle 0x45c9e2
test byte [esi + 0xa], 6
jne 0x45c9d2
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x45c9d2
push 0x10
push dword [esp + 0x84]
push dword [esi]
push dword [esp + 0x3c]
call fcn.0043b6df
mov edx, dword [esp + 0x94]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
inc edx
add esi, 0x30
mov dword [esp + 0x84], edx
cmp edx, dword [ebp + 0xc]
jl 0x45c997
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
mov ecx, dword [esp + 0x68]
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x45c82c
test ebp, ebp
jne 0x45c850
push 3
jmp 0x45c81c