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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
mov esi, edx
mov edx, dword [ebp + 0x30]
push edi
mov edi, ecx
mov dword [esp + 0x3c], edx
xor edx, edx
mov dword [esp + 0x44], esi
test byte [esi + 0x1c], 0x80
mov dword [esp + 0x54], edi
mov eax, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x40], eax
movsx eax, word [esi + 0x22]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x60], edx
mov byte [esp + 0x1b], dl
mov dword [esp + 0x78], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x38], eax
jne 0x4510a7
mov dword [esp + 0x2c], edx
mov dword [esp + 0x74], 1
jmp 0x4510ba
mov ecx, esi
call fcn.0044525a
mov dword [esp + 0x2c], eax
movzx eax, word [eax + 0x32]
mov dword [esp + 0x74], eax
test dword [esi + 0x1c], 0x800
mov cl, byte [ebp + 0x20]
mov dword [esp + 0x50], ecx
je 0x451317
mov eax, edx
mov dword [esp + 0xc], edx
mov ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
and dword [esp + 0x30], 0
cmp dword [esp + 0x38], 0
jle 0x451222
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 4]
add edx, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 4]
and ecx, 0xf
mov dword [esp + 0x20], ecx
je 0x4511fe
movsx eax, word [esi + 0x20]
cmp dword [esp + 0x30], eax
je 0x4511fa
movzx eax, word [edx + 0xe]
and eax, 0x60
mov dword [esp + 0x34], eax
je 0x45113e
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45113e
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xc], edx
jmp 0x451202
cmp dword [ebp + 0x2c], 0
mov eax, dword [esp + 0x30]
je 0x451160
mov edi, dword [ebp + 0x2c]
cmp dword [edi + eax*4], 0
mov edi, dword [esp + 0x54]
jge 0x451160
cmp dword [esp + 0x34], 0
je 0x4511fa
cmp byte [esp + 0x50], 0xb
je 0x45118f
mov ecx, dword [esp + 0x50]
movzx ecx, cl
mov dword [esp + 0x20], ecx
cmp ecx, 5
jne 0x45119b
cmp dword [esp + 0x10], 0
jne 0x451186
xor ecx, ecx
cmp word [edx + 0xc], cx
jne 0x4511a9
push 2
pop ecx
mov dword [esp + 0x20], ecx
jmp 0x4511a9
cmp ecx, 0xb
jne 0x451172
push 2
pop ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x10], 0
je 0x4511a9
cmp dword [esp + 0x34], 0
je 0x4511fa
mov edx, eax
mov ecx, esi
call fcn.00445292
mov ecx, dword [ebp + 0x14]
cwde
inc ecx
add ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
sub eax, 1
je 0x4512c9
sub eax, 1
je 0x4512b8
sub eax, 1
je 0x4512c9
dec eax
sub eax, 1
je 0x45126d
xor eax, eax
push eax
push dword [ebp + 0x24]
push ecx
push 0x32
pop edx
mov ecx, ebx
call fcn.00428b9f
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add dword [esp + 0x1c], 0x10
inc ecx
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
jl 0x4510f4
mov ecx, dword [esp + 0x28]
test edx, edx
jne 0x45122e
test ecx, ecx
je 0x451313
test eax, eax
jne 0x451313
inc eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x4510de
test byte [esi + 0x1c], 0x60
je 0x4510de
mov edx, dword [ebp + 0x14]
mov ecx, edi
push esi
lea edx, [edx + 1]
call fcn.0044fe24
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
pop ecx
mov ecx, dword [esp + 0x28]
jmp 0x4510de
xor eax, eax
push eax
push eax
push ecx
push 0x33
pop edx
mov ecx, ebx
call fcn.00428b9f
mov ecx, dword [esp + 0x50]
add esp, 0xc
inc dword [esp + 0x28]
mov esi, eax
mov edx, dword [esp + 0x14]
push dword [esp + 0x34]
call fcn.00444d74
mov edx, eax
mov ecx, edi
call fcn.0043e02a
pop ecx
mov edx, esi
mov ecx, ebx
call fcn.00429444
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0x44]
jmp 0x4511fa
mov eax, dword [edi + 0x80]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x14]
push dword [eax]
push dword [esi]
push str._s._s
push dword [esp + 0x4c]
call fcn.0040e635
push dword [esp + 0x44]
mov ecx, ebx
mov esi, eax
push dword [esp + 0x34]
push 0x513
push 0x45
pop edx
call fcn.00428b9f
add esp, 0x1c
mov edx, esi
mov ecx, ebx
push 0xfffffffffffffffa
call fcn.004293f8
pop ecx
xor edx, edx
mov ecx, ebx
inc edx
call fcn.00429165
jmp 0x4512af
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x24], edx
test edx, edx
je 0x45146e
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x45146e
mov eax, dword [ebp + 0x14]
cmp byte [esp + 0x50], 0xb
not eax
mov dword [edi + 0x34], eax
movzx eax, cl
push 2
pop ecx
cmovne ecx, eax
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
cmp dword [edx], eax
jle 0x451469
lea eax, [edx + 0xc]
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 0x2c]
mov ecx, dword [eax - 4]
mov dword [esp + 0x84], ecx
test edx, edx
je 0x45138e
movzx eax, byte [ebp + 0x1c]
push eax
call fcn.00450fe0
pop ecx
test eax, eax
je 0x451447
cmp byte [esp + 0x1b], 0
jne 0x4513a9
mov eax, dword [ebp + 0x14]
mov edx, esi
inc eax
mov ecx, ebx
push eax
call fcn.0044fc4f
pop ecx
mov byte [esp + 0x1b], 1
dec dword [edi + 0x38]
xor eax, eax
mov edx, dword [esp + 0x84]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x4513d1
mov ecx, dword [esp + 0x40]
push eax
push eax
call fcn.0043a44b
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
cmp byte [edx + 0x57], 0
jne 0x4513ec
push 0x10
push ecx
push eax
push edi
call fcn.0043e326
add esp, 0x10
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4513fd
mov ecx, dword [esp + 0x40]
call fcn.0043a2ec
mov eax, dword [esp + 0x28]
push 4
pop ecx
cmp eax, ecx
jne 0x451414
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.00428c53
jmp 0x45143c
push 2
pop ecx
cmp eax, 5
mov edx, 0x113
push 3
cmove eax, ecx
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
push dword [ecx]
mov ecx, edi
push eax
call fcn.00449ad6
add esp, 0x10
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.00428f9d
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
inc edx
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x45136a
xor eax, eax
mov dword [edi + 0x34], eax
jmp 0x451470
xor eax, eax
mov edx, dword [ebp + 0x30]
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
test edx, edx
je 0x451599
cmp dword [edx], eax
jne 0x4514b7
mov al, byte [edx + 0x14]
xor edx, edx
test al, al
cmovne edx, dword [esp + 0x3c]
setne al
mov dword [ebp + 0x30], edx
lea eax, [eax*2 + 4]
mov dword [esp + 0x50], eax
jmp 0x451599
test ecx, ecx
je 0x451599
mov ecx, dword [ecx + 0x14]
inc eax
test ecx, ecx
jne 0x4514bf
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
imul eax, eax, 0xa
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], 1
push eax
call fcn.0040cb5f
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4521b9
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 0x30]
lea ebx, [ecx + eax*8]
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [edx + 0x18], ecx
mov dword [esp + 0x14], eax
cmp dword [edx], eax
je 0x451559
cmp dword [edx + 0x1c], 0
je 0x451552
mov ecx, eax
mov eax, dword [esi + 8]
jmp 0x451526
cmp eax, dword [edx + 0x1c]
je 0x45152a
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x45151d
cmp byte [ecx + ebx], 0
jne 0x451550
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov byte [ecx + ebx], 1
mov dword [esi + edi*8], eax
mov eax, edi
mov edi, esi
mov esi, dword [esp + 0x44]
mov dword [edi + eax*8 + 4], ecx
inc eax
mov dword [esp + 0x14], eax
xor eax, eax
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x45150c
mov ebx, dword [esp + 0x88]
mov ecx, eax
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x54]
test eax, eax
je 0x451599
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
lea edx, [ebx + edx*8]
mov ebx, dword [esp + 0x24]
cmp byte [ecx + ebx], 0
jne 0x45158a
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x45157c
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x40]
xor edx, edx
mov ecx, dword [eax + 0x20]
mov eax, ecx
and eax, 0x6000
or eax, edx
jne 0x4515b7
mov dword [esp + 0x6c], edx
mov dword [esp + 0x5c], edx
jmp 0x45162e
xor eax, eax
and ecx, 0x2000
or ecx, eax
mov edx, esi
push eax
mov ecx, edi
push eax
je 0x4515f5
push 0x80
call fcn.00461ab0
add esp, 0xc
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x451608
push eax
push eax
mov edx, esi
mov ecx, edi
call fcn.0044f30c
pop ecx
pop ecx
test eax, eax
jne 0x451608
mov dword [esp + 0x5c], eax
jmp 0x45162e
mov dword [esp + 0x74], eax
call fcn.0044f30c
mov dword [esp + 0x64], eax
pop ecx
pop ecx
test eax, eax
je 0x45162e
inc dword [edi + 0x2c]
xor ecx, ecx
mov eax, dword [edi + 0x2c]
push ecx
push eax
push ecx
push 0x47
pop edx
mov ecx, ebx
mov dword [esp + 0x68], eax
call fcn.00428b9f
add esp, 0xc
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x68], eax
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x24], 6
je 0x4518a4
cmp dword [esp + 0x2c], 0
jne 0x4518a4
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0x2a]
cmp cl, 0xb
je 0x45166b
movzx edx, cl
mov dword [esp + 0x20], edx
jmp 0x451678
push 2
cmp eax, 0xb
pop ecx
cmove eax, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4516cd
mov edx, ecx
xor eax, eax
cmp dword [edx], eax
je 0x451693
cmp dword [edx + 0x1c], eax
je 0x451693
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x451683
mov dword [esp + 0x60], edx
test edx, edx
je 0x4516b1
cmp byte [edx + 0x14], 0
push 4
pop eax
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp edx, ecx
je 0x4516d1
xor eax, eax
push eax
push eax
push eax
push 9
pop edx
mov ecx, ebx
call fcn.00428b9f
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
jmp 0x4516d5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
cmp eax, 5
jne 0x451700
cmp byte [esp + 0x50], al
je 0x451700
xor eax, eax
cmp dword [esi + 8], eax
je 0x451700
test ecx, ecx
jne 0x451700
push eax
push eax
push eax
push 9
pop edx
mov ecx, ebx
call fcn.00428b9f
add esp, 0xc
inc eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x45172a
push eax
push dword [esp + 0x20]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x35
pop eax
mov edx, eax
call fcn.00428b9f
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.00429165
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x20]
push dword [ebp + 0xc]
push 0x1f
pop edx
call fcn.00428b9f
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, edx
sub eax, 1
je 0x45176a
sub eax, 1
je 0x45176a
sub eax, 1
je 0x45176a
sub eax, 1
je 0x4517c2
sub eax, 1
je 0x4517ce
sub eax, 1
je 0x4517ae
push 2
pop eax
mov edx, eax
push esi
mov ecx, edi
call fcn.00449c3b
pop ecx
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00428f9d
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x45186d
cmp dword [esp + 0x60], edx
je 0x45186d
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 9
pop edx
call fcn.00428b9f
add esp, 0xc
mov dword [esp + 0x78], eax
jmp 0x4518a4
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
xor eax, eax
push eax
push esi
mov ecx, edi
call fcn.004645fb
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.00428c53
jmp 0x451773
cmp dword [esp + 0x5c], 0
je 0x451830
mov eax, dword [edi + 0x80]
mov ecx, edi
push 0xffffffffffffffff
push 1
test eax, eax
mov edx, esi
push 5
cmovne ecx, eax
xor eax, eax
push eax
push 1
push dword [ebp + 0x14]
mov byte [ecx + 0x14], 1
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x8c]
call fcn.0044b30c
add esp, 0x24
xor eax, eax
mov ecx, ebx
push eax
push 1
push dword [esp + 0x64]
push 0x56
pop edx
call fcn.00428b9f
add esp, 0xc
mov dword [esp + 0x80], 1
jmp 0x45185d
xor edx, edx
cmp dword [esi + 8], edx
je 0x45185d
mov eax, dword [edi + 0x80]
mov ecx, edi
test eax, eax
push 0xffffffffffffffff
push edx
push dword [ebp + 0x10]
cmovne ecx, eax
mov edx, esi
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.0044b5c8
add esp, 0x10
mov dword [esp + 0x8c], 1
jmp 0x451773
cmp dword [esp + 0x7c], 0
je 0x4518a7
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 9
pop edx
call fcn.00428b9f
mov edx, dword [esp + 0x88]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x98], eax
lea edx, [edx - 1]
call fcn.00429444
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x30]
cmp dword [esp + 0x34], 0
je 0x4518bd
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], ecx
jmp 0x4518c9
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc], eax
test eax, eax
je 0x4520b9
mov esi, dword [esp + 0x68]
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 8]
cmp dword [esi + ecx*4], 0
mov esi, dword [esp + 0x44]
je 0x452069
test edx, edx
je 0x451930
mov ecx, edx
cmp dword [ecx], 0
je 0x451911
cmp dword [ecx + 0x1c], eax
je 0x451911
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x451900
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], ecx
test eax, eax
je 0x451930
cmp ecx, edx
jne 0x451930
mov edx, eax
mov ecx, ebx
call fcn.00429444
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x38]
dec eax
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x58], eax
mov dword [edi + 0x38], eax
jne 0x451956
mov eax, dword [ebp + 0x14]
mov edx, esi
inc eax
mov ecx, ebx
push eax
call fcn.0044fc4f
pop ecx
mov byte [esp + 0x1b], 1
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
add eax, edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
not eax
mov dword [esp + 0x3c], eax
xor eax, eax
cmp dword [ecx + 0x24], eax
je 0x4519b6
push eax
mov eax, dword [ebp + 8]
mov ecx, ebx
push dword [eax + edx*4]
xor eax, eax
push eax
push 0x4b
pop edx
call fcn.00428b9f
mov eax, dword [esp + 0x48]
add esp, 8
mov dword [edi + 0x34], eax
mov ecx, edi
mov eax, dword [esp + 0x10]
push dword [esp + 0x5c]
mov edx, dword [eax + 0x24]
call fcn.0043e961
mov edx, dword [esp + 0x18]
xor eax, eax
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x24], 0
mov eax, dword [eax + edx*4]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x14], eax
movzx eax, word [ecx + 0x34]
mov edx, eax
cmp word [esp + 0x24], ax
jae 0x451a9a
mov edx, dword [esp + 0x64]
inc edx
xor eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x14]
mov eax, dword [ecx + 4]
movzx eax, word [eax + esi*2]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x48], eax
cwde
cmp eax, 0xfffffffe
jne 0x451a26
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [ecx + 0x28]
mov ecx, edi
mov edx, dword [edx + eax + 8]
call fcn.0043e02a
xor eax, eax
pop ecx
mov dword [edi + 0x34], eax
jmp 0x451a68
cmp eax, 0xffffffff
je 0x451a54
mov edi, dword [esp + 0x48]
cmp di, word [esi + 0x20]
mov edi, dword [esp + 0x54]
je 0x451a54
xor eax, eax
mov ecx, esi
push eax
push edx
mov edx, dword [esp + 0x50]
call fcn.00445292
mov ecx, dword [ebp + 0x14]
cwde
inc ecx
add eax, ecx
push eax
push 0x51
jmp 0x451a5d
xor eax, eax
push eax
push edx
push dword [ebp + 0x14]
push 0x52
pop edx
mov ecx, ebx
call fcn.00428b9f
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
inc dword [esp + 0x14]
add dword [esp + 0x1c], 0x14
inc edx
movzx eax, word [ecx + 0x34]
mov dword [esp + 0x24], eax
movzx eax, ax
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x14], eax
jl 0x4519eb
mov eax, dword [esp + 0x24]
movzx edx, ax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movzx eax, dx
mov ecx, ebx
push eax
mov eax, dword [esp + 0x6c]
inc eax
push eax
push 0x61
pop edx
call fcn.00428b9f
mov ecx, dword [esp + 0x18]
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x451ae1
cmp dword [esp + 0x2c], ecx
jne 0x451ae1
cmp byte [ebp + 0x1c], 0
jne 0x451ae1
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.00428f9d
jmp 0x452065
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x451ad1
mov edx, dword [esp + 0x50]
cmp dl, 0xb
je 0x451af7
movzx eax, dl
jmp 0x451b00
push 2
cmp eax, 0xb
pop edx
cmove eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
test edx, edx
je 0x451b1d
cmp byte [edx + 0x14], 0
push 6
pop eax
push 4
pop edx
cmove eax, edx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 0
jne 0x451b91
xor edx, edx
cmp dword [ecx + 0x14], edx
jne 0x451b91
cmp dword [esp + 0x2c], ecx
jne 0x451b91
cmp eax, 5
jne 0x451b91
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x90], eax
je 0x451b64
push edx
push edx
push 0x80
mov edx, esi
mov ecx, edi
call fcn.00461ab0
add esp, 0xc
test eax, eax
jne 0x451b91
xor edx, edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x90], eax
je 0x451ad1
cmp dword [esi + 0x30], edx
jne 0x451b91
mov ecx, esi
call fcn.0044eb5e
test eax, eax
je 0x451ad1
mov eax, dword [esp + 0xc]
mov ecx, ebx
movzx eax, word [eax + 0x32]
push eax
mov eax, dword [esp + 0x68]
inc eax
push eax
push dword [esp + 0x60]
push dword [esp + 0x44]
push 0x1b
pop edx
call fcn.00428bf8
mov dword [esp + 0x2c], eax
add esp, 0x10
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x2c]
jne 0x451bca
mov ecx, dword [esp + 0x64]
inc ecx
jmp 0x451bdb
mov edx, dword [esp + 0x74]
mov ecx, edi
call fcn.0043f92c
mov ecx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x48], ecx
test edx, edx
jne 0x451bf1
cmp dword [esp + 0x14], 5
jne 0x451da1
test byte [esi + 0x1c], 0x80
jne 0x451c42
xor eax, eax
mov edx, 0x8e
push eax
push ecx
push dword [esp + 0x40]
mov ecx, ebx
call fcn.00428b9f
mov edx, dword [ebp + 0x18]
add esp, 0xc
test edx, edx
je 0x451da1
push edx
push dword [esp + 0x5c]
mov ecx, ebx
push dword [esp + 0x50]
push 0x35
pop eax
mov edx, eax
call fcn.00428b9f
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.00429165
jmp 0x451d9e
mov edx, dword [esp + 0x2c]
cmp eax, edx
je 0x451ca4
xor edi, edi
cmp di, word [edx + 0x32]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x54]
jae 0x451ca4
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov edx, dword [edx + 4]
lea eax, [ecx + esi]
push eax
mov ecx, edi
mov dx, word [edx + esi*2]
call fcn.00445272
cwde
mov ecx, ebx
push eax
push dword [esp + 0x40]
push 0x5e
pop edx
call fcn.00428b9f
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x48]
inc esi
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x451c62
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0xc]
cmp dword [ebp + 0x18], 0
je 0x451d9e
movzx ecx, word [edx + 0x32]
mov eax, dword [eax + 0x38]
mov edx, dword [ebx + 0x6c]
and al, 3
mov ebx, dword [esp + 0x88]
add edx, ecx
cmp al, 2
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], 0x34
lea eax, [eax + 1]
cmove edx, eax
xor eax, eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x451d9e
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
mov ecx, edi
mov edx, dword [edx + eax*4]
call fcn.0044a3bf
mov edi, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x4c]
push 0x35
mov ecx, dword [edi + 4]
movzx edx, word [ecx + eax*2]
movzx ecx, word [edi + 0x32]
mov edi, dword [esp + 0x40]
dec ecx
cmp eax, ecx
mov dword [esp + 0x40], edi
mov eax, edi
pop edi
cmove eax, edi
cmp dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
cmovne eax, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x4c]
push 0xfffffffffffffffe
push esi
mov esi, dword [esp + 0x4c]
push eax
mov dword [esp + 0x30], ecx
push ecx
mov ecx, esi
call fcn.00445292
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x4c]
inc ecx
cwde
add eax, ecx
mov ecx, ebx
push eax
call fcn.00428d1e
add esp, 0x14
lea edx, [edi + 0x5b]
mov ecx, ebx
call fcn.00429165
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x4c], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, ecx
jl 0x451cf4
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x14]
sub eax, 1
je 0x451fdb
sub eax, 1
je 0x451fdb
sub eax, 1
je 0x451fdb
sub eax, 1
je 0x451fcf
push 2
pop ecx
sub eax, ecx
je 0x451fb9
mov eax, dword [ebx + 0x6c]
sub eax, dword [esp + 0x1c]
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x14], eax
je 0x451dfe
mov eax, dword [edi + 0x80]
mov ecx, edi
test eax, eax
cmovne ecx, eax
inc dword [esp + 0x80]
mov byte [ecx + 0x14], 1
cmp dword [esp + 0x6c], 0
je 0x451e1f
test edx, edx
je 0x451e1f
xor eax, eax
mov edx, 0xa7
push eax
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00428b9f
add esp, 0xc
push dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov edx, esi
cmp dword [esp + 0x10], eax
mov ecx, edi
sete al
movzx eax, al
push eax
push 5
xor eax, eax
push eax
push dword [esp + 0x84]
push dword [esp + 0x5c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x8c]
call fcn.0044b30c
add esp, 0x24
cmp dword [esp + 0x6c], 0
je 0x451e7e
cmp dword [ebp + 0x18], 0
je 0x451e7e
xor eax, eax
mov edx, 0xa8
push eax
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00428b9f
add esp, 0xc
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x451fac
xor ecx, ecx
push ecx
push 1
push eax
push 0x56
pop edx
mov ecx, ebx
call fcn.00428b9f
add esp, 0xc
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 9
pop edx
call fcn.00428b9f
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x90], eax
call fcn.00428f9d
mov eax, dword [esp + 0xc]
xor edx, edx
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x24], edx
je 0x451ee9
push edx
push ecx
push dword [esp + 0x6c]
mov ecx, ebx
push 0x32
pop edx
call fcn.00428b9f
add esp, 0xc
cmp dword [esp + 0x14], 0
jle 0x451f87
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov ecx, ebx
call fcn.00429444
push 5
mov esi, eax
lea edi, [esp + 0xa0]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x9c]
cmp al, 0x8e
je 0x451f65
mov ecx, dword [esp + 0xa4]
movzx edx, al
test byte [edx + 0x63c7c8], 1
cmovne ecx, dword [esp + 0x20]
shr eax, 8
movsx eax, al
push eax
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push ecx
push dword [esp + 0xb0]
mov ecx, ebx
call fcn.00428d1e
mov edx, dword [esp + 0xb2]
add esp, 0x14
mov ecx, ebx
call fcn.00429165
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
dec eax
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
test eax, eax
jg 0x451ef8
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
push dword [esp + 0xc]
mov ecx, edi
push 2
pop eax
mov edx, eax
call fcn.00449b29
mov edx, dword [esp + 0x94]
pop ecx
mov ecx, ebx
call fcn.00429444
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov dword [esp + 0x8c], 1
jmp 0x451feb
push dword [esp + 0x38]
mov edx, dword [ebp + 0x30]
mov ecx, edi
push dword [esp + 0x10]
push esi
call fcn.004645fb
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, ebx
call fcn.00428c53
jmp 0x451feb
push dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.00449b29
pop ecx
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.00428f9d
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x48]
inc ecx
cmp eax, ecx
je 0x452013
push dword [esp + 0x74]
mov edx, eax
mov ecx, edi
call fcn.0043f962
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x452065
cmp dword [esp + 0x78], 0
je 0x452065
mov eax, dword [eax + 0x10]
test eax, eax
je 0x452040
xor ecx, ecx
cmp dword [eax], ecx
je 0x452040
cmp dword [eax + 0x1c], ecx
je 0x452040
cmp byte [eax + 0x15], cl
je 0x452065
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x45202b
mov edx, dword [esp + 0x70]
mov ecx, ebx
lea edx, [edx + 1]
call fcn.00428c53
mov edx, dword [esp + 0x78]
mov ecx, ebx
call fcn.00429444
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
xor eax, eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x34], 0
je 0x452099
mov eax, dword [esp + 0x84]
inc eax
mov ecx, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x28]
jge 0x4520b9
mov eax, dword [esp + 0x30]
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4520a5
mov eax, dword [esp + 0x28]
inc ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
test eax, eax
je 0x4520b9
mov edx, dword [ebp + 0x30]
jmp 0x4518e9
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4520de
mov edx, eax
mov ecx, ebx
call fcn.00428c53
mov edx, dword [esp + 0x98]
mov ecx, ebx
call fcn.00429444
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
cmp dword [esp + 0x80], 0
je 0x452172
xor eax, eax
mov ecx, ebx
push eax
push dword [esp + 0x24]
push dword [esp + 0x64]
push 0x11
pop edx
call fcn.00428b9f
add esp, 0xc
cmp dword [esp + 0x2c], 0
jne 0x45215c
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x452135
push eax
push dword [esp + 0x6c]
mov ecx, ebx
push dword [ebp + 0x14]
push 0x35
pop eax
mov edx, eax
call fcn.00428b9f
add esp, 0xc
mov edx, 0x90
mov ecx, ebx
call fcn.00429165
push dword [ebp + 0x14]
mov ecx, ebx
push dword [esp + 0x6c]
push dword [ebp + 0xc]
push 0x1f
pop edx
call fcn.00428b9f
add esp, 0xc
mov ecx, edi
push esi
push 2
pop eax
mov edx, eax
call fcn.00449c3b
pop ecx
jmp 0x452167
mov edx, dword [esp + 0x68]
mov ecx, ebx
call fcn.00428c53
mov edx, dword [esp + 0x20]
mov ecx, ebx
call fcn.00428f9d
test byte [esi + 0x1c], 0x80
jne 0x4521ad
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push dword [ecx + eax*4]
movsx eax, word [esi + 0x24]
mov ecx, ebx
push eax
mov eax, dword [ebp + 0x14]
inc eax
push eax
push 0x61
pop edx
call fcn.00428b9f
add esp, 0xc
cmp byte [esp + 0x1b], 0
jne 0x4521ad
xor eax, eax
mov edx, esi
push eax
mov ecx, ebx
call fcn.0044fc4f
pop ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret