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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp word [esi], 0x40
push edi
mov edi, dword [eax + 0xc]
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], 0
jbe 0x4596d4
push 0x40
push str.at_most__d_tables_in_a_join
mov esi, eax
call fcn.0041e940
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [esp + 0x214]
push 0
push eax
call fcn.00487460
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x210]
push 0x3d
mov dword [esp + 0x70], edx
push ecx
lea edx, [esp + 0x70]
lea eax, [esp + 0x88]
push edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0xa
mov dword [esp + 0x84], eax
call fcn.00457170
movsx ebx, word [esi]
imul ebx, ebx, 0x4c
add ebx, 0x68
add esp, 0xc
test ebx, ebx
jle 0x459954
push ebx
call fcn.0041ca60
add esp, 4
test eax, eax
mov dword [esp + 0x5c], eax
je 0x45975f
push ebx
push 0
push eax
call fcn.00487460
add esp, 0xc
cmp dword [0x4c47e8], 0
je 0x459783
cmp dword [0x4c47f0], 0
jle 0x459783
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459961
movsx ecx, word [esi]
mov ebx, dword [esp + 0x5c]
mov edx, dword [ebp + 8]
mov eax, edi
mov dword [ebx + 0x14], ecx
mov dword [ebx], edx
mov dword [ebx + 4], esi
call fcn.0042d110
cmp dword [ebp + 0x10], 0
mov dword [ebx + 0x10], eax
je 0x4597e6
cmp word [esi], 0
je 0x4597d0
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x4364d0
push ecx
mov dword [esp + 0x24], 3
call fcn.004363c0
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x4597e6
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push 1
push edx
push eax
push ecx
call fcn.004383e0
add esp, 0x10
movsx ecx, word [esi]
test ecx, ecx
jle 0x459825
lea eax, [esi + 0x20]
mov dword [esp + 0x18], ecx
jmp 0x459800
mov ecx, dword [esp + 0x210]
mov edx, dword [eax]
mov dword [esp + ecx*4 + 0x214], edx
mov ecx, 1
add dword [esp + 0x210], ecx
add eax, 0x30
sub dword [esp + 0x18], ecx
jne 0x459800
mov eax, dword [esp + 0x70]
add eax, 0xffffffff
mov dword [esp + 0x14], eax
js 0x45984c
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.00457740
add esp, 0xc
sub dword [esp + 0x14], 1
jns 0x459832
cmp dword [0x4c47e8], 0
je 0x459870
cmp dword [0x4c47f0], 0
jle 0x459870
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459965
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
lea eax, [ebx + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
movsx eax, word [esi]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x58], ecx
jle 0x459b7a
mov ebx, dword [esp + 0x28]
fld qword [0x4afc00]
xor ecx, ecx
fstp qword [esp + 0x60]
lea edx, [ebx + ebx*2]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
shl edx, 4
cmp ebx, eax
lea esi, [edx + ecx + 8]
jge 0x459abd
mov eax, dword [esp + 0x5c]
mov edx, ebx
imul edx, edx, 0x4c
lea ecx, [edx + eax + 0x64]
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov al, byte [esi + 0x15]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x34], eax
je 0x45990e
test eax, eax
jne 0x459abd
mov edx, dword [esp + 0x210]
xor ecx, ecx
test edx, edx
jle 0x459930
mov eax, dword [esi + 0x18]
mov edi, edi
cmp dword [esp + ecx*4 + 0x214], eax
je 0x459984
add ecx, 1
cmp ecx, edx
jl 0x459920
xor eax, eax
xor edx, edx
and eax, dword [esp + 0x48]
and edx, dword [esp + 0x4c]
or eax, edx
jne 0x459992
cmp ebx, dword [esp + 0x28]
jne 0x459aa4
add dword [esp + 0x28], 1
jmp 0x459aa4
mov dword [esp + 0x5c], 0
jmp 0x45975f
mov ebx, dword [esp + 0x5c]
lea ecx, [esp + 0x68]
push ecx
call fcn.00457060
add esp, 4
push ebx
call fcn.00459630
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.0049a620
jmp 0x459934
mov edx, dword [esi + 0xc]
cmp byte [edx + 0x39], 0
je 0x459a14
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4599a6
mov eax, dword [eax]
jmp 0x4599a8
xor eax, eax
mov ecx, dword [esp + 0x2c]
xor edx, edx
cmp dword [esp + 0x58], edx
push ecx
mov ecx, dword [esp + 0x4c]
sete dl
push edx
push eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [ebp + 8]
push ecx
push esi
lea edx, [esp + 0x80]
push edx
push eax
call fcn.00458860
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
add esp, 0x20
test ecx, ecx
mov dword [esp + 0x14], 0x800000
je 0x4599f7
cmp dword [ecx + 0x20], 0
je 0x4599f7
mov dword [esp + 0x14], 0x900000
fld qword [0x4afbd8]
xor eax, eax
fcom st(1)
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
fnstsw ax
test ah, 5
jp 0x459a5b
fstp st(1)
jmp 0x459a5d
cmp dword [esp + 0x58], 0
jne 0x459a26
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x459a26
mov eax, dword [eax]
jmp 0x459a28
xor eax, eax
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x5c]
push eax
mov eax, dword [ebp + 8]
push ecx
push esi
lea edx, [esp + 0x84]
push edx
push eax
call fcn.00458bd0
add esp, 0x24
xor ecx, ecx
jmp 0x459a5d
fstp st(0)
fld qword [esp + 0x60]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x459a9b
mov edx, dword [esp + 0x3c]
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], ebx
mov dword [eax + 0x44], ecx
jmp 0x459a9d
fstp st(0)
cmp dword [esp + 0x34], 0
jne 0x459abd
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx]
add dword [esp + 0x2c], 0x4c
add ebx, 1
add esi, 0x30
cmp ebx, edx
jl 0x4598f0
mov ecx, dword [esp + 0x1c]
test ecx, 0x100000
je 0x459ad2
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
and dword [esp + 0x38], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x38], edx
xor edx, edx
cmp ecx, edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x40], edx
mov dword [eax + 0x3c], edx
je 0x459b06
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x1c]
mov dword [eax + 0x18], esi
add dword [ecx + 0x1c], 1
jmp 0x459b0d
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [esp + 0x210]
mov esi, dword [esp + 0x54]
xor ecx, ecx
cmp eax, edx
jle 0x459b44
mov ebx, dword [ebp + 0xc]
lea edx, [esi + esi*2]
shl edx, 4
mov edx, dword [edx + ebx + 0x20]
jmp 0x459b30
cmp dword [esp + ecx*4 + 0x214], edx
je 0x459c01
add ecx, 1
cmp ecx, eax
jl 0x459b30
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x58]
not eax
and dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov dword [eax], esi
add eax, 0x4c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
not edx
and dword [esp + 0x4c], edx
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x58], ecx
jl 0x45989f
test dword [esp + 0x38], 0x400000
je 0x459b91
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x459b91
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0xc]
test ebx, ebx
jne 0x459c57
cmp dword [0x4c47e8], ebx
mov esi, dword [eax]
je 0x459bbf
cmp dword [0x4c47f0], ebx
jle 0x459bbf
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459c26
push 0x250
call fcn.00486093
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x459c12
cmp dword [0x4c47e8], eax
je 0x459bf0
cmp dword [0x4c47f0], eax
jle 0x459bf0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459c22
call fcn.00420d80
mov dword [0x4c47e8], 1
jmp 0x459c22
mov eax, 1
xor edx, edx
call fcn.0049a620
jmp 0x459b48
push 0x250
push 0
push ebx
call fcn.00487460
add esp, 0xc
test ebx, ebx
jne 0x459c2a
xor ebx, ebx
jmp 0x459c4d
mov dword [ebx], esi
mov eax, dword [esi + 0x50]
test eax, eax
je 0x459c36
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0x50]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], 0
mov dword [esi + 0x50], ebx
mov dword [ebx + 0x4c], 0x26bceaa5
test ebx, ebx
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], ebx
je 0x459cc1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
jne 0x459cc1
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x459c94
lea eax, [esi + 1]
call fcn.0042d000
cmp dword [0x4c47e8], 0
je 0x459c94
cmp dword [0x4c47f0], 0
jle 0x459c94
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
jne 0x459c94
xor esi, esi
jmp 0x459cb8
mov edx, dword [ebx + 0x14]
add dword [ebx + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0x5f
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x234], cl
mov eax, dword [ebp + 8]
add esi, 1
mov dword [eax + 0x34], esi
mov edx, dword [ebp + 0xc]
cmp word [edx], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], 0
mov dword [esp + 0x10], ecx
jle 0x45a5db
mov edi, edi
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
cmp byte [edx + 0x80], 2
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x2c], ecx
jne 0x45a007
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax*2]
shl ecx, 4
mov eax, dword [ecx + edx + 0xc]
lea ebx, [ecx + edx + 8]
push eax
push str.TABLE__s
call fcn.0041dd30
mov ebx, dword [ebx + 8]
add esp, 8
test ebx, ebx
mov esi, eax
mov dword [esp + 0x1c], esi
je 0x459d3e
push ebx
push esi
push str._z_AS__s
call fcn.0041dd30
add esp, 0xc
mov esi, eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x459d5c
mov ecx, dword [eax]
push ecx
push esi
push str._z_WITH_INDEX__s
call fcn.0041dd30
add esp, 0xc
jmp 0x459d92
test dword [ebx + 4], 0x300
je 0x459d75
push esi
push str._z_USING_PRIMARY_KEY
call fcn.0041dd30
add esp, 8
jmp 0x459d92
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x459d98
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push edx
push eax
push esi
push str._z_VIRTUAL_TABLE_INDEX__d:_s
call fcn.0041dd30
add esp, 0x10
mov esi, eax
mov dword [esp + 0x1c], esi
test dword [ebx + 4], 0x100000
je 0x459db5
push esi
push str._z_ORDER_BY
call fcn.0041dd30
mov esi, eax
add esp, 8
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0xc]
cmp edx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], edx
jg 0x459f5f
xor eax, eax
add ecx, 1
cmp dword [edi + 0x4c], 0xbdf20da3
sete al
test eax, eax
jne 0x459dec
cmp edx, ecx
jge 0x459f2f
xor edx, edx
test eax, eax
mov eax, dword [edi + 0x14]
sete dl
mov dword [esp + 0x18], eax
imul edx, edx, 0x64
add edx, ecx
mov esi, edx
lea ebx, [esi + esi*4]
add ebx, ebx
add ebx, ebx
cmp dword [0x4c47e8], 0
je 0x459e2c
cmp dword [0x4c47f0], 0
jle 0x459e2c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459f2f
cmp dword [esp + 0x18], 0
jne 0x459ebd
test ebx, ebx
mov dword [esp + 0x14], 0
jle 0x459eb7
cmp dword [0x4c47e8], 0
je 0x459e63
cmp dword [0x4c47f0], 0
jle 0x459e63
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459eb7
push ebx
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x459ea7
cmp dword [0x4c47e8], eax
je 0x459e92
cmp dword [0x4c47f0], eax
jle 0x459e92
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459eb7
call fcn.00420d80
mov eax, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x459f00
mov ecx, dword [esp + 0x14]
push ebx
push 0
push ecx
call fcn.00487460
add esp, 0xc
mov eax, dword [esp + 0x14]
jmp 0x459f00
mov edx, dword [esp + 0x18]
push ebx
push edx
call fcn.004854ae
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x459efe
cmp dword [0x4c47e8], eax
je 0x459eef
cmp dword [0x4c47f0], eax
jle 0x459eef
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x459efe
call fcn.00420d80
mov dword [0x4c47e8], 1
mov eax, ebx
test eax, eax
je 0x459f2f
cmp esi, dword [esp + 0x24]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
jle 0x459f2f
mov ecx, dword [esp + 0x24]
sub esi, ecx
lea edx, [esi + esi*4]
add edx, edx
add edx, edx
push edx
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
push 0
push edx
call fcn.00487460
add esp, 0xc
cmp dword [0x4c47e8], 0
je 0x459f57
cmp dword [0x4c47f0], 0
jle 0x459f57
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
mov esi, dword [esp + 0x1c]
jne 0x459f5b
xor ebx, ebx
jmp 0x459f8d
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi + 0x14]
add dword [edi + 0xc], 1
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x76
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [edi + 0x234], dl
mov ebx, ecx
cmp dword [edi + 0x14], 0
je 0x459ffd
cmp dword [0x4c47e8], 0
je 0x459fb7
cmp dword [0x4c47f0], 0
jle 0x459fb7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
mov esi, dword [esp + 0x1c]
je 0x459ffd
test ebx, ebx
jl 0x459fc0
cmp ebx, dword [edi + 0xc]
jl 0x459fc8
mov ebx, dword [edi + 0xc]
sub ebx, 1
js 0x45a007
mov ecx, dword [edi + 0x14]
lea eax, [ebx + ebx*4]
lea ebx, [ecx + eax*4]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0042d3d0
test esi, esi
mov dword [ebx + 0xc], 0
jne 0x459ff1
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
jmp 0x45a007
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], 0xffffffff
jmp 0x45a007
mov ecx, esi
or eax, 0xffffffff
call fcn.0042d3d0
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
lea esi, [eax + ecx + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x4c]
test edx, edx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0xfff0bdc0
je 0x45a063
mov esi, dword [ebx]
test esi, esi
mov dword [esp + 0x1c], 0
jle 0x45a05f
mov eax, dword [ebx + 4]
add eax, 0x14
cmp dword [eax], edx
je 0x45a05f
add dword [esp + 0x1c], 1
add eax, 0x18
cmp dword [esp + 0x1c], esi
jl 0x45a04d
mov esi, dword [esp + 0x38]
cmp byte [ecx + 0x35], 0
jne 0x45a5bd
cmp dword [ecx + 0x18], 0
jne 0x45a5bd
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x44], 0
je 0x45a181
mov edx, dword [esp + 0x38]
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov eax, dword [edx + 0x18]
mov ecx, dword [ecx + 0x40]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
jg 0x45a0cd
lea eax, [esi + 1]
mov ebx, edi
call fcn.0042d000
cmp dword [0x4c47e8], 0
je 0x45a0cd
cmp dword [0x4c47f0], 0
jle 0x45a0cd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
jne 0x45a0cd
xor ebx, ebx
jmp 0x45a0f7
mov eax, dword [edi + 0x14]
add dword [edi + 0xc], 1
mov ecx, dword [esp + 0x34]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x1d
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
mov ebx, esi
cmp dword [edi + 0x14], 0
je 0x45a16e
cmp dword [0x4c47e8], 0
je 0x45a11d
cmp dword [0x4c47f0], 0
jle 0x45a11d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a16e
xor esi, esi
cmp ebx, esi
jl 0x45a128
cmp ebx, dword [edi + 0xc]
jl 0x45a134
mov ebx, dword [edi + 0xc]
sub ebx, 1
js 0x45a27a
mov eax, dword [edi + 0x14]
lea edx, [ebx + ebx*4]
mov ecx, dword [eax + edx*4 + 0xc]
lea ebx, [eax + edx*4]
mov eax, dword [ebx + 0x10]
call fcn.0042d3d0
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [ebx + 0xc], esi
jne 0x45a15f
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
jmp 0x45a27a
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0xfffffff6
jmp 0x45a27a
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffff6
call fcn.0042d3d0
jmp 0x45a27a
test dword [eax + 4], 0x80000
jne 0x45a25e
cmp byte [ecx + 0x39], 0
mov edx, dword [esi + 0x18]
mov dword [esp + 0x3c], edx
jne 0x45a219
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x45a1be
mov edi, ebx
call fcn.0042cf20
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x30]
mov dword [ecx + 0xc], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov eax, dword [eax + 0x14]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push edx
push 0
push eax
call fcn.0043c170
mov esi, dword [esp + 0x24]
add esp, 0xc
push 0
mov ecx, ebx
push ecx
push 0x2f
call fcn.0042d070
mov ebx, dword [esp + 0x34]
mov edx, dword [ebx + 0x14]
mov eax, dword [esp + 0x48]
add esp, 0xc
push edx
push eax
push 0xe
call fcn.0042d070
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x48]
add esp, 0xc
push ecx
push edx
push 0x68
call fcn.0042d070
add esp, 0xc
mov ecx, ebx
cmp dword [ecx + 4], 0x40
jae 0x45a27a
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x45a240
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
add edx, 1
or esi, ecx
jne 0x45a231
mov ecx, dword [edi + 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x45a27a
cmp ecx, eax
jle 0x45a27a
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x45a27a
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 8], edx
jmp 0x45a27a
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push ecx
push 0
push edx
call fcn.0043c170
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [esp + 0x50], eax
je 0x45a4c3
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.00440ad0
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
add esp, 8
cmp ebx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], esi
jg 0x45a347
xor eax, eax
cmp dword [edi + 0x4c], 0xbdf20da3
lea ecx, [esi + 1]
sete al
test eax, eax
jne 0x45a2d1
cmp ebx, ecx
jge 0x45a327
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
sete dl
imul edx, edx, 0x64
add edx, ecx
mov esi, edx
lea edi, [esi + esi*4]
add edi, edi
add edi, edi
call fcn.0041cad0
test eax, eax
je 0x45a31f
cmp esi, ebx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], eax
jle 0x45a31f
sub esi, ebx
lea ecx, [esi + esi*4]
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
push 0
push eax
call fcn.00487460
add esp, 0xc
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
cmp dword [0x4c47e8], 0
je 0x45a347
cmp dword [0x4c47f0], 0
jle 0x45a347
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a36f
mov edx, dword [edi + 0x14]
add dword [edi + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2f
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
mov edx, dword [esp + 0x50]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
cmp ebx, esi
mov eax, dword [edx + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
jg 0x45a41d
xor eax, eax
cmp dword [edi + 0x4c], 0xbdf20da3
lea ecx, [esi + 1]
sete al
test eax, eax
jne 0x45a3a3
cmp ebx, ecx
jge 0x45a3f9
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
sete dl
imul edx, edx, 0x64
add edx, ecx
mov esi, edx
lea edi, [esi + esi*4]
add edi, edi
add edi, edi
call fcn.0041cad0
test eax, eax
je 0x45a3f1
cmp esi, ebx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], eax
jle 0x45a3f1
sub esi, ebx
lea ecx, [esi + esi*4]
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
push 0
push eax
call fcn.00487460
add esp, 0xc
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
cmp dword [0x4c47e8], 0
je 0x45a41d
cmp dword [0x4c47f0], 0
jle 0x45a41d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
jne 0x45a41d
xor esi, esi
jmp 0x45a449
mov edx, dword [edi + 0x14]
add dword [edi + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0xe
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
cmp dword [edi + 0x14], 0
je 0x45a4b5
cmp dword [0x4c47e8], 0
je 0x45a46f
cmp dword [0x4c47f0], 0
jle 0x45a46f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a4b5
test esi, esi
jl 0x45a478
cmp esi, dword [edi + 0xc]
jl 0x45a480
mov esi, dword [edi + 0xc]
sub esi, 1
js 0x45a4c3
mov ecx, dword [edi + 0x14]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*4]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
call fcn.0042d3d0
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp eax, ecx
mov dword [esi + 0xc], ecx
jne 0x45a4a9
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
jmp 0x45a4c3
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xfffffffa
jmp 0x45a4c3
mov ecx, dword [esp + 0x3c]
mov eax, 0xfffffff7
call fcn.0042d3d0
mov edx, dword [esp + 0x10]
test dword [edx + 4], 0x82000
je 0x45a5ad
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
add eax, 1
cmp ebx, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
jg 0x45a581
xor eax, eax
cmp dword [edi + 0x4c], 0xbdf20da3
lea ecx, [esi + 1]
sete al
test eax, eax
jne 0x45a50b
cmp ebx, ecx
jge 0x45a561
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
sete dl
imul edx, edx, 0x64
add edx, ecx
mov esi, edx
lea edi, [esi + esi*4]
add edi, edi
add edi, edi
call fcn.0041cad0
test eax, eax
je 0x45a559
cmp esi, ebx
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], eax
jle 0x45a559
sub esi, ebx
lea ecx, [esi + esi*4]
add ecx, ecx
add ecx, ecx
push ecx
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
push 0
push eax
call fcn.00487460
add esp, 0xc
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
cmp dword [0x4c47e8], 0
je 0x45a581
cmp dword [0x4c47f0], 0
jle 0x45a581
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a5ad
mov edx, dword [edi + 0x14]
add dword [edi + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x68
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
push eax
call fcn.00440720
add esp, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x58]
movsx edx, word [ecx]
add dword [esp + 0x10], 0x4c
add eax, 1
cmp eax, edx
mov dword [esp + 0x58], eax
jl 0x459ce0
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], eax
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x10], edx
jle 0x45bcbe
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [ebp + 0xc]
mov ebx, dword [edi + 0x18]
lea ecx, [eax + eax*2]
shl ecx, 4
lea eax, [ecx + edx + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov ecx, eax
shr eax, 0x13
and eax, 1
mov dword [esp + 0x34], eax
lea eax, [ebx + 1]
shr ecx, 0x15
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
and ecx, 1
cmp ebx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], ecx
jl 0x45a7b6
cmp dword [0x4c47e8], 0
mov edx, dword [edi + 0x20]
lea eax, [eax + eax + 0xa]
lea ecx, [eax*4]
mov dword [edi + 0x1c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edx
je 0x45a6ac
cmp dword [0x4c47f0], 0
jle 0x45a6ac
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
jne 0x45a6ac
mov dword [esp + 0x40], 0
jmp 0x45a79b
cmp dword [esp + 0x2c], 0
jne 0x45a748
cmp dword [esp + 0x40], 0
mov dword [esp + 0x14], 0
jle 0x45a742
cmp dword [0x4c47e8], 0
je 0x45a6e6
cmp dword [0x4c47f0], 0
jle 0x45a6e6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a742
mov eax, dword [esp + 0x40]
push eax
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45a72e
cmp dword [0x4c47e8], eax
je 0x45a719
cmp dword [0x4c47f0], eax
jle 0x45a719
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a742
call fcn.00420d80
mov eax, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x45a793
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
push ecx
push 0
push edx
call fcn.00487460
add esp, 0xc
mov eax, dword [esp + 0x14]
jmp 0x45a793
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.004854ae
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
jne 0x45a78f
cmp dword [0x4c47e8], eax
je 0x45a780
cmp dword [0x4c47f0], eax
jle 0x45a780
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a78f
call fcn.00420d80
mov dword [0x4c47e8], 1
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x40], eax
jne 0x45a7af
cmp dword [esp + 0x2c], 0
je 0x45a7af
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00485420
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [edi + 0x20], edx
mov eax, dword [edi + 0x20]
test eax, eax
je 0x45a7c4
mov dword [eax + ebx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x54], eax
lea eax, [ecx + 1]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x45a915
cmp dword [0x4c47e8], 0
mov ecx, dword [edi + 0x20]
lea eax, [eax + eax + 0xa]
mov dword [edi + 0x1c], eax
lea ebx, [eax*4]
mov dword [esp + 0x40], ecx
je 0x45a827
cmp dword [0x4c47f0], 0
jle 0x45a827
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
jne 0x45a827
xor ebx, ebx
jmp 0x45a8fd
cmp dword [esp + 0x40], 0
jne 0x45a8b8
test ebx, ebx
mov dword [esp + 0x14], 0
jle 0x45a8b2
cmp dword [0x4c47e8], 0
je 0x45a85e
cmp dword [0x4c47f0], 0
jle 0x45a85e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a8b2
push ebx
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45a8a2
cmp dword [0x4c47e8], eax
je 0x45a88d
cmp dword [0x4c47f0], eax
jle 0x45a88d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a8b2
call fcn.00420d80
mov ebx, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x45a8f9
mov edx, dword [esp + 0x14]
push ebx
push 0
push edx
call fcn.00487460
add esp, 0xc
mov ebx, dword [esp + 0x14]
jmp 0x45a8f9
mov eax, dword [esp + 0x40]
push ebx
push eax
call fcn.004854ae
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45a90e
cmp dword [0x4c47e8], eax
je 0x45a8ea
cmp dword [0x4c47f0], eax
jle 0x45a8ea
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45a8f9
call fcn.00420d80
mov dword [0x4c47e8], 1
test ebx, ebx
jne 0x45a90e
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45a90e
push eax
call fcn.00485420
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x20], ebx
mov eax, dword [edi + 0x20]
test eax, eax
je 0x45a923
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
cmp dword [esi], 0
mov dword [esi + 0x24], eax
mov dword [esp + 0x40], eax
jle 0x45ab2b
mov ecx, dword [esp + 0x38]
test byte [ecx + 0x15], 8
je 0x45ab2b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jne 0x45a956
mov dword [eax + 0x20], 1
mov edx, dword [eax + 0x20]
mov dword [esi + 0xc], edx
add dword [eax + 0x20], 1
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc]
cmp edx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
jg 0x45aafb
lea ecx, [eax + 1]
xor eax, eax
cmp dword [edi + 0x4c], 0xbdf20da3
sete al
test eax, eax
jne 0x45a998
cmp edx, ecx
jge 0x45aadb
xor edx, edx
test eax, eax
mov eax, dword [edi + 0x14]
sete dl
mov dword [esp + 0x20], eax
imul edx, edx, 0x64
add edx, ecx
mov esi, edx
lea ebx, [esi + esi*4]
add ebx, ebx
add ebx, ebx
cmp dword [0x4c47e8], 0
je 0x45a9d8
cmp dword [0x4c47f0], 0
jle 0x45a9d8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45aadb
cmp dword [esp + 0x20], 0
jne 0x45aa69
test ebx, ebx
mov dword [esp + 0x14], 0
jle 0x45aa63
cmp dword [0x4c47e8], 0
je 0x45aa0f
cmp dword [0x4c47f0], 0
jle 0x45aa0f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45aa63
push ebx
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45aa53
cmp dword [0x4c47e8], eax
je 0x45aa3e
cmp dword [0x4c47f0], eax
jle 0x45aa3e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45aa63
call fcn.00420d80
mov eax, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x45aaac
mov ecx, dword [esp + 0x14]
push ebx
push 0
push ecx
call fcn.00487460
add esp, 0xc
mov eax, dword [esp + 0x14]
jmp 0x45aaac
mov edx, dword [esp + 0x20]
push ebx
push edx
call fcn.004854ae
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45aaaa
cmp dword [0x4c47e8], eax
je 0x45aa9b
cmp dword [0x4c47f0], eax
jle 0x45aa9b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45aaaa
call fcn.00420d80
mov dword [0x4c47e8], 1
mov eax, ebx
test eax, eax
je 0x45aadb
cmp esi, dword [esp + 0x24]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
jle 0x45aadb
mov ecx, dword [esp + 0x24]
sub esi, ecx
lea edx, [esi + esi*4]
add edx, edx
add edx, edx
push edx
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
push 0
push edx
call fcn.00487460
add esp, 0xc
cmp dword [0x4c47e8], 0
je 0x45aafb
cmp dword [0x4c47f0], 0
jle 0x45aafb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45ab27
mov ecx, dword [edi + 0x14]
add dword [edi + 0xc], 1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x30
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x44]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x45b1f7
mov ebx, dword [eax]
cmp ebx, 1
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], 1
jl 0x45abb0
mov eax, dword [esp + 0x28]
jmp 0x45ab60
xor esi, esi
test ebx, ebx
jle 0x45aba1
cmp dword [ecx + esi*8], eax
je 0x45ab74
add esi, 1
cmp esi, ebx
jl 0x45ab66
jmp 0x45aba1
mov ecx, dword [esp + 0x3c]
lea eax, [esi + esi*2]
mov eax, dword [ecx + eax*4 + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + edx*8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00437720
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add esp, 8
cmp esi, ebx
je 0x45abb0
add eax, 1
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x45ab60
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
jg 0x45ad44
mov ecx, eax
xor eax, eax
add ecx, 1
cmp dword [edi + 0x4c], 0xbdf20da3
sete al
test eax, eax
jne 0x45abe5
cmp dword [esp + 0x24], ecx
jge 0x45ad24
xor ebx, ebx
test eax, eax
sete bl
imul ebx, ebx, 0x64
add ebx, ecx
mov ecx, dword [edi + 0x14]
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
cmp dword [0x4c47e8], 0
mov dword [esp + 0x20], ecx
je 0x45ac23
cmp dword [0x4c47f0], 0
jle 0x45ac23
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45ad24
cmp dword [esp + 0x20], 0
jne 0x45acb4
test esi, esi
mov dword [esp + 0x14], 0
jle 0x45acae
cmp dword [0x4c47e8], 0
je 0x45ac5a
cmp dword [0x4c47f0], 0
jle 0x45ac5a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45acae
push esi
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45ac9e
cmp dword [0x4c47e8], eax
je 0x45ac89
cmp dword [0x4c47f0], eax
jle 0x45ac89
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45acae
call fcn.00420d80
mov ecx, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x45acf7
mov edx, dword [esp + 0x14]
push esi
push 0
push edx
call fcn.00487460
add esp, 0xc
mov ecx, dword [esp + 0x14]
jmp 0x45acf7
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.004854ae
mov esi, eax
add esp, 8
test esi, esi
jne 0x45acf5
cmp dword [0x4c47e8], eax
je 0x45ace6
cmp dword [0x4c47f0], eax
jle 0x45ace6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45acf5
call fcn.00420d80
mov dword [0x4c47e8], 1
mov ecx, esi
test ecx, ecx
je 0x45ad24
mov eax, dword [esp + 0x24]
cmp ebx, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ecx
jle 0x45ad24
sub ebx, eax
lea edx, [ebx + ebx*4]
add edx, edx
add edx, edx
push edx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
push 0
push ecx
call fcn.00487460
add esp, 0xc
cmp dword [0x4c47e8], 0
je 0x45ad44
cmp dword [0x4c47f0], 0
jle 0x45ad44
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45ad73
mov eax, dword [esp + 0x18]
add dword [edi + 0xc], 1
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
add ecx, 0xffffffff
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2f
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
cmp ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
jg 0x45af12
mov ecx, eax
xor eax, eax
add ecx, 1
cmp dword [edi + 0x4c], 0xbdf20da3
sete al
test eax, eax
jne 0x45adb3
cmp dword [esp + 0x24], ecx
jge 0x45aef2
xor ebx, ebx
test eax, eax
sete bl
imul ebx, ebx, 0x64
add ebx, ecx
mov ecx, dword [edi + 0x14]
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
cmp dword [0x4c47e8], 0
mov dword [esp + 0x20], ecx
je 0x45adf1
cmp dword [0x4c47f0], 0
jle 0x45adf1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45aef2
cmp dword [esp + 0x20], 0
jne 0x45ae82
test esi, esi
mov dword [esp + 0x14], 0
jle 0x45ae7c
cmp dword [0x4c47e8], 0
je 0x45ae28
cmp dword [0x4c47f0], 0
jle 0x45ae28
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45ae7c
push esi
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45ae6c
cmp dword [0x4c47e8], eax
je 0x45ae57
cmp dword [0x4c47f0], eax
jle 0x45ae57
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45ae7c
call fcn.00420d80
mov ecx, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x45aec5
mov edx, dword [esp + 0x14]
push esi
push 0
push edx
call fcn.00487460
add esp, 0xc
mov ecx, dword [esp + 0x14]
jmp 0x45aec5
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.004854ae
mov esi, eax
add esp, 8
test esi, esi
jne 0x45aec3
cmp dword [0x4c47e8], eax
je 0x45aeb4
cmp dword [0x4c47f0], eax
jle 0x45aeb4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45aec3
call fcn.00420d80
mov dword [0x4c47e8], 1
mov ecx, esi
test ecx, ecx
je 0x45aef2
mov eax, dword [esp + 0x24]
cmp ebx, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ecx
jle 0x45aef2
sub ebx, eax
lea edx, [ebx + ebx*4]
add edx, edx
add edx, edx
push edx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
push 0
push ecx
call fcn.00487460
add esp, 0xc
cmp dword [0x4c47e8], 0
je 0x45af12
cmp dword [0x4c47f0], 0
jle 0x45af12
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45af3e
mov eax, dword [esp + 0x18]
add dword [edi + 0xc], 1
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2f
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edi + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc]
cmp ecx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
jg 0x45b0f4
mov ecx, eax
xor eax, eax
add ecx, 1
cmp dword [edi + 0x4c], 0xbdf20da3
sete al
test eax, eax
jne 0x45af8f
cmp dword [esp + 0x24], ecx
jge 0x45b0d0
xor ebx, ebx
test eax, eax
mov eax, dword [edi + 0x14]
sete bl
mov dword [esp + 0x20], eax
imul ebx, ebx, 0x64
add ebx, ecx
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
cmp dword [0x4c47e8], 0
je 0x45afcd
cmp dword [0x4c47f0], 0
jle 0x45afcd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b0d0
cmp dword [esp + 0x20], 0
jne 0x45b05e
test esi, esi
mov dword [esp + 0x14], 0
jle 0x45b058
cmp dword [0x4c47e8], 0
je 0x45b004
cmp dword [0x4c47f0], 0
jle 0x45b004
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b058
push esi
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45b048
cmp dword [0x4c47e8], eax
je 0x45b033
cmp dword [0x4c47f0], eax
jle 0x45b033
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b058
call fcn.00420d80
mov eax, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x45b0a1
mov ecx, dword [esp + 0x14]
push esi
push 0
push ecx
call fcn.00487460
add esp, 0xc
mov eax, dword [esp + 0x14]
jmp 0x45b0a1
mov edx, dword [esp + 0x20]
push esi
push edx
call fcn.004854ae
mov esi, eax
add esp, 8
test esi, esi
jne 0x45b09f
cmp dword [0x4c47e8], eax
je 0x45b090
cmp dword [0x4c47f0], eax
jle 0x45b090
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b09f
call fcn.00420d80
mov dword [0x4c47e8], 1
mov eax, esi
test eax, eax
je 0x45b0d0
cmp ebx, dword [esp + 0x24]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
jle 0x45b0d0
mov ecx, dword [esp + 0x24]
sub ebx, ecx
lea edx, [ebx + ebx*4]
add edx, edx
add edx, edx
push edx
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
push 0
push edx
call fcn.00487460
add esp, 0xc
xor ebx, ebx
cmp dword [0x4c47e8], ebx
je 0x45b0f4
cmp dword [0x4c47f0], ebx
jle 0x45b0f4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
jne 0x45b0f4
xor ecx, ecx
jmp 0x45b124
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
add dword [edi + 0xc], 1
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
xor ebx, ebx
mov byte [eax], 0x6b
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x234], bl
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x54]
push edi
call fcn.0042d4d0
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
add esp, 8
cmp dword [edx], ebx
mov dword [edx + 0x1c], ebx
jle 0x45b1de
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add ecx, 8
add eax, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
nop
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
je 0x45b1cd
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x78]
lea eax, [eax + ecx*8]
test eax, eax
je 0x45b1cd
mov cl, byte [eax + 0xc]
test cl, 4
jne 0x45b1cd
cmp dword [esi + 0xc], 0
je 0x45b197
mov esi, dword [eax]
test byte [esi + 2], 1
mov esi, dword [esp + 0x10]
je 0x45b1cd
or cl, 4
mov byte [eax + 0xc], cl
movzx ecx, word [eax + 4]
test cx, cx
jl 0x45b1cd
mov eax, dword [eax + 0x10]
mov dword [esp + 0x34], eax
movsx eax, cx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
add byte [eax + ecx*8 + 0xd], 0xff
lea eax, [eax + ecx*8]
jne 0x45b1cd
call fcn.004591c0
mov edx, dword [esp + 0x2c]
add dword [esp + 0x14], 8
add dword [esp + 0x28], 0xc
add ebx, 1
cmp ebx, dword [edx]
jl 0x45b160
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x34], edx
jmp 0x45bb9e
mov eax, dword [esi + 4]
test eax, 0x100
je 0x45b429
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 0
push 3
push eax
push ecx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004574d0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
add esp, 0x1c
push eax
call fcn.00459210
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov ecx, dword [ebx + 0x20]
add esp, 4
cmp edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
jg 0x45b3d7
lea ecx, [eax + 1]
xor eax, eax
cmp dword [edi + 0x4c], 0xbdf20da3
sete al
test eax, eax
jne 0x45b272
cmp edx, ecx
jge 0x45b3b3
xor ebx, ebx
mov edx, dword [edi + 0x14]
test eax, eax
sete bl
mov dword [esp + 0x20], edx
imul ebx, ebx, 0x64
add ebx, ecx
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
cmp dword [0x4c47e8], 0
je 0x45b2b0
cmp dword [0x4c47f0], 0
jle 0x45b2b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b3b3
cmp dword [esp + 0x20], 0
jne 0x45b341
test esi, esi
mov dword [esp + 0x14], 0
jle 0x45b33b
cmp dword [0x4c47e8], 0
je 0x45b2e7
cmp dword [0x4c47f0], 0
jle 0x45b2e7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b33b
push esi
call fcn.00486093
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x45b32b
cmp dword [0x4c47e8], eax
je 0x45b316
cmp dword [0x4c47f0], eax
jle 0x45b316
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b33b
call fcn.00420d80
mov eax, dword [esp + 0x14]
mov dword [0x4c47e8], 1
jmp 0x45b384
mov eax, dword [esp + 0x14]
push esi
push 0
push eax
call fcn.00487460
add esp, 0xc
mov eax, dword [esp + 0x14]
jmp 0x45b384
mov ecx, dword [esp + 0x20]
push esi
push ecx
call fcn.004854ae
mov esi, eax
add esp, 8
test esi, esi
jne 0x45b382
cmp dword [0x4c47e8], eax
je 0x45b373
cmp dword [0x4c47f0], eax
jle 0x45b373
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b382
call fcn.00420d80
mov dword [0x4c47e8], 1
mov eax, esi
test eax, eax
je 0x45b3b3
cmp ebx, dword [esp + 0x24]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
jle 0x45b3b3
mov ecx, dword [esp + 0x24]
sub ebx, ecx
lea edx, [ebx + ebx*4]
add edx, edx
add edx, edx
push edx
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
push 0
push edx
call fcn.00487460
add esp, 0xc
cmp dword [0x4c47e8], 0
je 0x45b3d3
cmp dword [0x4c47f0], 0
jle 0x45b3d3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4c47cc], eax
je 0x45b403
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 0x14]
mov ecx, 1
add dword [edi + 0xc], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x23
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x234], cl
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
push edx
push eax
push 0x2c
mov esi, edi
call fcn.0042d070
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + 0x2c], 0x15
jmp 0x45bb9e
test eax, 0x200
je 0x45b60f
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push 0
push 0x24
push edx
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x48], 0x15
call fcn.004574d0
mov edx, dword [esp + 0x68]
add esp, 0x1c
push 0
push 0x18
push edx
push esi
mov ebx, eax
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004574d0
add esp, 0x1c
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
je 0x45b497
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0x28], ecx
test ebx, ebx
je 0x45b507
mov esi, dword [ebx]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00437720
mov al, byte [esi]
add esp, 8
cmp al, 0x46
je 0x45b4bb
cmp al, 0x45
je 0x45b4bb
xor eax, eax
jmp 0x45b4c0
mov eax, 1
mov ecx, dword [esp + 0x54]
push ecx
push eax
push 0x74
mov esi, edi
call fcn.0042d070
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
add esp, 0xc
neg ecx
sbb ecx, ecx
push edx
and ecx, 0xffffffe4
push eax
add ecx, 0x80
push ecx
call fcn.0042d070
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov eax, ebx
call fcn.004591c0
mov ebx, dword [esp + 0x1c]
jmp 0x45b52c
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov ecx, ebx
neg ecx
sbb ecx, ecx
push edx
and ecx, 0xffffffb5
push eax
add ecx, 0x7f
push ecx
mov esi, edi
call fcn.0042d070
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x45b5a5
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov esi, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [eax + 0xc]
push eax
push esi
call fcn.00437720
mov ecx, dword [esi + 0x20]
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ecx
add dword [esi + 0x20], 1
mov edx, dword [eax + 8]
push 1
push edx
push 0x7c
mov esi, edi
call fcn.0042d070
mov eax, dword [esp + 0x48]
mov al, byte [eax]
add esp, 0x14
cmp al, 0x47
je 0x45b589
cmp al, 0x45
je 0x45b589
xor ecx, ecx
test ebx, ebx
setne cl
lea ecx, [ecx + ecx + 0x45]
mov dword [esp + 0x2c], ecx
jmp 0x45b598
xor edx, edx
test ebx, ebx
sete dl
lea edx, [edx + edx + 0x46]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
call fcn.004591c0
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x44]
neg ebx
sbb ebx, ebx
and ebx, 0xffffffc3
add ebx, 0x6e
cmp dword [esp + 0x2c], 0x15
mov dword [ecx + 0x2c], ebx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], eax
je 0x45bb9e
push 0
mov eax, edx
push eax
push 0x25
mov esi, edi
call fcn.0042d070
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
add esp, 0xc
push 0
push edx
push 1
call fcn.0042d070
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
add esp, 0xc
push eax
push 0x163
push ecx
call fcn.0042d070
add esp, 0xc
jmp 0x45bb9e
test eax, 0x2000
je 0x45ba2d
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x48]
mov ebx, eax
shr eax, 0x11
and eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [ebp + 8]
push ecx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x70]
push edx
shr ebx, 0x10
push esi
and ebx, 1
push eax
mov dword [esp + 0x2c], ebx
call fcn.00459310
add esp, 0x14
cmp dword [esp + 0x24], 0
mov dword [esp + 0x50], 0
jle 0x45b68d
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
mov edi, edi
mov eax, dword [esp + 0x24]
push 0
add eax, 0xffffffff
push eax
push 0x5e
mov esi, edi
call fcn.0042d070
add esp, 0xc
sub dword [esp + 0x20], 1
jne 0x45b670
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x28]
mov ecx, dword [esp + 0x24]
cmp byte [ecx + edx], 0
jne 0x45b6ad
mov edx, 0x18
mov dword [esp + 0x20], 0x24
jmp 0x45b6c8
mov eax, ebx
mov ebx, dword [esp + 0x2c]
mov edx, 0x24
mov dword [esp + 0x20], 0x18
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], eax
test ebx, ebx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x38], eax
je 0x45b756
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov esi, dword [esp + 0x50]
mov ecx, dword [ecx + esi*4]
push eax
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.004574d0
mov edx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
add esp, 0x1c
push ecx
push edx
call fcn.00437720
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [ecx + ecx]
or eax, 0xffffffff
sub eax, edx
push eax
push 0x41
mov esi, edi
call fcn.0042d070
movzx ecx, byte [ebx + 0xa]
mov esi, dword [esp + 0x24]
and ecx, 0x28
add esp, 0x14
mov eax, ebx
mov dword [esp + 0x3c], ecx
call fcn.004591c0
mov dword [esp + 0x14], 0x40
jmp 0x45b777
xor eax, eax
test ecx, ecx
setle al
mov dword [esp + 0x3c], 1
sub eax, 1
and eax, 0x2b
add eax, 0x15
cmp eax, 0x15
mov dword [esp + 0x14], eax
je 0x45b7ee
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x24]
add dword [ebx + 0x20], 1
push 0
add ecx, edx
push ecx
push 0x5b
mov esi, edi
call fcn.0042d070
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
call fcn.00444540
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x45b7d8
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
neg edx
sbb edx, edx
push eax
and edx, 0xfffffff2
push ecx
add edx, 0x64
push edx
call fcn.0042d070
add esp, 0xc
jmp 0x45b80e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
push 1
push ecx
push 0x7c
call fcn.0042d070
add esp, 0xc
jmp 0x45b80e
cmp dword [esp + 0x1c], 0
je 0x45b80b
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
push edx
push eax
push 0x34
mov esi, edi
call fcn.0042d070
add esp, 0xc
mov ebx, dword [ebp + 8]
cmp dword [esp + 0x2c], 0
je 0x45b88e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x50]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.004574d0
mov edx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
add esp, 0x1c
push ecx
push edx
call fcn.00437720
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x2c]
push eax
push ecx
push 0x41
mov esi, edi
call fcn.0042d070
movzx edx, byte [ebx + 0xa]
mov esi, dword [esp + 0x24]
and edx, 0x28
add esp, 0x14
mov eax, ebx
mov dword [esp + 0x50], edx
call fcn.004591c0
mov ebx, dword [ebp + 8]
jmp 0x45b896
mov dword [esp + 0x50], 1
cmp dword [esp + 0x24], 0
jg 0x45b8c6
cmp dword [esp + 0x2c], 0
jne 0x45b8c6
cmp dword [esp + 0x1c], 0
je 0x45b8b8
mov dword [esp + 0x14], 0x15
jmp 0x45b93b
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0x7f
jmp 0x45b931
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push 0
add edx, eax
push edx
push 0x5b
mov esi, edi
call fcn.0042d070
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
call fcn.00444540
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x45b918
mov ecx, dword [ebx + 0x20]
mov eax, dword [esp + 0x10]
mov dword [eax + 8], ecx
add dword [ebx + 0x20], 1
mov edx, dword [eax + 8]
push 1
push edx
push 0x7c
call fcn.0042d070
mov dword [esp + 0x20], 0x26
jmp 0x45b938
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
neg edx
sbb edx, edx
push eax
and edx, 0x79
push ecx
add edx, 7
push edx
mov esi, edi
call fcn.0042d070
add esp, 0xc
mov ebx, dword [esp + 0x14]
cmp ebx, 0x15
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
je 0x45b9a6
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
push 0
push edx
push 1
mov esi, edi
call fcn.0042d070
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push eax
push ecx
push ebx
call fcn.0042d070
mov ebx, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x3c], 0
je 0x45b983
test ebx, ebx
je 0x45b98e
cmp dword [esp + 0x50], 0
jne 0x45b9aa
test ebx, ebx
je 0x45b9aa
push 0x4af690
push edi
mov eax, 0xfffffffe
or ecx, 0xffffffff
call fcn.0042d4d0
add esp, 8
jmp 0x45b9aa
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
or eax, dword [esp + 0x18]
je 0x45b9db
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
push edx
push eax
push 3
mov esi, edi
call fcn.0042d070
mov ecx, dword [esp + 0x4c]
add esp, 0xc
push ecx
push 1
push 0x41
call fcn.0042d070
add esp, 0xc
cmp dword [esp + 0x34], 0
jne 0x45ba09
mov edx, dword [esp + 0x30]
push 0
push edx
push 0x36
mov esi, edi
call fcn.0042d070
mov eax, dword [esp + 0x50]
add esp, 0xc
push 0
push eax
push 0x80
call fcn.0042d070
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
neg ebx
sbb ebx, ebx
and ebx, 0xffffffc3
add ebx, 0x6e
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
jmp 0x45bb9e
test eax, 0x1000
mov ebx, dword [esp + 0x10]
je 0x45bb78
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov esi, dword [ebx + 0x38]
push eax
mov eax, dword [ebp + 8]
push ecx
lea edx, [esp + 0x70]
push edx
push ebx
push eax
call fcn.00459310
mov ebx, dword [ebx + 0x20]
add esp, 0x14
push 0
push esi
push 0x5b
mov esi, edi
call fcn.0042d070
mov eax, dword [esp + 0x34]
add esp, 0xc
push edi
call fcn.00444540
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
add esp, 4
push 0
push edx
push 0x7c
call fcn.0042d070
add esp, 0xc
cmp dword [esp + 0x1c], 0
push ebx
je 0x45bada
mov eax, dword [esp + 0x34]
push eax
push 0x56
call fcn.0042d070
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
add esp, 0xc
push 0
push edx
push 1
call fcn.0042d070
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
push ebx
push eax
push 0x26
call fcn.0042d070
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx + 0x2c], 0x31
jmp 0x45bb36
mov edx, dword [esp + 0x34]
push edx
push 0x80
call fcn.0042d070
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
add esp, 0xc
push 0
push ecx
push 1
mov esi, edi
call fcn.0042d070
mov edx, dword [esp + 0x3c]
add esp, 0xc
push ebx
push edx
push 0x40
mov dword [esp + 0x2c], eax
call fcn.0042d070
add esp, 0xc
mov ecx, eax
push 0x4af690
push edi
mov eax, 0xfffffffe
call fcn.0042d4d0
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [eax + 0x2c], 0x6e
cmp dword [esp + 0x34], 0
jne 0x45bb64
mov ecx, dword [esp + 0x30]
push 0
push ecx
push 0x36
mov esi, edi
call fcn.0042d070
mov edx, dword [esp + 0x50]
add esp, 0xc
push 0
push edx
push 0x80
call fcn.0042d070
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
jmp 0x45bb9e
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
push ecx
push eax
push 0x7f
mov esi, edi
mov dword [ebx + 0x2c], 0x6e
mov dword [ebx + 0x30], eax
call fcn.0042d070
add esp, 0xc
add eax, 1
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x210]
xor ecx, ecx
test eax, eax
jle 0x45bbc4
mov edx, dword [esp + 0x44]
nop
cmp dword [esp + ecx*4 + 0x214], edx
je 0x45bcdf
add ecx, 1
cmp ecx, eax
jl 0x45bbb0
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
not edx
and dword [esp + 0x4c], edx
test eax, eax
mov ebx, eax
jle 0x45bc30
mov esi, dword [esp + 0x78]
add esi, 0xc
test byte [esi], 6
jne 0x45bc26
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
and eax, dword [esp + 0x48]
and ecx, dword [esp + 0x4c]
or eax, ecx
jne 0x45bc26
mov edx, dword [esp + 0x10]
cmp dword [edx + 0xc], 0
mov eax, dword [esi - 0xc]
je 0x45bc0f
test byte [eax + 2], 1
je 0x45bc26
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp + 8]
push 1
push ecx
push eax
push edx
call fcn.004383e0
add esp, 0x10
or byte [esi], 4
sub ebx, 1
add esi, 0x28
test ebx, ebx
jg 0x45bbe5
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45bca0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
push eax
push 1
push 0x30
mov esi, edi
mov dword [edx + 0x28], ecx
call fcn.0042d070
xor ebx, ebx
add esp, 0xc
cmp dword [esp + 0x70], ebx
jle 0x45bca0
mov esi, dword [esp + 0x78]
add esi, 0xc
test byte [esi], 6
jne 0x45bc94
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
and eax, dword [esp + 0x48]
and ecx, dword [esp + 0x4c]
or eax, ecx
jne 0x45bc94
mov eax, dword [esp + 0x40]
mov ecx, dword [esi - 0xc]
mov edx, dword [ebp + 8]
push 1
push eax
push ecx
push edx
call fcn.004383e0
add esp, 0x10
or byte [esi], 4
add ebx, 1
add esi, 0x28
cmp ebx, dword [esp + 0x70]
jl 0x45bc63
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x58]
movsx edx, word [ecx]
add dword [esp + 0x10], 0x4c
add eax, 1
cmp eax, edx
mov dword [esp + 0x58], eax
jl 0x45a60d
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x68]
push ecx
mov dword [esi + 0xc], eax
call fcn.00457060
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.0049a620
jmp 0x45bbc8