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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
lea esi, [edx + 0xc]
mov dword [esp + 0x78], ecx
call 0x4de36b
pop eax
lea ecx, [edx + 0x18]
mov edi, edx
mov dword [esp + 0x20], esi
mov esi, 0x800013
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], ecx
jmp 0x4de39a
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
cmp byte [edi + 0x3c], 0
je 0x4de3c0
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4de428
jmp 0x4de46b
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4de3f6
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
call fcn.00551930
movzx eax, byte [esp + 0x28]
cmp eax, 4
je 0x4de45c
cmp eax, 5
je 0x4dfc7b
mov ebx, dword [esp + 0x28]
cmp bl, 4
je 0x4de416
jmp 0x4dfc6f
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4de413
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4de46b
bt esi, ecx
jae 0x4de46b
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4de39a
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4de390
mov ecx, dword [esp + 0x20]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
jmp 0x4de390
mov bh, byte [esp + 0x29]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4de409
jmp 0x4de413
cmp eax, 0x5b
jne 0x4dfc4b
dec byte [edi + 0x40]
je 0x4dfc65
mov byte [edi + 0x3c], 0
mov esi, dword [esp + 0x5c]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4de4ae
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4de4a3
mov ecx, dword [esp + 0x20]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x5b
inc eax
mov dword [edi + 0x14], eax
mov al, 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 4
mov dword [esp + 0x88], 0
mov dword [esp + 0x14], eax
jmp 0x4de4ea
cmp byte [edi + 0x3c], 0
je 0x4de540
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4de5ac
mov eax, dword [ecx*4 + 0x4dfe04]
add eax, esi
jmp eax
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4de576
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
call fcn.00551930
movzx eax, byte [esp + 0x28]
cmp eax, 4
je 0x4de5ca
cmp eax, 5
je 0x4dfc9f
mov ebx, dword [esp + 0x28]
cmp bl, 4
je 0x4de596
jmp 0x4dfc97
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4de593
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4de502
cmp eax, 0x5d
je 0x4dfba9
cmp byte [esp + 0x14], 0
je 0x4dfdcf
cmp bh, 0x5d
jne 0x4de5e4
jmp 0x4dfdc2
mov bh, byte [esp + 0x29]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4de589
jmp 0x4de593
mov al, 1
jmp 0x4de5fe
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
movzx eax, byte [edi + 0x3c]
test al, al
je 0x4de620
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4de68c
jmp 0x4de6d6
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4de65a
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
call fcn.00551930
movzx eax, byte [esp + 0x28]
cmp eax, 4
je 0x4de6c7
cmp eax, 5
je 0x4dfc41
mov ebx, dword [esp + 0x28]
cmp bl, 4
je 0x4de67a
jmp 0x4dfc39
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4de677
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4de6d6
mov edx, 0x800013
bt edx, ecx
jae 0x4de6d6
mov byte [edi + 0x3c], 0
xor eax, eax
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4de5fe
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4de5f0
mov ecx, dword [esp + 0x20]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
jmp 0x4de5f0
mov bh, byte [esp + 0x29]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4de66d
jmp 0x4de677
cmp bh, 0x5b
je 0x4debe6
cmp eax, 0x7b
jne 0x4dfddc
dec byte [edi + 0x40]
je 0x4dfdb5
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4de71e
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4de713
mov ecx, dword [esp + 0x20]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x7b
inc eax
mov dword [edi + 0x14], eax
mov al, 1
mov cl, 2
mov ebx, 0x80000000
mov dword [esp + 0xb0], 0
mov dword [esp + 0x68], 0x80000001
mov dword [esp + 0x10], 0x80000001
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], cl
mov byte [esp + 0x1c], al
mov dword [esp + 0x14], ebx
jmp 0x4de76a
cmp byte [edi + 0x3c], 0
je 0x4de7c0
mov bh, byte [edi + 0x3d]
mov edx, dword [esp + 0x7c]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4de83a
mov eax, dword [ecx*4 + 0x4dfe94]
add eax, esi
jmp eax
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4de7fa
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
call fcn.00551930
movzx eax, byte [esp + 0x28]
cmp eax, 4
je 0x4de806
cmp eax, 5
je 0x4df276
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x7c]
cmp bl, 4
je 0x4de824
jmp 0x4df19c
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
jmp 0x4de80a
mov bh, byte [esp + 0x29]
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x7c]
inc eax
cmp bh, 0xa
jne 0x4de821
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4de786
cmp eax, 0x7d
je 0x4ded32
test byte [esp + 0x1c], 1
jne 0x4df3e5
cmp bh, 0x22
jne 0x4df2f2
mov byte [edi + 0x3c], 0
mov ebx, dword [esp + 0x14]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4de888
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4de87d
mov ecx, dword [esp + 0x20]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x22
inc eax
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x20]
mov dword [edi + 8], 0
lea ecx, [esp + 0x28]
push edi
call fcn.0055a7b0
add esp, 4
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], 2
je 0x4df0e7
lea ecx, [esp + 0x60]
mov edx, eax
push dword [esp + 0x30]
call fcn.0054b7e0
add esp, 4
cmp byte [esp + 0x60], 0
jne 0x4df0e3
movzx eax, byte [esp + 0x61]
cmp eax, 4
jbe 0x4de93b
mov ecx, edi
call fcn.00406f10
test eax, eax
jne 0x4df0e7
mov ecx, edi
call fcn.004021f0
test eax, eax
mov byte [esp + 0x1c], 1
je 0x4de76a
jmp 0x4df10a
mov eax, dword [eax*4 + 0x4dff24]
add eax, esi
jmp eax
dec byte [edi + 0x40]
je 0x4dfdb5
mov byte [edi + 0x3c], 0
lea esi, [esp + 0x28]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4dec20
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4dec15
mov ecx, dword [esp + 0x20]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x5b
inc eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x8c], edi
mov byte [esp + 0x90], 1
jmp 0x4dec4a
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
cmp byte [edi + 0x3c], 0
je 0x4dec70
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4decda
jmp 0x4ded22
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4deca8
mov edx, dword [esp + 0x6c]
mov ecx, esi
call fcn.00551930
movzx eax, byte [esp + 0x28]
cmp eax, 4
je 0x4ded13
cmp eax, 5
je 0x4df259
mov ebx, dword [esp + 0x28]
cmp bl, 4
je 0x4decc8
jmp 0x4df251
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4decc5
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4ded22
mov edx, 0x800013
bt edx, ecx
jae 0x4ded22
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4dec4a
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4dec40
mov ecx, dword [esp + 0x20]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
jmp 0x4dec40
mov bh, byte [esp + 0x29]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4decbb
jmp 0x4decc5
cmp eax, 0x5d
jne 0x4dedc4
mov bl, 2
jmp 0x4dede1
test byte [esp + 0x18], 1
mov eax, 0
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0xac]
cmovne eax, dword [esp + 0xa4]
cmp esi, 0x80000001
cmovne ecx, dword [esp + 0xa0]
cmovne edx, dword [esp + 0xf0]
sete bl
mov dword [esp + 0x74], eax
mov eax, 0x80000000
cmove esi, eax
cmp dword [esp + 0x14], 0x80000000
mov dword [esp + 0xac], ecx
mov dword [esp + 0x7c], edx
je 0x4df1b1
mov ebx, dword [esp + 0x10]
and byte [esp + 0x24], 1
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ecx
mov dword [esp + 0xfc], edx
cmp ebx, 0x80000001
cmove ebx, eax
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x94]
jmp 0x4df550
mov ecx, esi
mov edx, edi
mov byte [esp + 0x90], 0
call fcn.00517680
cmp byte [esp + 0x28], 0
jne 0x4dee0e
movzx ebx, byte [esp + 0x29]
mov ecx, esi
lea edx, [esp + 0x8c]
call fcn.0040e9f0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4dee52
cmp eax, 1
jne 0x4dee0e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jmp 0x4dee5a
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov ebx, 0x80000000
jmp 0x4df8db
mov dword [esp + 0x1c], 0
mov ecx, esi
lea edx, [esp + 0x8c]
call fcn.00413bc0
mov eax, dword [esp + 0x28]
cmp eax, 0x80000002
je 0x4defab
cmp eax, 0x80000001
je 0x4df2af
mov esi, dword [esp + 0x8c]
movsd xmm0, qword [esp + 0x2c]
mov dword [esp + 0x18], eax
and bl, 1
mov byte [esp + 0x24], bl
lea eax, [esi + 0xc]
lea ecx, [esi + 0x18]
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x4deeca
cmp byte [esi + 0x3c], 0
je 0x4deef0
mov bh, byte [esi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4def60
jmp 0x4df00b
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x24], eax
jne 0x4def2a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.00551930
movzx eax, byte [esp + 0x28]
cmp eax, 4
je 0x4def9c
cmp eax, 5
je 0x4df32d
mov ebx, dword [esp + 0x28]
cmp bl, 4
je 0x4def4a
jmp 0x4df321
mov ecx, dword [esi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4def47
add dword [esi + 0x38], eax
inc dword [esi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4df00b
mov eax, dword [ecx*4 + 0x4dff38]
add eax, dword [esp + 0x5c]
jmp eax
mov bh, byte [esp + 0x29]
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
je 0x4def3d
jmp 0x4def47
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
test edx, edx
mov dword [esp + 0xc], eax
jne 0x4df8c4
mov ebx, 0x80000000
jmp 0x4df8db
cmp eax, 0x5d
je 0x4df33a
cmp byte [esp + 0x90], 0
je 0x4df307
mov byte [esp + 0x90], 0
cmp bh, 0x5d
je 0x4df2cb
lea ebx, [esp + 0x28]
mov edx, esi
mov ecx, ebx
call fcn.0041ca70
mov eax, dword [esp + 0x28]
cmp eax, 0x80000000
jne 0x4df06a
mov eax, dword [esp + 0x2c]
test dword [esp + 0x18], 0x7fffffff
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
je 0x4df8b8
jmp 0x4dfb66
mov ecx, ebx
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00414df0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000002
je 0x4df131
cmp ecx, 0x80000001
je 0x4df387
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
movaps xmm0, xmmword [esp + 0xb0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xf4], edx
movaps xmmword [esp + 0x160], xmm0
mov dword [esp + 0x74], eax
jmp 0x4df8db
mov eax, dword [esp + 0x64]
mov cl, 1
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], 0
cmp esi, 0x80000002
mov dword [esp + 0xc], eax
jge 0x4df41d
jmp 0x4df43e
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov cl, 1
cmp esi, 0x80000002
mov dword [esp + 0xc], eax
jge 0x4df41d
jmp 0x4df43e
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
test esi, esi
mov dword [esp + 0xc], eax
je 0x4df3ae
mov eax, dword [esp + 0x24]
mov ebx, esi
lea esi, [eax + 0x3c]
jmp 0x4df15a
add esi, 0x48
dec ebx
je 0x4df3ae
lea ecx, [esi - 0x2c]
call fcn.0054d850
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4df17d
cmp dword [esi - 8], 0
je 0x4df17d
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi - 4]
cmp eax, 0x80000000
je 0x4df150
test eax, eax
je 0x4df150
push dword [esi]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4df150
movzx eax, bl
lea ecx, [esp + 0x28]
cmp eax, 5
je 0x4df27a
jmp 0x4df237
mov ecx, str.primitivesattributesmaterialmodetargetsPOSITIONNORMALTANGENTinternal_error:_entered_unreachable_code_home_rafalh_.cargo_registry_src_index.crates.io_6f17d22bba15001f_gltf_1.0.0_src_mesh_mod.rs
mov edx, 0xa
mov byte [esp + 0x1c], bl
call fcn.0055a6b0
test esi, 0x7fffffff
je 0x4df1e4
push dword [esp + 0xac]
push 0
push dword [0x5920d8]
mov esi, eax
call sub.KERNEL32.dll_HeapFree
mov eax, esi
mov ecx, dword [esp + 0x74]
mov ebx, 0x80000000
test ecx, ecx
je 0x4df20d
cmp dword [esp + 0x98], 0
je 0x4df20d
push ecx
push 0
push dword [0x5920d8]
mov esi, eax
call sub.KERNEL32.dll_HeapFree
mov eax, esi
mov esi, dword [esp + 0x10]
movzx ecx, byte [esp + 0x1c]
cmp esi, 0x80000002
mov dword [esp + 0xc], eax
jge 0x4df41d
jmp 0x4df43e
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
call fcn.00487250
jmp 0x4df3ff
movzx eax, bl
cmp eax, 5
jne 0x4df2d8
mov edx, dword [edi + 0x30]
mov dword [esp + 0x28], 2
mov ecx, esi
push dword [edi + 0x34]
call fcn.004871f0
add esp, 4
jmp 0x4dee12
lea ecx, [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], 3
jmp 0x4df298
mov edx, dword [edi + 0x30]
push dword [edi + 0x34]
call fcn.004871f0
add esp, 4
mov ebx, dword [esp + 0x14]
jmp 0x4df407
mov ecx, 2
mov edx, 0x56f22c
push 0x56f234
call fcn.0055a700
add esp, 4
jmp 0x4defaf
mov dword [esp + 0x28], 0x12
jmp 0x4df890
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
call fcn.00487250
jmp 0x4dee12
movzx eax, bh
cmp eax, 0x7d
jne 0x4df314
mov dword [esp + 0x28], 0x12
jmp 0x4df3ed
mov dword [esp + 0x28], 7
jmp 0x4df890
mov dword [esp + 0x28], 0x10
jmp 0x4df3ed
movzx eax, bl
cmp eax, 5
jne 0x4dfb3b
mov dword [esp + 0x28], 2
jmp 0x4df890
mov ecx, 3
mov edx, 0x56f22c
push 0x56f234
call fcn.0055a700
jmp 0x4df89f
mov dword [esp + 0x24], ebx
mov ecx, 4
mov edx, 0x56f22c
push 0x56f234
call fcn.0055a700
add esp, 4
test esi, esi
mov dword [esp + 0xc], eax
jne 0x4df145
cmp dword [esp + 0x14], 0
je 0x4df3c6
push dword [esp + 0x24]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0xc]
test dword [esp + 0x18], 0x7fffffff
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
je 0x4df8b8
jmp 0x4dfb66
mov dword [esp + 0x28], 8
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x28]
push dword [edi + 0x34]
call fcn.004871f0
add esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov cl, 1
mov dword [esp + 0x18], 0
cmp esi, 0x80000002
mov dword [esp + 0xc], eax
jl 0x4df43e
test esi, esi
je 0x4df43e
push dword [esp + 0xa8]
push 0
push dword [0x5920d8]
mov byte [esp + 0x28], cl
call sub.KERNEL32.dll_HeapFree
movzx ecx, byte [esp + 0x1c]
cmp ebx, 0x80000000
je 0x4df4dd
cmp dword [esp + 0x9c], 0
mov byte [esp + 0x1c], cl
mov dword [esp + 0x14], ebx
je 0x4df4b8
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x9c]
lea ebx, [eax + 0x3c]
jmp 0x4df476
add ebx, 0x48
dec esi
je 0x4df4b8
lea ecx, [ebx - 0x2c]
call fcn.0054d850
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x4df499
cmp dword [ebx - 8], 0
je 0x4df499
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebx - 4]
cmp eax, 0x80000000
je 0x4df470
test eax, eax
je 0x4df470
push dword [ebx]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4df470
cmp dword [esp + 0x14], 0
movzx ecx, byte [esp + 0x1c]
je 0x4df4dd
push dword [esp + 0x94]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
movzx ecx, byte [esp + 0x1c]
mov eax, dword [esp + 0x68]
test cl, cl
je 0x4df504
cmp eax, 0x80000002
jl 0x4df504
test eax, eax
je 0x4df504
push dword [esp + 0xa0]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xb0], 0
sete al
or al, byte [esp + 0x18]
test al, 1
jne 0x4df544
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4df544
cmp dword [esp + 0x98], 0
mov dword [esp + 0x14], 0x80000000
je 0x4df54c
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4df54c
mov dword [esp + 0x14], 0x80000000
mov ebx, dword [esp + 0xc]
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ad0
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
movzx edx, byte [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x104]
mov ebx, dword [esp + 0x98]
cmp ecx, 0x80000000
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov byte [esp + 0x54], dl
mov dword [esp + 0x58], esi
je 0x4df953
test esi, esi
jne 0x4df969
lea eax, [esp + 0x30]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xe0], xmm2
movsd qword [esp + 0xd8], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xe8], xmm0
movsd qword [esp + 0xd0], xmm1
movsd qword [esp + 0xc8], xmm2
jmp 0x4df9d0
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x28]
push dword [esi + 0x34]
call fcn.004871f0
add esp, 4
test dword [esp + 0x18], 0x7fffffff
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
jne 0x4dfb66
test edx, edx
mov dword [esp + 0xc], eax
je 0x4defc3
test ecx, ecx
je 0x4df8d6
push edx
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, 0x80000000
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ec0
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], ebx
movaps xmm0, xmmword [esp + 0x160]
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + 0x24]
cmp ebx, 0x80000000
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb0]
movlps qword [esp + 0x38], xmm0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov byte [esp + 0x54], cl
mov dword [esp + 0x58], esi
jne 0x4df965
mov ebx, 0x80000000
test esi, esi
je 0x4df9c8
mov ecx, esi
call fcn.0040a690
jmp 0x4df9c8
test esi, esi
je 0x4df97f
lea ecx, [esp + 0x28]
call fcn.0040a150
mov ecx, esi
mov esi, dword [esp + 0x5c]
mov ebx, 0x80000000
jmp 0x4df9d0
lea eax, [esp + 0x30]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xe0], xmm2
movsd qword [esp + 0xd8], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xe8], xmm0
movsd qword [esp + 0xd0], xmm1
movsd qword [esp + 0xc8], xmm2
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
cmp ebx, 0x80000000
je 0x4dfdf1
movsd xmm2, qword [esp + 0xe0]
movsd xmm1, qword [esp + 0xd8]
movsd xmm0, qword [esp + 0xe8]
cmp ebx, 0x80000001
mov dword [esp + 0xc], ecx
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x118], xmm1
movsd xmm2, qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xd0]
movsd qword [esp + 0x128], xmm0
movsd qword [esp + 0x110], xmm1
movsd qword [esp + 0x108], xmm2
je 0x4dfcdd
mov edx, dword [esp + 0x88]
movsd xmm2, qword [esp + 0x120]
movsd xmm1, qword [esp + 0x118]
lea eax, [esp + 0x138]
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ecx
movsd xmm0, qword [esp + 0x128]
movsd qword [eax + 0x18], xmm2
movsd qword [eax + 0x10], xmm1
movsd xmm2, qword [esp + 0x108]
movsd xmm1, qword [esp + 0x110]
cmp edx, dword [esp + 0x80]
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
jne 0x4dfac3
lea ecx, [esp + 0x80]
call fcn.004b7330
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
lea ecx, [edx + edx*2]
inc edx
mov dword [esp + 0x14], 0
shl ecx, 4
mov dword [eax + ecx], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx + 4], ebx
movsd xmm0, qword [esp + 0x108]
movsd xmm1, qword [esp + 0x110]
movsd qword [eax + ecx + 8], xmm0
movsd qword [eax + ecx + 0x10], xmm1
movsd xmm0, qword [esp + 0x118]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x120]
movsd qword [eax + ecx + 0x20], xmm0
movsd xmm0, qword [esp + 0x128]
movsd qword [eax + ecx + 0x28], xmm0
mov dword [esp + 0x88], edx
jmp 0x4de4ea
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
call fcn.00487250
test dword [esp + 0x18], 0x7fffffff
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
je 0x4df8b8
mov esi, eax
mov eax, dword [0x5920d8]
sub esp, 0xc
movaps xmm0, xmmword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], 0
movss dword [esp + 8], xmm0
call sub.KERNEL32.dll_HeapFree
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, esi
test edx, edx
mov dword [esp + 0xc], eax
jne 0x4df8c4
jmp 0x4defc3
mov eax, dword [esp + 0xc]
movsd xmm2, qword [esp + 0x120]
movsd xmm1, qword [esp + 0x118]
lea ecx, [esp + 0x138]
mov dword [esp + 0x130], 0x80000000
movsd xmm0, qword [esp + 0x128]
mov dword [esp + 0x134], eax
movsd qword [ecx + 0x18], xmm2
movsd qword [ecx + 0x10], xmm1
movsd xmm2, qword [esp + 0x108]
movsd xmm1, qword [esp + 0x110]
movsd qword [ecx + 0x20], xmm0
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
lea ecx, [esp + 0x130]
call fcn.00538640
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ecx
jmp 0x4dfd0f
movzx eax, bl
cmp eax, 5
jne 0x4dfcbb
mov dword [esp + 0x28], 5
jmp 0x4dfca7
lea edx, [esp + 0x73]
mov ecx, edi
push 0x56f72c
call fcn.00406030
add esp, 4
mov esi, eax
jmp 0x4dfd70
mov dword [esp + 0x28], 0x15
jmp 0x4dfc83
movzx eax, bl
cmp eax, 5
jne 0x4dfd95
mov dword [esp + 0x28], 5
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x28]
push dword [edi + 0x34]
call fcn.004871f0
jmp 0x4dfd7d
movzx eax, bl
cmp eax, 5
jne 0x4dfcbb
mov dword [esp + 0x28], 2
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x28]
push dword [edi + 0x34]
call fcn.004871f0
add esp, 4
jmp 0x4dfcd9
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], eax
call fcn.00487250
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ecx, esi
call fcn.004e55b0
cmp dword [esp + 0x80], 0
je 0x4dfd0a
push esi
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, 0x80000000
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ec0
mov esi, eax
cmp ebx, 0x80000000
je 0x4dfd3d
test esi, esi
jne 0x4dfd4e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x4dfd8d
test esi, esi
je 0x4dfd48
mov ecx, esi
call fcn.0040a690
mov esi, dword [esp + 0xc]
jmp 0x4dfd70
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
call fcn.004e55b0
test ebx, ebx
je 0x4dfd70
push dword [esp + 0xc]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [edi + 0x30]
mov ecx, esi
push dword [edi + 0x34]
call fcn.00559760
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [ecx + 4], eax
mov dword [ecx], 0x80000000
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x130]
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], eax
call fcn.00487250
jmp 0x4dfd80
mov dword [esp + 0x28], 0x15
jmp 0x4dfca7
mov dword [esp + 0x28], 0x12
jmp 0x4dfca7
mov dword [esp + 0x28], 7
jmp 0x4dfca7
mov ecx, edi
lea edx, [esp + 0x73]
push 0x56fa5c
call fcn.00406030
add esp, 4
mov ecx, eax
mov edx, dword [edi + 0x30]
push dword [edi + 0x34]
call fcn.00559760
add esp, 4
jmp 0x4dfcd9