Function at 0x477fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a755
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xdc]
push 0x20
push 0xe
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
call fcn.0046d880
mov edi, dword [ebx + 0x10]
mov esi, eax
cmp dword [ebx + 0xc], edi
jbe 0x478012
call fcn.00451f48
mov eax, dword [ebx + 0xc]
mov ebp, dword [ebx]
mov dword [esp + 0x14], eax
cmp eax, dword [ebx + 0x10]
jbe 0x478025
call fcn.00451f48
mov eax, dword [ebx]
test ebp, ebp
je 0x47802f
cmp ebp, eax
je 0x478034
call fcn.00451f48
sub edi, dword [esp + 0x14]
sar edi, 1
mov dword [esi + 8], edi
mov edi, dword [ebx + 0x28]
cmp dword [ebx + 0x24], edi
jbe 0x47804a
call fcn.00451f48
mov eax, dword [ebx + 0x24]
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x14], eax
cmp eax, dword [ebx + 0x28]
jbe 0x47805e
call fcn.00451f48
mov eax, dword [ebx + 0x18]
test ebp, ebp
je 0x478069
cmp ebp, eax
je 0x47806e
call fcn.00451f48
sub edi, dword [esp + 0x14]
sar edi, 1
shr edi, 1
mov dword [esi + 0xc], edi
mov edi, dword [ebx + 0x50]
cmp dword [ebx + 0x4c], edi
jbe 0x478086
call fcn.00451f48
mov ecx, ebx
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x40]
cmp ebx, dword [ecx + 0x50]
jbe 0x47809c
call fcn.00451f48
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x40]
test ebp, ebp
je 0x4780a7
cmp ebp, eax
je 0x4780b0
call fcn.00451f48
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
sub edi, ebx
sar edi, 1
mov dword [esi + 0x10], edi
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x14], eax
mov ecx, dword [ecx + 0x38]
mov dword [esi + 0x18], ecx
mov edx, dword [edx]
test dword [edx + 0x20], 0x100000
je 0x478112
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0x58]
mov ebx, eax
and ebx, edx
cmp ebx, edx
je 0x4780ec
mov edx, dword [edi + 0x5c]
mov ebx, eax
and ebx, edx
cmp ebx, edx
jne 0x4780f4
mov edx, dword [edi + 0x60]
or edx, eax
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x58]
mov edx, ecx
and edx, eax
cmp edx, eax
je 0x47810a
mov eax, dword [edi + 0x5c]
mov edx, ecx
and edx, eax
cmp edx, eax
jne 0x478112
mov eax, dword [edi + 0x60]
or eax, ecx
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0x28]
mov al, byte [edi + 0x30]
mov edx, dword [esp + 0x18]
mov byte [esi + 0x1c], al
cmp byte [edi + 0x31], 0
sete cl
mov byte [esi + 0x1d], cl
mov eax, dword [edx]
sub esi, dword [eax + 0x144]
mov dword [esp + 0x5c], esi
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x478143
call fcn.00451f48
mov ebp, dword [edi]
mov ebx, esi
mov esi, dword [edi + 0x10]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], esi
cmp dword [edi + 0xc], esi
jbe 0x47815c
call fcn.00451f48
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
test ebp, ebp
je 0x47816c
cmp ebp, dword [esp + 0x2c]
je 0x478171
call fcn.00451f48
cmp ebx, esi
je 0x4782c1
test ebp, ebp
jne 0x478279
call fcn.00451f48
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x478192
call fcn.00451f48
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x140]
xor edx, edx
cmp byte [ebx + 1], dl
setne dl
add esi, 0x140
sub ecx, eax
add edx, 2
mov edi, edx
cmp ecx, edi
jae 0x4781c9
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.00487190
mov ebp, dword [esi + 8]
mov ecx, dword [esp + 0x1c]
add edi, ebp
mov dword [esi + 8], edi
test ecx, ecx
jne 0x478281
call fcn.00451f48
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4781f6
call fcn.00451f48
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xc], 0
mov al, byte [ebx]
je 0x478211
mov edx, dword [edx + 4]
mov edx, dword [edx]
movzx eax, al
mov al, byte [edx + eax + 0x104]
mov byte [ebp], al
test ecx, ecx
jne 0x478288
call fcn.00451f48
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x478231
call fcn.00451f48
mov ecx, dword [esp + 0x1c]
cmp byte [ebx + 1], 0
je 0x478290
test ecx, ecx
jne 0x47828c
call fcn.00451f48
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x478254
call fcn.00451f48
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xc], 0
mov al, byte [ebx + 1]
je 0x478270
mov edx, dword [edx + 4]
mov edx, dword [edx]
movzx eax, al
mov al, byte [edx + eax + 0x104]
mov byte [ebp + 1], al
mov byte [ebp + 2], 0
jmp 0x478294
mov eax, dword [ebp]
jmp 0x478188
mov eax, dword [ecx]
jmp 0x4781e8
mov eax, dword [ecx]
jmp 0x478223
mov eax, dword [ecx]
jmp 0x478246
mov byte [ebp + 1], 0
test ecx, ecx
jne 0x4782bd
call fcn.00451f48
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4782a9
call fcn.00451f48
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
add ebx, 2
jmp 0x478162
mov eax, dword [ecx]
jmp 0x47829f
mov esi, dword [edi + 0x24]
cmp esi, dword [edi + 0x28]
jbe 0x4782ce
call fcn.00451f48
mov eax, dword [edi + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x58], eax
cmp dword [edi + 0x24], eax
jbe 0x4782ea
call fcn.00451f48
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x60], ecx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4782ff
cmp esi, dword [esp + 0x60]
je 0x478304
call fcn.00451f48
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x58]
je 0x478b16
test esi, esi
jne 0x478360
call fcn.00451f48
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x478327
call fcn.00451f48
mov ebp, dword [esp + 0x18]
mov al, byte [ebp + 0xc]
mov cl, byte [edi]
mov bl, byte [edi + 1]
mov edx, dword [ebp + 4]
test al, al
je 0x47834a
mov esi, dword [edx]
movzx ecx, cl
mov cl, byte [ecx + esi + 0x104]
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x34], cl
test al, al
je 0x478364
mov edx, dword [edx]
movzx eax, bl
mov al, byte [eax + edx + 0x104]
jmp 0x478366
mov eax, dword [esi]
jmp 0x47831d
mov al, bl
mov byte [esp + 0x35], al
test esi, esi
jne 0x4783c6
call fcn.00451f48
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47837f
call fcn.00451f48
add edi, 2
test esi, esi
jne 0x4783ca
call fcn.00451f48
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x478397
call fcn.00451f48
mov al, byte [ebp + 0xc]
mov cl, byte [edi]
mov edx, dword [ebp + 4]
test al, al
je 0x4783af
mov esi, dword [edx]
movzx ecx, cl
mov cl, byte [ecx + esi + 0x104]
mov byte [esp + 0x2c], cl
test al, al
je 0x4783ce
movzx eax, byte [edi + 1]
mov edx, dword [edx]
mov al, byte [eax + edx + 0x104]
jmp 0x4783d1
mov eax, dword [esi]
jmp 0x478375
mov eax, dword [esi]
jmp 0x47838d
mov al, byte [edi + 1]
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0x1c]
xor ebp, ebp
cmp eax, ebp
jne 0x4785e2
call fcn.00451f48
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4783f4
call fcn.00451f48
add edi, 2
mov eax, 0xf
mov dword [esp + 0x20], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x94], 0
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
mov esi, dword [esp + 0x18]
mov ecx, dword [esi]
test dword [ecx + 0x20], 0x200000
mov ebx, 1
mov byte [esp + 0xd4], bl
je 0x4785e9
movzx edx, byte [esp + 0x34]
mov al, byte [esp + 0x35]
mov cl, byte [esp + 0x2c]
mov byte [esp + 0x14], dl
movzx edx, byte [esp + 0x2d]
mov byte [esp + 0x15], al
test al, al
mov byte [esp + 0x16], 0
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0
lea eax, [esp + 0x16]
jne 0x47848a
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 4]
call fcn.0046e520
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 2
call fcn.00415ee0
mov edi, 0x10
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x54], edi
jb 0x4784d4
mov edx, dword [esp + 0x40]
push edx
call fcn.0043032b
add esp, 4
cmp byte [esp + 0x25], 0
lea eax, [esp + 0x26]
jne 0x4784e3
lea eax, [esp + 0x25]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 4]
call fcn.0046e520
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 3
call fcn.00415ee0
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x54], edi
jb 0x478528
mov edx, dword [esp + 0x40]
push edx
call fcn.0043032b
add esp, 4
cmp dword [esp + 0xa4], ebp
jne 0x47857d
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
mov dword [esp + 0x50], ebx
mov byte [esp + 0x41], 0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 4
call fcn.00415ee0
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x54], edi
jb 0x47857d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0043032b
add esp, 4
mov edi, dword [esp + 0xc0]
cmp edi, ebp
jne 0x478813
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
mov dword [esp + 0x50], ebx
mov byte [esp + 0x41], 0
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe0], 5
call fcn.00415ee0
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0xd4], bl
jb 0x47880c
mov eax, dword [esp + 0x40]
push eax
call fcn.0043032b
add esp, 4
jmp 0x47880c
mov eax, dword [eax]
jmp 0x4783ea
cmp byte [esp + 0x35], 0
je 0x47868b
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x98]
push ecx
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xa0]
call fcn.0046fa40
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x94]
mov esi, eax
cmp edx, 0x10
jae 0x478636
lea esi, [esp + 0x94]
mov edi, dword [esp + 0xa4]
add esi, edi
cmp esi, ebp
je 0x478667
mov ecx, eax
cmp edx, 0x10
jae 0x478651
lea ecx, [esp + 0x94]
cmp ecx, esi
ja 0x478667
cmp edx, 0x10
jae 0x478661
lea eax, [esp + 0x94]
add eax, edi
cmp esi, eax
jbe 0x47866c
call fcn.00451f48
mov ecx, dword [esp + 0x35]
push ecx
lea eax, [esp + 0x94]
push esi
push eax
lea edx, [esp + 0x94]
push edx
mov ecx, eax
call fcn.0046fa40
jmp 0x4786d7
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x34]
mov byte [esp + 0x40], al
mov dword [esp + 0x50], ebx
mov byte [esp + 0x41], 0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 6
call fcn.00415ee0
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0xd4], bl
jb 0x4786d7
mov edx, dword [esp + 0x40]
push edx
call fcn.0043032b
add esp, 4
cmp byte [esp + 0x2d], 0
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0xc4]
mov esi, eax
je 0x4787b0
cmp edi, 0x10
jae 0x4786fe
lea esi, [esp + 0xb0]
mov edx, dword [esp + 0xc0]
add esi, edx
cmp esi, ebp
je 0x47872f
mov ecx, eax
cmp edi, 0x10
jae 0x478719
lea ecx, [esp + 0xb0]
cmp ecx, esi
ja 0x47872f
cmp edi, 0x10
jae 0x478729
lea eax, [esp + 0xb0]
add eax, edx
cmp esi, eax
jbe 0x478734
call fcn.00451f48
mov ecx, dword [esp + 0x2c]
push ecx
lea eax, [esp + 0xb0]
push esi
push eax
lea edx, [esp + 0x84]
push edx
mov ecx, eax
call fcn.0046fa40
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xb0]
mov esi, eax
cmp edx, 0x10
jae 0x47876d
lea esi, [esp + 0xb0]
mov edi, dword [esp + 0xc0]
add esi, edi
cmp esi, ebp
je 0x47879e
mov ecx, eax
cmp edx, 0x10
jae 0x478788
lea ecx, [esp + 0xb0]
cmp ecx, esi
ja 0x47879e
cmp edx, 0x10
jae 0x478798
lea eax, [esp + 0xb0]
add eax, edi
cmp esi, eax
jbe 0x4787a3
call fcn.00451f48
mov ecx, dword [esp + 0x2d]
lea edx, [esp + 0x80]
jmp 0x4787fa
cmp edi, 0x10
jae 0x4787bc
lea esi, [esp + 0xb0]
mov edx, dword [esp + 0xc0]
add esi, edx
cmp esi, ebp
je 0x4787ed
mov ecx, eax
cmp edi, 0x10
jae 0x4787d7
lea ecx, [esp + 0xb0]
cmp ecx, esi
ja 0x4787ed
cmp edi, 0x10
jae 0x4787e7
lea eax, [esp + 0xb0]
add eax, edx
cmp esi, eax
jbe 0x4787f2
call fcn.00451f48
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x70]
push ecx
push esi
lea eax, [esp + 0xb4]
push eax
push edx
mov ecx, eax
call fcn.0046fa40
mov edi, dword [esp + 0xc0]
cmp dword [esp + 0xa8], 0x10
mov edx, dword [esp + 0x94]
jae 0x47882b
lea edx, [esp + 0x94]
mov ecx, dword [esp + 0xa4]
cmp edi, ecx
jae 0x478838
mov ecx, edi
mov esi, dword [esp + 0xc4]
mov ebx, dword [esp + 0xb0]
mov eax, ebx
cmp esi, 0x10
jae 0x478854
lea eax, [esp + 0xb0]
push ecx
push edx
push eax
call fcn.00415a20
add esp, 0xc
cmp eax, ebp
jne 0x47887d
mov eax, dword [esp + 0xa4]
cmp edi, eax
jb 0x478acd
xor ecx, ecx
cmp edi, eax
setne cl
mov eax, ecx
cmp eax, ebp
jl 0x478acd
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov edx, dword [esp + 0xa4]
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x140]
add esi, 0x140
lea edi, [edi + edx + 2]
sub ecx, eax
cmp ecx, edi
jae 0x4788ba
mov edx, edi
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.00487190
mov ebx, dword [esi + 8]
add edi, ebx
mov dword [esi + 8], edi
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x94]
mov eax, edx
cmp ecx, 0x10
jae 0x4788de
lea eax, [esp + 0x94]
mov esi, dword [esp + 0xa4]
lea edi, [eax + esi]
cmp edi, ebp
je 0x478912
mov eax, edx
cmp ecx, 0x10
jae 0x4788fa
lea eax, [esp + 0x94]
cmp eax, edi
ja 0x478912
mov eax, edx
cmp ecx, 0x10
jae 0x47890c
lea eax, [esp + 0x94]
add eax, esi
cmp edi, eax
jbe 0x478925
call fcn.00451f48
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x94]
cmp ecx, 0x10
jb 0x478ab5
mov esi, edx
cmp edx, ebp
je 0x478961
mov eax, edx
cmp ecx, 0x10
jae 0x478942
lea eax, [esp + 0x94]
cmp eax, esi
ja 0x478961
mov eax, edx
cmp ecx, 0x10
jae 0x478954
lea eax, [esp + 0x94]
mov edx, dword [esp + 0xa4]
add eax, edx
cmp esi, eax
jbe 0x478966
call fcn.00451f48
sub edi, esi
mov eax, edi
cmp eax, ebp
jle 0x47897a
push eax
push esi
push eax
push ebx
call fcn.004504d9
add esp, 0x10
mov eax, dword [esp + 0xa4]
mov byte [ebx + eax], 0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xb0]
lea ebx, [ebx + ecx + 1]
mov ecx, dword [esp + 0xc4]
mov eax, edx
cmp ecx, 0x10
jae 0x4789ac
lea eax, [esp + 0xb0]
mov esi, dword [esp + 0xc0]
lea edi, [eax + esi]
cmp edi, ebp
je 0x4789e0
mov eax, edx
cmp ecx, 0x10
jae 0x4789c8
lea eax, [esp + 0xb0]
cmp eax, edi
ja 0x4789e0
mov eax, edx
cmp ecx, 0x10
jae 0x4789da
lea eax, [esp + 0xb0]
add eax, esi
cmp edi, eax
jbe 0x4789f3
call fcn.00451f48
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xb0]
cmp ecx, 0x10
jb 0x478ac1
mov esi, edx
cmp edx, ebp
je 0x478a2f
mov eax, edx
cmp ecx, 0x10
jae 0x478a10
lea eax, [esp + 0xb0]
cmp eax, esi
ja 0x478a2f
mov eax, edx
cmp ecx, 0x10
jae 0x478a22
lea eax, [esp + 0xb0]
mov edx, dword [esp + 0xc0]
add eax, edx
cmp esi, eax
jbe 0x478a34
call fcn.00451f48
sub edi, esi
mov eax, edi
cmp eax, ebp
jle 0x478a48
push eax
push esi
push eax
push ebx
call fcn.004504d9
add esp, 0x10
mov eax, dword [esp + 0xc0]
mov byte [ebx + eax], 0
cmp dword [esp + 0xc4], 0x10
jb 0x478a6d
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0043032b
add esp, 4
cmp dword [esp + 0xa8], 0x10
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
mov dword [esp + 0xd4], 0xffffffff
jb 0x4782f1
mov edx, dword [esp + 0x94]
push edx
call fcn.0043032b
add esp, 4
jmp 0x4782f1
lea esi, [esp + 0x94]
jmp 0x478934
lea esi, [esp + 0xb0]
jmp 0x478a02
cmp esi, 0x10
jb 0x478adb
push ebx
call fcn.0043032b
add esp, 4
cmp dword [esp + 0xa8], 0x10
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], ebp
mov byte [esp + 0xb0], 0
jb 0x478b0f
mov eax, dword [esp + 0x94]
push eax
call fcn.0043032b
add esp, 4
xor eax, eax
jmp 0x478e15
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0x4c]
cmp esi, dword [edi + 0x50]
jbe 0x478b27
call fcn.00451f48
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x1c], ecx
mov ebp, esi
mov dword [esp + 0x58], eax
cmp dword [edi + 0x4c], eax
jbe 0x478b41
call fcn.00451f48
mov edx, dword [edi + 0x40]
mov dword [esp + 0x60], edx
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x478b56
cmp edi, dword [esp + 0x60]
je 0x478b5b
call fcn.00451f48
cmp ebp, dword [esp + 0x58]
je 0x478e02
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
mov dword [esp + 0xd4], 7
test edi, edi
jne 0x478c45
call fcn.00451f48
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x478ba7
call fcn.00451f48
cmp byte [ebp + 1], 0
lea esi, [ebp + 1]
je 0x478c57
test edi, edi
jne 0x478c4c
call fcn.00451f48
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x478bcd
call fcn.00451f48
mov al, byte [ebp]
mov byte [esp + 0x14], al
test edi, edi
jne 0x478c53
call fcn.00451f48
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x478be9
call fcn.00451f48
mov cl, byte [esi]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x16]
push edx
mov byte [esp + 0x19], cl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 4]
mov byte [esp + 0x22], 0
call fcn.00475f10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 8
call fcn.00415ee0
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0xd4], 7
jb 0x478cd1
mov edx, dword [esp + 0x40]
push edx
jmp 0x478cc9
mov eax, dword [edi]
jmp 0x478b9d
mov eax, dword [edi]
jmp 0x478bc3
mov eax, dword [edi]
jmp 0x478bdf
test edi, edi
jne 0x478de0
call fcn.00451f48
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x478c70
call fcn.00451f48
test edi, edi
jne 0x478de7
call fcn.00451f48
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x478c89
call fcn.00451f48
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push ebp
lea eax, [esp + 0x44]
push eax
call fcn.00475f10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 9
call fcn.00415ee0
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0xd4], 7
jb 0x478cd1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0043032b
add esp, 4
mov edi, dword [esp + 0xa4]
test edi, edi
je 0x478df2
mov esi, dword [esi]
mov eax, dword [esi + 0x148]
mov edx, dword [esi + 0x140]
add esi, 0x140
inc edi
sub edx, eax
cmp edx, edi
jae 0x478d09
mov edx, edi
sub edx, dword [esi + 4]
mov ecx, esi
add edx, eax
call fcn.00487190
mov ebx, dword [esi + 8]
add edi, ebx
mov dword [esi + 8], edi
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x478d29
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x90]
add eax, ecx
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0041b380
mov eax, dword [esp + 0x94]
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jae 0x478d60
lea eax, [esp + 0x94]
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0041b380
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
sub eax, ecx
test eax, eax
jle 0x478d8c
push eax
push ecx
push eax
push ebx
call fcn.004504d9
add esp, 0x10
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xa4]
mov byte [ebx + edx], 0
test eax, eax
jne 0x478dee
call fcn.00451f48
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x478db0
call fcn.00451f48
add ebp, 2
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0xa8], esi
jb 0x478b48
mov eax, dword [esp + 0x94]
push eax
call fcn.0043032b
add esp, 4
jmp 0x478b48
mov eax, dword [edi]
jmp 0x478c66
mov eax, dword [edi]
jmp 0x478c7f
mov eax, dword [eax]
jmp 0x478da6
lea ecx, [esp + 0x90]
call fcn.00415df0
xor eax, eax
jmp 0x478e15
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x144]
add eax, dword [esp + 0x5c]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0044fdb2
add esp, 0xc4
ret 8