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

Disassembly:
push ebp
mov eax, 0x101bc
mov ebp, esp
push edi
push esi
push ebx
call fcn.661146c0
sub esp, eax
lea eax, [ebp - 0x10140]
mov dword [ebp - 0x10148], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
mov eax, esi
add eax, ebx
je 0x660d2be5
test esi, esi
je 0x660d4748
mov dword [ebp - 0x1005c], ebx
cmp ebx, 0xf
ja 0x660d2e7d
cmp ebx, 1
jne 0x660d2d75
movzx eax, byte [esi]
lea esi, [ebp - 0x10148]
mov dword [ebp - 0x101a0], esi
mov byte [ebp - 0x10140], al
lea eax, [ebp - 0x10140]
mov dword [ebp - 0x10144], ebx
mov ecx, dword [ebp - 0x101a0]
mov byte [eax + ebx], 0
mov eax, dword [ebp - 0x10144]
mov dword [esp + 4], 0
sub eax, 0x14
mov dword [esp], eax
call fcn.661af5d0
mov esi, dword [ebp - 0x10148]
lea eax, [ebp - 0x10128]
mov ebx, dword [ebp - 0x10144]
sub esp, 8
mov dword [ebp - 0x10130], eax
mov eax, esi
add eax, ebx
je 0x660d2c6a
test esi, esi
je 0x660d4754
mov dword [ebp - 0x1005c], ebx
cmp ebx, 0xf
ja 0x660d2e23
cmp ebx, 1
jne 0x660d2e04
movzx eax, byte [esi]
lea esi, [ebp - 0x10130]
mov dword [ebp - 0x10184], esi
mov byte [ebp - 0x10128], al
lea eax, [ebp - 0x10128]
mov esi, dword [ebp - 0x10184]
mov dword [ebp - 0x1012c], ebx
mov byte [eax + ebx], 0
mov dword [esp + 8], str._ifs
mov dword [esp + 4], 0x661e0443
mov dword [esp], esi
call fcn.660e5030
lea eax, [ebp - 0x1005c]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.660d83d0
cmp byte [ebp - 0x10044], 0
je 0x660d2d94
mov eax, dword [ebp - 0x1005c]
lea edx, [ebp - 0x10054]
mov byte [ebp - 0x10044], 0
cmp eax, edx
je 0x660d2d10
mov esi, dword [ebp - 0x10054]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
add eax, 0x34
cmp byte [esi + 0x4c], 0
jne 0x660d2d24
mov eax, esi
add eax, 4
lea esi, [ebp - 0x10110]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x10118], esi
mov esi, dword [eax]
mov eax, esi
add eax, ebx
je 0x660d2d43
test esi, esi
je 0x660d4760
mov dword [ebp - 0x1005c], ebx
cmp ebx, 0xf
ja 0x660d43b8
cmp ebx, 1
jne 0x660d2ed7
movzx eax, byte [esi]
lea edi, [ebp - 0x10118]
mov byte [ebp - 0x10110], al
lea eax, [ebp - 0x10110]
jmp 0x660d2eeb
lea eax, [ebp - 0x10140]
test ebx, ebx
jne 0x660d4726
lea esi, [ebp - 0x10148]
mov dword [ebp - 0x101a0], esi
jmp 0x660d2c18
cmp byte [0x66238040], 0
je 0x660d2db2
mov dword [esp + 4], str.mod_folder_doesnt_exist__skipping
mov dword [esp], 0x661e005d
call dword [0x661dc02c]
mov eax, dword [ebp - 0x10130]
lea esi, [ebp - 0x10128]
cmp eax, esi
je 0x660d2dd7
mov esi, dword [ebp - 0x10128]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov eax, dword [ebp - 0x10148]
lea esi, [ebp - 0x10140]
cmp eax, esi
je 0x660d2dfc
mov esi, dword [ebp - 0x10140]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x10128]
test ebx, ebx
jne 0x660d4737
lea esi, [ebp - 0x10130]
mov dword [ebp - 0x10184], esi
jmp 0x660d2c9d
lea eax, [ebp - 0x10130]
mov dword [esp + 4], 0
mov dword [ebp - 0x10184], eax
mov ecx, eax
lea eax, [ebp - 0x1005c]
mov dword [esp], eax
call fcn.661b02e0
mov edx, dword [ebp - 0x1005c]
mov dword [ebp - 0x10130], eax
sub esp, 8
mov dword [ebp - 0x10128], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x1005c]
mov eax, dword [ebp - 0x10130]
jmp 0x660d2c9d
lea eax, [ebp - 0x10148]
mov dword [esp + 4], 0
mov dword [ebp - 0x101a0], eax
mov ecx, eax
lea eax, [ebp - 0x1005c]
mov dword [esp], eax
call fcn.661b02e0
mov edx, dword [ebp - 0x1005c]
mov dword [ebp - 0x10148], eax
sub esp, 8
mov dword [ebp - 0x10140], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x1005c]
mov eax, dword [ebp - 0x10148]
jmp 0x660d2c18
lea eax, [ebp - 0x10110]
lea edi, [ebp - 0x10118]
test ebx, ebx
jne 0x660d43eb
mov dword [ebp - 0x10114], ebx
mov byte [eax + ebx], 0
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x1002c], eax
mov dword [ebp - 0x10028], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10024], eax
lea eax, [ebp - 0x1005c]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [ebp - 0x1005c], 0
mov dword [ebp - 0x10058], 0
mov dword [ebp - 0x1004c], 0
mov dword [ebp - 0x10048], 0
mov dword [ebp - 0x10044], 0
mov dword [ebp - 0x1003c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.660cb3f0
test al, al
je 0x660d3029
mov ebx, str.texturelist
lea esi, [esi]
add ebx, 1
cmp byte [ebx], 0
jne 0x660d2f80
mov eax, dword [ebp - 0x10044]
sub ebx, str.texturelist
mov dword [ebp - 0x10170], eax
test eax, eax
je 0x660d3014
mov esi, dword [sym.imp.msvcrt.dll__assert]
lea esi, [esi]
mov eax, dword [ebp - 0x10170]
mov edx, dword [eax]
test edx, edx
je 0x660d30b2
mov ecx, dword [eax + 8]
cmp ebx, ecx
jne 0x660d2ff0
lea eax, [edx + ebx]
cmp edx, eax
jae 0x660d30ba
xor eax, eax
mov edi, ebx
jmp 0x660d2fdb
add eax, 1
cmp ecx, eax
je 0x660d30ba
movzx ebx, byte [eax + str.texturelist]
cmp byte [edx + eax], bl
je 0x660d2fd0
mov ebx, edi
lea esi, [esi]
mov eax, dword [ebp - 0x10170]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x660d4382
mov eax, dword [ebp - 0x10170]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x10170], eax
test eax, eax
jne 0x660d2fa8
mov dword [esp + 4], str.texlist_has_no_texturelist_node
mov dword [esp], 0x661e005d
call dword [0x661dc034]
mov ebx, dword [ebp - 0x1002c]
lea eax, [ebp - 0x10020]
cmp ebx, eax
jne 0x660d3055
jmp 0x660d3084
mov dword [esp], edx
call eax
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x1002c], ebx
cmp ebx, eax
je 0x660d3084
mov eax, ebx
mov edx, ebx
neg eax
and eax, 3
mov ebx, dword [ebx + eax]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x660d3040
test edx, edx
je 0x660d3045
mov dword [esp], edx
call fcn.661cdd90
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x1002c], ebx
cmp ebx, eax
jne 0x660d3055
mov eax, dword [ebp - 0x10118]
lea esi, [ebp - 0x10110]
cmp eax, esi
je 0x660d2db2
mov esi, dword [ebp - 0x10110]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
jmp 0x660d2db2
test ebx, ebx
jne 0x660d2ff0
mov eax, dword [ebp - 0x10184]
mov dword [esp + 4], eax
lea eax, [ebp - 0x100d0]
mov dword [esp], eax
call fcn.660c5820
mov ebx, str.compress
lea esi, [esi]
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x660d30e0
mov eax, dword [ebp - 0x10170]
sub ebx, str.compress
mov edx, dword [eax + 0x20]
test edx, edx
je 0x660d3148
lea esi, [esi]
nop
mov ecx, dword [edx]
test ecx, ecx
je 0x660d430f
mov esi, dword [edx + 8]
cmp ebx, esi
jne 0x660d3141
lea eax, [ecx + ebx]
cmp ecx, eax
jae 0x660d4317
xor eax, eax
mov edi, ebx
jmp 0x660d3133
add eax, 1
cmp esi, eax
je 0x660d4317
movzx ebx, byte [eax + str.compress]
cmp byte [ecx + eax], bl
je 0x660d3128
mov ebx, edi
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x660d3100
mov dword [ebp - 0x10190], 0
mov ebx, str.texture
lea esi, [esi]
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x660d3160
mov eax, dword [ebp - 0x10170]
mov esi, dword [sym.imp.msvcrt.dll__assert]
sub ebx, str.texture
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1016c], eax
test eax, eax
je 0x660d31fd
lea esi, [esi]
nop
mov eax, dword [ebp - 0x1016c]
mov edx, dword [eax]
test edx, edx
je 0x660d434b
mov ecx, dword [eax + 8]
cmp ebx, ecx
jne 0x660d31d9
lea eax, [edx + ebx]
cmp edx, eax
jae 0x660d33f6
xor eax, eax
mov edi, ebx
jmp 0x660d31cb
add eax, 1
cmp ecx, eax
je 0x660d33f6
movzx ebx, byte [eax + str.texture]
cmp byte [edx + eax], bl
je 0x660d31c0
mov ebx, edi
mov eax, dword [ebp - 0x1016c]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x660d4364
mov eax, dword [ebp - 0x1016c]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x1016c], eax
test eax, eax
jne 0x660d3190
cmp byte [0x66238040], 0
je 0x660d3225
mov eax, dword [ebp - 0x100c4]
mov dword [esp + 4], str._d_added_PNGs
mov dword [esp], 0x661e005d
mov dword [esp + 8], eax
call dword [0x661dc02c]
mov edx, dword [ebp - 0x100c4]
test edx, edx
je 0x660d326d
mov eax, dword [ebp - 0x10190]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10184]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x101a0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10170]
mov dword [esp + 4], eax
lea eax, [ebp - 0x100d0]
mov dword [esp], eax
call fcn.660ce030
test al, al
jne 0x660d4431
mov ebx, dword [ebp - 0x100c8]
test ebx, ebx
jne 0x660d3282
jmp 0x660d32b4
mov ebx, esi
mov eax, dword [ebx + 4]
lea edx, [ebx + 0xc]
mov esi, dword [ebx]
cmp eax, edx
je 0x660d32a0
mov edi, dword [ebx + 0xc]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov dword [esp + 4], 0x20
mov dword [esp], ebx
call fcn.661cddb0
test esi, esi
jne 0x660d3280
mov eax, dword [ebp - 0x100cc]
mov dword [esp + 4], 0
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100d0]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x100d0]
lea ecx, [ebp - 0x100b8]
mov dword [ebp - 0x100c4], 0
mov dword [ebp - 0x100c8], 0
mov eax, dword [ebp - 0x100cc]
cmp edx, ecx
je 0x660d3310
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.661cddb0
mov ebx, dword [ebp - 0x1002c]
lea eax, [ebp - 0x10020]
cmp ebx, eax
jne 0x660d333d
jmp 0x660d336c
mov dword [esp], edx
call eax
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x1002c], ebx
cmp ebx, eax
je 0x660d336c
mov eax, ebx
mov edx, ebx
neg eax
and eax, 3
mov ebx, dword [ebx + eax]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x660d3328
test edx, edx
je 0x660d332d
mov dword [esp], edx
call fcn.661cdd90
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x1002c], ebx
cmp ebx, eax
jne 0x660d333d
mov edx, dword [ebp - 0x10118]
lea eax, [ebp - 0x10110]
cmp edx, eax
je 0x660d3391
mov eax, dword [ebp - 0x10110]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
mov edx, dword [ebp - 0x10130]
lea eax, [ebp - 0x10128]
cmp edx, eax
je 0x660d33b6
mov eax, dword [ebp - 0x10128]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
mov edx, dword [ebp - 0x10148]
lea eax, [ebp - 0x10140]
cmp edx, eax
je 0x660d2dfc
mov eax, dword [ebp - 0x10140]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
jmp 0x660d2dfc
test ecx, ecx
jne 0x660d3518
mov dword [ebp - 0x1016c], ebx
mov ecx, str.format
lea esi, [esi]
nop
add ecx, 1
cmp byte [ecx], 0
jne 0x660d3400
mov eax, dword [ebp - 0x1016c]
sub ecx, str.format
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x660d346f
lea esi, [esi]
nop
mov edx, dword [ebx]
test edx, edx
je 0x660d3528
mov esi, dword [ebx + 8]
cmp ecx, esi
jne 0x660d3468
lea eax, [edx + ecx]
cmp edx, eax
jae 0x660d3530
xor eax, eax
mov edi, ecx
jmp 0x660d3453
add eax, 1
cmp esi, eax
je 0x660d3530
movzx ecx, byte [eax + str.format]
cmp byte [edx + eax], cl
je 0x660d3448
mov ecx, edi
lea esi, [esi]
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x660d3420
mov eax, dword [ebp - 0x10118]
mov dword [esp + 4], str.Texture_missing_format__s
mov dword [esp], 0x661e005d
mov dword [esp + 8], eax
call dword [0x661dc034]
nop
mov eax, dword [ebp - 0x1016c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x660d35e2
mov ecx, str.texture
lea esi, [esi]
lea esi, [esi]
add ecx, 1
cmp byte [ecx], 0
jne 0x660d34b0
mov eax, dword [ebp - 0x1016c]
sub ecx, str.texture
mov ebx, dword [eax + 0x2c]
test ebx, ebx
je 0x660d31fd
nop
mov edx, dword [ebx]
test edx, edx
je 0x660d33e8
mov esi, dword [ebx + 8]
cmp ecx, esi
jne 0x660d3518
lea eax, [edx + ecx]
cmp edx, eax
jae 0x660d33f0
xor eax, eax
mov edi, ecx
jmp 0x660d3503
add eax, 1
cmp esi, eax
je 0x660d33f0
movzx ecx, byte [eax + str.texture]
cmp byte [edx + eax], cl
je 0x660d34f8
mov ecx, edi
lea esi, [esi]
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x660d34d0
jmp 0x660d31fd
test ecx, ecx
jne 0x660d3468
mov edi, str.size
lea esi, [esi]
add edi, 1
cmp byte [edi], 0
jne 0x660d3538
mov eax, dword [ebp - 0x1016c]
sub edi, str.size
mov esi, dword [eax + 0x18]
test esi, esi
je 0x660d35b2
lea esi, [esi]
nop
mov edx, dword [esi]
test edx, edx
je 0x660d3608
mov ecx, dword [esi + 8]
cmp edi, ecx
jne 0x660d35a0
lea eax, [edx + edi]
cmp edx, eax
jae 0x660d360c
mov dword [ebp - 0x1015c], ebx
xor eax, eax
jmp 0x660d358b
add eax, 1
cmp ecx, eax
je 0x660d41ac
movzx ebx, byte [eax + str.size]
cmp byte [edx + eax], bl
je 0x660d3580
mov ebx, dword [ebp - 0x1015c]
lea esi, [esi]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x660d4108
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x660d3558
mov eax, dword [ebp - 0x10118]
mov dword [esp + 4], str.Texture_missing_size__s
mov dword [esp], 0x661e005d
mov dword [esp + 8], eax
call dword [0x661dc034]
mov eax, dword [ebp - 0x1016c]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x660d34a1
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x660d34a1
test edi, edi
jne 0x660d35a0
mov eax, dword [ebx + 4]
mov edx, 0x661dde98
mov dword [esp + 4], str.argb8888rev
test eax, eax
cmove eax, edx
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__stricmp]
mov dword [ebp - 0x10164], eax
call eax
test eax, eax
je 0x660d43a0
mov eax, dword [ebx + 4]
mov edx, 0x661dde98
mov dword [esp + 4], str.dxt5
test eax, eax
cmove eax, edx
mov dword [esp], eax
mov eax, dword [ebp - 0x10164]
call eax
cmp eax, 1
mov eax, 1
sbb eax, 0xffffffff
mov dword [ebp - 0x10188], eax
mov ebx, str.image
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x660d3670
mov eax, dword [ebp - 0x1016c]
mov esi, dword [sym.imp.msvcrt.dll__assert]
sub ebx, str.image
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1015c], eax
test eax, eax
je 0x660d3490
mov edi, dword [ebp - 0x1015c]
mov edx, dword [edi]
test edx, edx
je 0x660d372c
lea esi, [esi]
nop
mov ecx, dword [edi + 8]
cmp ebx, ecx
jne 0x660d36f8
lea eax, [edx + ebx]
cmp edx, eax
jae 0x660d3730
mov dword [ebp - 0x1015c], ebx
xor eax, eax
jmp 0x660d36db
add eax, 1
cmp ecx, eax
je 0x660d429f
movzx ebx, byte [eax + str.image]
cmp byte [edx + eax], bl
je 0x660d36d0
mov ebx, dword [ebp - 0x1015c]
mov dword [ebp - 0x1015c], edi
lea esi, [esi]
nop
mov eax, dword [ebp - 0x1015c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x660d412a
mov eax, dword [ebp - 0x1015c]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x1015c], eax
test eax, eax
je 0x660d3490
mov edi, dword [ebp - 0x1015c]
mov edx, dword [edi]
test edx, edx
jne 0x660d36b0
test ebx, ebx
jne 0x660d36f8
mov eax, dword [ebp - 0x1015c]
mov ecx, str.name
lea esi, [esi]
nop
add ecx, 1
cmp byte [ecx], 0
jne 0x660d3740
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x1015c], eax
sub ecx, str.name
test ebx, ebx
je 0x660d37bd
mov edi, eax
lea esi, [esi]
mov edx, dword [ebx]
test edx, edx
je 0x660d3880
mov esi, dword [ebx + 8]
cmp ecx, esi
jne 0x660d37b0
lea eax, [edx + ecx]
cmp edx, eax
jae 0x660d3888
mov dword [ebp - 0x1015c], ecx
xor eax, eax
jmp 0x660d379b
add eax, 1
cmp esi, eax
je 0x660d3de8
movzx ecx, byte [eax + str.name]
cmp byte [edx + eax], cl
je 0x660d3790
mov ecx, dword [ebp - 0x1015c]
lea esi, [esi]
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x660d3760
mov dword [ebp - 0x1015c], edi
mov eax, dword [ebp - 0x10118]
mov dword [esp + 4], str.Texture_missing_name__s
mov dword [esp], 0x661e005d
mov dword [esp + 8], eax
call dword [0x661dc034]
mov eax, dword [ebp - 0x1015c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x660d39d2
mov eax, dword [ebp - 0x1015c]
mov ecx, str.image
lea esi, [esi]
nop
add ecx, 1
cmp byte [ecx], 0
jne 0x660d3800
mov eax, dword [eax + 0x2c]
sub ecx, str.image
test eax, eax
je 0x660d3490
mov esi, eax
mov edx, dword [esi]
test edx, edx
je 0x660d386b
lea esi, [esi]
mov ebx, dword [esi + 8]
cmp ecx, ebx
jne 0x660d3858
lea eax, [edx + ecx]
cmp edx, eax
jae 0x660d3870
xor eax, eax
mov edi, ecx
jmp 0x660d3847
add eax, 1
cmp ebx, eax
je 0x660d3870
movzx ecx, byte [eax + str.image]
cmp byte [edx + eax], cl
je 0x660d3840
mov ecx, edi
lea esi, [esi]
mov eax, dword [esi + 0x2c]
mov esi, eax
test eax, eax
je 0x660d3490
mov edx, dword [esi]
test edx, edx
jne 0x660d3828
test ecx, ecx
jne 0x660d3858
nop
mov dword [ebp - 0x1015c], esi
jmp 0x660d3730
test ecx, ecx
jne 0x660d37b0
mov eax, edi
mov edi, str.imgrect
nop
add edi, 1
cmp byte [edi], 0
jne 0x660d3890
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x1015c], eax
sub edi, str.imgrect
test esi, esi
je 0x660d43af
nop
mov edx, dword [esi]
test edx, edx
je 0x660d39f8
mov ecx, dword [esi + 8]
cmp edi, ecx
jne 0x660d38f5
lea eax, [edx + edi]
cmp edx, eax
jae 0x660d3907
mov dword [ebp - 0x10160], ebx
xor eax, eax
jmp 0x660d38e3
add eax, 1
cmp ecx, eax
je 0x660d3e00
movzx ebx, byte [eax + str.imgrect]
cmp byte [edx + eax], bl
je 0x660d38d8
mov ebx, dword [ebp - 0x10160]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x660d3a0b
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x660d38b0
mov eax, dword [ebp - 0x1015c]
mov edi, dword [eax + 0x18]
mov edx, eax
mov eax, str.uvrect
lea esi, [esi]
nop
add eax, 1
cmp byte [eax], 0
jne 0x660d3920
sub eax, str.uvrect
mov dword [ebp - 0x1015c], edx
mov dword [ebp - 0x10160], eax
test edi, edi
je 0x660d39a2
lea esi, [esi]
mov edx, dword [edi]
test edx, edx
je 0x660d3a30
mov ecx, dword [edi + 8]
mov eax, dword [ebp - 0x10160]
cmp eax, ecx
jne 0x660d3990
add eax, edx
cmp edx, eax
jae 0x660d3a40
mov dword [ebp - 0x10168], ebx
xor eax, eax
jmp 0x660d397b
add eax, 1
cmp ecx, eax
je 0x660d3e10
movzx ebx, byte [eax + str.uvrect]
cmp byte [edx + eax], bl
je 0x660d3970
mov ebx, dword [ebp - 0x10168]
lea esi, [esi]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x660d3dc0
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x660d3940
mov eax, dword [ebp - 0x10118]
mov dword [esp + 4], str.Texture_missing_dimensions__s
mov dword [esp], 0x661e005d
mov dword [esp + 8], eax
call dword [0x661dc034]
mov eax, dword [ebp - 0x1015c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x660d37ed
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x660d37ed
test edi, edi
je 0x660d3907
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x660d3900
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x660d3900
mov eax, dword [ebp - 0x10160]
test eax, eax
jne 0x660d3990
nop
test esi, esi
je 0x660d39a2
mov eax, dword [esi + 4]
mov edx, 0x661dde98
lea ecx, [ebp - 0x1014a]
mov dword [esp + 4], str._hu__hu__hu__hu
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x1014c]
test eax, eax
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x1014e]
cmove eax, edx
lea edx, [ebp - 0x10150]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.660cb7b0
lea eax, [ebp - 0x100ac]
mov byte [ebp - 0x100ac], 0
lea edi, [ebp - 0x100b4]
mov dword [ebp - 0x10174], eax
mov dword [ebp - 0x100b4], eax
lea eax, [ebp - 0x10094]
mov byte [ebp - 0x10094], 0
mov byte [ebp - 0x10074], 0
mov esi, dword [ebx + 4]
mov dword [ebp - 0x1009c], eax
lea eax, [ebp - 0x10074]
mov dword [ebp - 0x1007c], eax
test esi, esi
mov eax, 0x661dde98
mov dword [ebp - 0x100b0], 0
cmove esi, eax
mov dword [ebp - 0x10098], 0
mov dword [esp], esi
mov dword [ebp - 0x10078], 0
call sub.msvcrt.dll_strlen
mov dword [esp + 8], esi
mov ecx, edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x10160], edi
call fcn.661ada90
mov eax, dword [ebx + 4]
sub esp, 0x10
mov edx, 0x661dde98
lea esi, [ebp - 0x100e8]
mov dword [esp], esi
test eax, eax
cmove eax, edx
mov dword [esp + 4], eax
call fcn.660cb090
mov ecx, dword [ebp - 0x100e8]
lea edi, [ebp - 0x100e0]
mov eax, dword [ebp - 0x1009c]
mov edx, dword [ebp - 0x100e4]
cmp ecx, edi
je 0x660d4261
mov ebx, dword [ebp - 0x100e0]
mov dword [ebp - 0x10168], ebx
lea ebx, [ebp - 0x10094]
cmp eax, ebx
je 0x660d42aa
mov dword [ebp - 0x10098], edx
mov edx, dword [ebp - 0x10168]
mov ebx, dword [ebp - 0x10094]
mov dword [ebp - 0x1009c], ecx
mov dword [ebp - 0x10094], edx
test eax, eax
je 0x660d42c2
mov dword [ebp - 0x100e8], eax
mov dword [ebp - 0x100e0], ebx
mov dword [ebp - 0x100e4], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x100e8]
cmp eax, edi
je 0x660d3be3
mov edx, dword [ebp - 0x100e0]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.661cddb0
mov eax, dword [ebp - 0x10188]
lea ecx, [ebp - 0x1007c]
mov dword [ebp - 0x10084], eax
mov eax, dword [ebp - 0x10190]
mov dword [ebp - 0x10080], eax
mov eax, dword [ebp - 0x10184]
mov dword [esp], eax
call fcn.661b0220
movzx ecx, word [ebp - 0x10150]
movzx eax, word [ebp - 0x1014e]
sub esp, 4
mov dword [ebp - 0x100e8], edi
mov ebx, dword [ebp - 0x10144]
sub eax, ecx
movzx ecx, word [ebp - 0x1014c]
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x10064], eax
movzx eax, word [ebp - 0x1014a]
sub eax, ecx
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x10060], eax
mov eax, dword [ebp - 0x10148]
mov edx, eax
mov dword [ebp - 0x10168], eax
add edx, ebx
je 0x660d3c76
test eax, eax
je 0x660d477c
mov dword [ebp - 0x10100], ebx
cmp ebx, 0xf
ja 0x660d4158
cmp ebx, 1
jne 0x660d4148
mov eax, dword [ebp - 0x10168]
movzx eax, byte [eax]
mov byte [ebp - 0x100e0], al
mov eax, edi
mov dword [ebp - 0x100e4], ebx
mov byte [eax + ebx], 0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x100e4]
cmp eax, 4
jbe 0x660d4770
mov dword [esp + 4], 5
mov ecx, esi
mov dword [esp], str._tex_
call fcn.661b0180
mov eax, dword [ebp - 0x10098]
sub esp, 8
mov ecx, esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1009c]
mov dword [esp], eax
call fcn.661b0180
lea esi, [ebp - 0x100f8]
lea edx, [eax + 8]
sub esp, 8
mov dword [ebp - 0x10100], esi
mov ecx, dword [eax]
cmp ecx, edx
je 0x660d42d5
mov dword [ebp - 0x10100], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x100f8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x100fc], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov byte [eax + 8], 0
mov eax, dword [ebp - 0x100e8]
cmp eax, edi
je 0x660d3d50
mov esi, dword [ebp - 0x100e0]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov dword [esp], 0x662382e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x66238300]
sub esp, 4
test ebx, ebx
je 0x660d40cd
mov esi, 0x662382fc
lea esi, [esi]
nop
mov eax, dword [ebp - 0x10100]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
mov eax, dword [ebp - 0x10164]
call eax
mov edx, eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
test edx, edx
js 0x660d3db0
test eax, eax
je 0x660d3e1d
mov esi, ebx
mov ebx, eax
jmp 0x660d3d78
test ecx, ecx
je 0x660d3e1b
mov eax, ecx
mov ebx, eax
jmp 0x660d3d78
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x660d399b
mov dword [ebp - 0x1015c], edi
mov eax, edi
mov edi, str.imgrect
jmp 0x660d3890
mov ebx, dword [ebp - 0x10160]
jmp 0x660d3907
mov ebx, dword [ebp - 0x10168]
jmp 0x660d3a40
mov ebx, esi
cmp ebx, 0x662382fc
je 0x660d40d8
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10100]
mov dword [esp], eax
mov eax, dword [ebp - 0x10164]
call eax
test eax, eax
js 0x660d40d8
mov eax, dword [ebp - 0x10160]
lea ecx, [ebx + 0x28]
mov dword [esp], eax
call fcn.661b0220
sub esp, 4
lea eax, [ebp - 0x1009c]
lea ecx, [ebx + 0x40]
mov dword [esp], eax
call fcn.661b0220
mov eax, dword [ebp - 0x10080]
mov edx, dword [ebp - 0x10084]
sub esp, 4
lea ecx, [ebx + 0x60]
mov dword [ebx + 0x5c], eax
lea eax, [ebp - 0x1007c]
mov dword [ebx + 0x58], edx
mov dword [esp], eax
call fcn.661b0220
mov eax, dword [ebp - 0x10060]
mov edx, dword [ebp - 0x10064]
sub esp, 4
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x7c], eax
mov dword [esp], 0x662382e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x100b0]
sub esp, 4
mov dword [esp + 8], 0xc70f6907
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x100b4]
mov dword [esp], eax
call fcn.661c6e00
mov esi, dword [ebp - 0x100cc]
xor edx, edx
mov edi, dword [ebp - 0x100d0]
mov dword [ebp - 0x10180], eax
div esi
mov dword [ebp - 0x1018c], edi
mov dword [ebp - 0x10168], esi
lea edi, [edi + edx*4]
mov dword [ebp - 0x10160], edx
mov dword [ebp - 0x10194], edi
mov edi, dword [edi]
mov dword [ebp - 0x10178], edi
test edi, edi
je 0x660d4032
mov edx, dword [ebp - 0x100b4]
mov ebx, dword [edi]
mov dword [ebp - 0x10198], edx
mov edx, dword [ebp - 0x100b0]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x1017c], edx
test edx, edx
je 0x660d41b7
mov edx, dword [ebp - 0x1015c]
mov dword [ebp - 0x1015c], esi
mov dword [ebp - 0x1019c], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10180]
cmp ebx, ecx
je 0x660d3f8b
lea esi, [esi]
mov esi, dword [edx]
test esi, esi
je 0x660d42fe
mov ecx, dword [esi + 0x1c]
mov edi, edx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x1015c]
cmp dword [ebp - 0x10160], edx
jne 0x660d42fe
mov edx, esi
cmp ebx, ecx
jne 0x660d3f60
mov eax, dword [ebp - 0x1017c]
cmp eax, dword [edx + 8]
jne 0x660d3f60
mov dword [esp + 8], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x10180], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10198]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov edx, dword [ebp - 0x10180]
test eax, eax
jne 0x660d3f60
mov eax, dword [ebp - 0x1019c]
mov ebx, edx
mov ecx, dword [ebx]
mov dword [ebp - 0x1015c], eax
cmp edi, dword [ebp - 0x10178]
je 0x660d420a
test ecx, ecx
je 0x660d3ffd
mov eax, dword [ecx + 0x1c]
xor edx, edx
div dword [ebp - 0x10168]
cmp dword [ebp - 0x10160], edx
je 0x660d3ffd
mov eax, dword [ebp - 0x1018c]
mov dword [eax + edx*4], edi
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
lea edx, [ebx + 0xc]
mov dword [edi], ecx
cmp eax, edx
je 0x660d401b
mov esi, dword [ebx + 0xc]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov dword [esp + 4], 0x20
mov dword [esp], ebx
call fcn.661cddb0
sub dword [ebp - 0x100c4], 1
mov eax, dword [ebp - 0x10100]
lea esi, [ebp - 0x100f8]
cmp eax, esi
je 0x660d4057
mov esi, dword [ebp - 0x100f8]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov eax, dword [ebp - 0x1007c]
lea esi, [ebp - 0x10074]
cmp eax, esi
je 0x660d407c
mov esi, dword [ebp - 0x10074]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov eax, dword [ebp - 0x1009c]
lea esi, [ebp - 0x10094]
cmp eax, esi
je 0x660d40a1
mov esi, dword [ebp - 0x10094]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
mov eax, dword [ebp - 0x100b4]
cmp eax, dword [ebp - 0x10174]
je 0x660d37dc
mov esi, dword [ebp - 0x100ac]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.661cddb0
jmp 0x660d37dc
mov ebx, 0x662382fc
lea esi, [esi]
lea eax, [ebp - 0x10100]
mov dword [esp], ebx
mov ecx, 0x662382f8
mov dword [ebp - 0x10154], eax
lea eax, [ebp - 0x10154]
mov dword [esp + 4], eax
call fcn.660cc180
sub esp, 8
mov ebx, eax
jmp 0x660d3e49
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call dword [sym.imp.msvcrt.dll__assert]
jmp 0x660d35ab
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call esi
jmp 0x660d3709
mov eax, edi
test ebx, ebx
je 0x660d3c9f
jmp 0x660d4185
lea eax, [ebp - 0x10100]
mov dword [esp + 4], 0
mov ecx, esi
mov dword [esp], eax
call fcn.661b02e0
mov edx, dword [ebp - 0x10100]
mov dword [ebp - 0x100e8], eax
sub esp, 8
mov dword [ebp - 0x100e0], edx
mov edx, dword [ebp - 0x10168]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x10100]
mov eax, dword [ebp - 0x100e8]
jmp 0x660d3c9f
mov ebx, dword [ebp - 0x1015c]
jmp 0x660d360c
mov eax, ebx
mov ebx, dword [ebp - 0x10180]
cmp ecx, ebx
je 0x660d41f3
lea esi, [esi]
nop
mov esi, dword [eax]
test esi, esi
je 0x660d4032
mov ecx, dword [esi + 0x1c]
mov edi, eax
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10168]
cmp dword [ebp - 0x10160], edx
jne 0x660d4032
mov eax, esi
cmp ecx, ebx
jne 0x660d41c8
mov esi, dword [eax + 8]
test esi, esi
jne 0x660d41c8
mov ebx, eax
mov ecx, dword [ebx]
cmp edi, dword [ebp - 0x10178]
jne 0x660d3fdb
test ecx, ecx
je 0x660d423c
mov eax, dword [ecx + 0x1c]
xor edx, edx
div dword [ebp - 0x10168]
cmp dword [ebp - 0x10160], edx
je 0x660d3ffd
mov eax, dword [ebp - 0x1018c]
mov dword [eax + edx*4], edi
mov eax, dword [ebp - 0x10194]
mov eax, dword [eax]
mov dword [ebp - 0x10178], eax
lea eax, [ebp - 0x100c8]
cmp dword [ebp - 0x10178], eax
je 0x660d4426
mov eax, dword [ebp - 0x10194]
mov dword [eax], 0
mov ecx, dword [ebx]
jmp 0x660d3ffd
test edx, edx
je 0x660d428a
cmp edx, 1
je 0x660d440c
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x100e4]
mov eax, dword [ebp - 0x1009c]
mov dword [ebp - 0x10098], edx
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x100e8]
jmp 0x660d3bb7
mov dword [ebp - 0x1015c], edi
jmp 0x660d3730
mov eax, dword [ebp - 0x10168]
mov dword [ebp - 0x1009c], ecx
mov dword [ebp - 0x10098], edx
mov dword [ebp - 0x10094], eax
mov dword [ebp - 0x100e8], edi
lea edi, [ebp - 0x100e0]
mov eax, edi
jmp 0x660d3bb7
mov ecx, dword [eax + 8]
mov dword [ebp - 0x100f8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x100f4], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x100f0], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x100ec], ecx
jmp 0x660d3d1b
mov eax, dword [ebp - 0x1019c]
mov dword [ebp - 0x1015c], eax
jmp 0x660d4032
test ebx, ebx
jne 0x660d3141
mov eax, dword [edx + 4]
mov edx, 0x661dde98
mov dword [esp + 4], str.avslz
test eax, eax
cmove eax, edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__stricmp]
cmp eax, 1
mov eax, 1
sbb eax, 0xffffffff
mov dword [ebp - 0x10190], eax
jmp 0x660d3152
test ebx, ebx
je 0x660d33f6
mov eax, dword [ebp - 0x1016c]
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x660d31ea
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call esi
jmp 0x660d31ea
mov dword [esp + 8], 0x3ee
mov dword [esp + 4], str..._src_3rd_party_rapidxml.hpp
mov dword [esp], str.this__m_parent
call esi
jmp 0x660d3001
mov dword [ebp - 0x10188], 0
jmp 0x660d366a
xor edi, edi
mov edx, eax
jmp 0x660d3912
lea eax, [ebp - 0x1005c]
mov dword [esp + 4], 0
lea edi, [ebp - 0x10118]
mov dword [esp], eax
mov ecx, edi
call fcn.661b02e0
mov edx, dword [ebp - 0x1005c]
mov dword [ebp - 0x10118], eax
sub esp, 8
mov dword [ebp - 0x10110], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x1005c]
mov eax, dword [ebp - 0x10118]
jmp 0x660d2eeb
movzx edx, byte [ebp - 0x100e0]
mov byte [eax], dl
mov edx, dword [ebp - 0x100e4]
mov eax, dword [ebp - 0x1009c]
jmp 0x660d428a
mov dword [ebp - 0x100c8], ecx
jmp 0x660d424e
mov eax, dword [ebp - 0x1012c]
lea esi, [ebp - 0x100e8]
lea edi, [ebp - 0x100e0]
mov dword [ebp - 0x100e4], 0
mov ecx, esi
mov dword [ebp - 0x100e8], edi
add eax, 0x13
mov byte [ebp - 0x100e0], 0
mov dword [esp], eax
call fcn.661affe0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x100e4]
sub esp, 4
cmp eax, 0x12
jbe 0x660d46c3
mov dword [esp + 4], 0x13
mov ecx, esi
mov dword [esp], str.._data_mods__cache_
call fcn.661b0180
mov eax, dword [ebp - 0x1012c]
sub esp, 8
mov ecx, esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10130]
mov dword [esp], eax
call fcn.661b0180
sub esp, 8
mov dword [esp], esi
call fcn.660d7610
test al, al
jne 0x660d44d5
mov dword [esp + 4], str.Couldnt_create_cache_folder
mov dword [esp], 0x661e005d
call dword [0x661dc034]
mov esi, dword [ebp - 0x100e8]
lea eax, [ebp - 0x100ac]
mov ebx, dword [ebp - 0x100e4]
mov dword [ebp - 0x10174], eax
mov dword [ebp - 0x100b4], eax
mov eax, esi
add eax, ebx
je 0x660d4501
test esi, esi
je 0x660d469f
mov dword [ebp - 0x10100], ebx
cmp ebx, 0xf
ja 0x660d466c
cmp ebx, 1
jne 0x660d463d
movzx eax, byte [esi]
mov byte [ebp - 0x100ac], al
mov eax, dword [ebp - 0x10174]
mov dword [ebp - 0x100b0], ebx
mov byte [eax + ebx], 0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x100b0]
cmp eax, 0xf
jbe 0x660d46b7
mov dword [esp + 4], 0x10
lea eax, [ebp - 0x100b4]
mov dword [esp], str._texturelist.xml
mov ecx, eax
mov esi, eax
mov dword [ebp - 0x10160], eax
call fcn.661b0180
sub esp, 8
lea eax, [ebp - 0x1005c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.660d1180
mov eax, dword [ebp + 8]
cmp byte [eax + 0x4c], 0
lea ecx, [eax + 0x34]
je 0x660d45e7
mov eax, dword [ebp - 0x10160]
mov dword [esp], eax
call fcn.661b0220
sub esp, 4
mov edx, dword [ebp - 0x100b4]
cmp edx, dword [ebp - 0x10174]
je 0x660d45bf
mov eax, dword [ebp - 0x100ac]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
mov edx, dword [ebp - 0x100e8]
cmp edx, edi
je 0x660d326d
mov eax, dword [ebp - 0x100e0]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
jmp 0x660d326d
mov esi, eax
add eax, 0x3c
mov ebx, dword [ebp - 0x100b0]
mov dword [esi + 0x34], eax
mov esi, dword [ebp - 0x100b4]
mov edx, esi
add edx, ebx
je 0x660d4609
test esi, esi
je 0x660d46ab
mov dword [ebp - 0x10100], ebx
cmp ebx, 0xf
ja 0x660d46f9
cmp ebx, 1
jne 0x660d46d0
movzx edx, byte [esi]
mov esi, dword [ebp + 8]
mov byte [esi + 0x3c], dl
mov esi, dword [ebp + 8]
mov dword [esi + 0x38], ebx
mov byte [eax + ebx], 0
mov byte [esi + 0x4c], 1
jmp 0x660d459c
mov eax, dword [ebp - 0x10174]
test ebx, ebx
je 0x660d4528
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x10100]
mov eax, dword [ebp - 0x100b4]
jmp 0x660d4528
lea eax, [ebp - 0x10100]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x100b4]
mov dword [esp], eax
call fcn.661b02e0
mov edx, dword [ebp - 0x10100]
mov dword [ebp - 0x100b4], eax
sub esp, 8
mov dword [ebp - 0x100ac], edx
jmp 0x660d464b
mov dword [esp], 0x661dffe4
call fcn.661d32b0
mov dword [esp], 0x661dffe4
call fcn.661d32b0
mov dword [esp], 0x661e000e
call fcn.661d33a0
mov dword [esp], 0x661e000e
call fcn.661d33a0
nop
test ebx, ebx
je 0x660d462a
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x10100]
mov eax, dword [eax + 0x34]
jmp 0x660d462a
lea eax, [ebp - 0x10100]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.661b02e0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
sub esp, 8
mov dword [edx + 0x34], eax
mov edx, dword [ebp - 0x10100]
mov dword [ecx + 0x3c], edx
jmp 0x660d46d8
lea edi, [ebp - 0x10148]
mov dword [ebp - 0x101a0], edi
jmp 0x660d2eb6
lea edi, [ebp - 0x10130]
mov dword [ebp - 0x10184], edi
jmp 0x660d2e5c
mov dword [esp], 0x661dffe4
call fcn.661d32b0
mov dword [esp], 0x661dffe4
call fcn.661d32b0
mov dword [esp], 0x661dffe4
call fcn.661d32b0
lea esi, [esi]
mov dword [esp], 0x661e000e
call fcn.661d33a0
mov dword [esp], 0x661dffe4
call fcn.661d32b0
mov ebx, eax
jmp 0x661d04c5
mov edx, dword [ebp - 0x100e8]
cmp edx, edi
jne 0x661d05ca
mov ecx, dword [ebp - 0x10160]
call fcn.661327f0
mov edi, dword [ebp - 0x100c8]
test edi, edi
jne 0x661d0612
mov eax, dword [ebp - 0x100cc]
mov dword [esp + 4], 0
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100d0]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x100d0]
lea ecx, [ebp - 0x100b8]
mov dword [ebp - 0x100c4], 0
mov dword [ebp - 0x100c8], 0
mov eax, dword [ebp - 0x100cc]
cmp edx, ecx
je 0x661d0548
shl eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.661cddb0
lea ecx, [ebp - 0x1002c]
call fcn.66132a10
mov edx, dword [ebp - 0x10118]
lea eax, [ebp - 0x10110]
cmp edx, eax
je 0x661d0578
mov eax, dword [ebp - 0x10110]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
mov edx, dword [ebp - 0x10130]
lea eax, [ebp - 0x10128]
cmp edx, eax
je 0x661d059d
mov eax, dword [ebp - 0x10128]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
mov edx, dword [ebp - 0x10148]
lea eax, [ebp - 0x10140]
cmp edx, eax
je 0x661d05c2
mov eax, dword [ebp - 0x10140]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
mov dword [esp], ebx
call fcn.66116c90
mov eax, dword [ebp - 0x100e0]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
jmp 0x661d04d3
mov edx, dword [edi + 4]
lea eax, [edi + 0xc]
mov esi, dword [edi]
cmp edx, eax
je 0x661d0630
mov eax, dword [edi + 0xc]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.661cddb0
mov dword [esp], edi
mov edi, esi
mov dword [esp + 4], 0x20
call fcn.661cddb0
jmp 0x661d04e4