Function at 0x1002c560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100817f6
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x100ab008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x520], eax
test eax, eax
je 0x1002d7bb
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x3b0]
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x3b0], 0
mov eax, dword [ecx]
push edx
push 4
lea edx, [ebp - 0x4f4]
mov eax, dword [eax + 0x24]
push edx
call eax
test al, al
je 0x1002d6a7
cmp dword [ebp - 0x3b0], 4
jne 0x1002d6a7
mov eax, dword [ebp - 0x4f4]
test eax, eax
jne 0x1002c705
push 2
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002d7bb
xor eax, eax
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 7
mov word [ebp - 0x3d0], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3d0]
push 0xc
push 0x1008e218
call fcn.100057c0
push 0x63
push 0x1008a9e0
push 0x1008a9e0
lea eax, [ebp - 0x3d0]
mov ecx, 0x100ae35c
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x1002c69a
lea eax, [ebp - 0x3d0]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3bc]
cmp edx, 8
jb 0x1002c6e3
mov ecx, dword [ebp - 0x3d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c6d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002c6d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 7
mov word [ebp - 0x3d0], ax
jmp 0x1002d7bb
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea eax, [eax + eax*2]
shl eax, 3
push eax
mov dword [ebp - 0x4f4], eax
call edi
mov ebx, eax
add esp, 4
mov dword [ebp - 0x510], ebx
test ebx, ebx
je 0x1002d7bb
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x3b0]
mov dword [ebp - 0x3b0], 0
push edx
push dword [ebp - 0x4f4]
mov eax, dword [ecx]
push ebx
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x1002d698
mov ecx, dword [ebp - 0x4f4]
cmp dword [ebp - 0x3b0], ecx
jne 0x1002d698
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [esi + 0x10]
mov eax, edx
lea edx, [ebp - 0x3b0]
shr eax, 4
mov dword [ebp - 0x514], eax
mov eax, dword [ecx]
push edx
push 4
lea edx, [ebp - 0x4f8]
mov eax, dword [eax + 0x28]
push edx
call eax
test al, al
je 0x1002d58b
cmp dword [ebp - 0x3b0], 4
jne 0x1002d58b
mov eax, dword [ebp - 0x4f8]
test eax, eax
jne 0x1002c8c5
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, 0x100ae35c
push 2
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002d7bb
xor eax, eax
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 7
mov word [ebp - 0x3e8], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3e8]
push 0xd
push 0x1008e25c
call fcn.100057c0
push 0x88
push 0x1008a9e0
push 0x1008a9e0
lea eax, [ebp - 0x3e8]
mov ecx, 0x100ae35c
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x1002c85a
lea eax, [ebp - 0x3e8]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3d4]
cmp edx, 8
jb 0x1002c8a3
mov ecx, dword [ebp - 0x3e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002c899
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 7
mov word [ebp - 0x3e8], ax
jmp 0x1002d7bb
push eax
call edi
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x3b0]
add esp, 4
mov dword [ebp - 0x3b0], 0
mov edi, eax
mov dword [ebp - 0x518], edi
mov eax, dword [ecx]
push edx
push dword [ebp - 0x4f8]
mov eax, dword [eax + 0x28]
push edi
call eax
test al, al
je 0x1002d479
mov ecx, dword [ebp - 0x4f8]
cmp ecx, dword [ebp - 0x3b0]
jne 0x1002d479
movq xmm0, qword [0x1008e2a0]
lea ebx, [ecx + edi]
mov ax, word [0x1008e2a8]
movq qword [ebp - 0x38], xmm0
xorps xmm0, xmm0
mov word [ebp - 0x30], ax
xor eax, eax
movlpd qword [ebp - 0x3b8], xmm0
mov dword [ebp - 0x504], ebx
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], eax
call fcn.1002da10
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 4], 7
lea eax, [edi + 0x76]
cmp eax, ebx
ja 0x1002d2d2
mov eax, dword [edi + 0x72]
add eax, edi
cmp eax, ebx
jae 0x1002d2d2
mov ecx, dword [edi + 0x66]
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x1002d2d2
mov edx, dword [edi + 0x62]
lea esi, [edi + edx]
add esi, ecx
lea eax, [esi + 2]
cmp eax, ebx
ja 0x1002d2d2
mov ecx, dword [edi + 0x6e]
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x1002d2d2
mov ebx, dword [edi + 0x6a]
lea eax, [edi + ebx]
add ecx, eax
lea eax, [ecx + 2]
cmp eax, dword [ebp - 0x504]
ja 0x1002d2d2
test edx, edx
je 0x1002c9cc
cmp word [esi], 0
jne 0x1002d2d2
test ebx, ebx
je 0x1002c9da
cmp word [ecx], 0
jne 0x1002d2d2
mov edx, dword [ebp - 0x3b8]
mov esi, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x1002ca0d
mov ecx, dword [edi]
nop dword [eax]
cmp dword [eax + 0x10], ecx
jae 0x1002c9fa
mov eax, dword [eax + 8]
jmp 0x1002c9fe
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1002c9f0
cmp esi, edx
je 0x1002ca0d
cmp ecx, dword [esi + 0x10]
jae 0x1002ca45
push ecx
lea eax, [ebp - 0x50c]
mov dword [ebp - 0x50c], edi
push eax
push ecx
lea ecx, [ebp - 0x3b8]
call fcn.1002dc40
push eax
add eax, 0x10
lea ecx, [ebp - 0x3b8]
push eax
push esi
lea eax, [ebp - 0x500]
push eax
call fcn.1002dcd0
mov esi, dword [ebp - 0x500]
mov ebx, dword [ebp - 0x508]
mov ecx, 0x100ae35c
inc ebx
mov dword [esi + 0x14], edi
push 5
mov dword [ebp - 0x508], ebx
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002cb81
xor eax, eax
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 7
mov word [ebp - 0x400], ax
mov byte [ebp - 4], 8
cmp dword [edi + 0x6a], eax
jne 0x1002caaa
lea ecx, [ebp - 0x38]
jmp 0x1002caaf
mov ecx, dword [edi + 0x6e]
add ecx, edi
cmp dword [edi + 0x62], 0
jne 0x1002caba
lea eax, [ebp - 0x38]
jmp 0x1002cabf
mov eax, dword [edi + 0x66]
add eax, edi
push ecx
push eax
push dword [edi + 0x5e]
lea eax, [ebp - 0x400]
push dword [edi + 0x18]
push dword [edi + 0x10]
push dword [edi + 0x72]
push dword [edi + 0xc]
push dword [edi + 8]
push ebx
push 0x1008e318
push eax
call fcn.10076cd0
add esp, 0x2c
lea eax, [ebp - 0x400]
mov ecx, 0x100ae35c
push 0xc4
push 0x1008a9e0
push 0x1008a9e0
push eax
push 5
call fcn.10076760
cmp esi, 1
jbe 0x1002cb20
lea eax, [ebp - 0x400]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x3ec]
cmp edx, 8
jb 0x1002cb64
mov ecx, dword [ebp - 0x400]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002cb5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c6d3
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 7
mov word [ebp - 0x400], ax
mov eax, dword [edi + 0x72]
add edi, eax
test eax, eax
je 0x1002cb95
mov ebx, dword [ebp - 0x504]
jmp 0x1002c960
push 5
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002cc99
xor eax, eax
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 7
mov word [ebp - 0x418], ax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x418]
push ebx
mov ebx, dword [ebp - 0x514]
push ebx
push 0x1008e490
push eax
call fcn.10076cd0
add esp, 0x10
lea eax, [ebp - 0x418]
mov ecx, 0x100ae35c
push 0xd2
push 0x1008a9e0
push 0x1008a9e0
push eax
push 5
call fcn.10076760
cmp esi, 1
jbe 0x1002cc34
lea eax, [ebp - 0x418]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x404]
cmp edx, 8
jb 0x1002cc7a
mov ecx, dword [ebp - 0x418]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002cc70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002cc70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 7
mov word [ebp - 0x418], ax
jmp 0x1002cc9f
mov ebx, dword [ebp - 0x514]
mov edx, 0x2a
mov ecx, 0x5c
mov word [ebp - 0x2c], dx
mov eax, 0x32
mov word [ebp - 0x2a], cx
mov word [ebp - 0x28], ax
mov eax, 0x33
mov word [ebp - 0x26], ax
mov eax, 0x34
mov word [ebp - 0x24], ax
mov eax, 0x35
mov word [ebp - 0x22], ax
mov eax, 0x53
mov word [ebp - 0x20], ax
mov eax, 0x6f
mov word [ebp - 0x1e], ax
mov eax, 0x66
mov word [ebp - 0x1c], ax
mov eax, 0x74
mov word [ebp - 0x1a], ax
xor eax, eax
mov word [ebp - 0x18], cx
lea ecx, [ebp - 0x4f0]
mov word [ebp - 0x16], dx
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.10005770
mov byte [ebp - 4], 0xd
xor eax, eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
mov byte [ebp - 4], 0xe
push 0x20c
push eax
lea eax, [ebp - 0x244]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x244]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1002cdb2
xor eax, eax
lea ecx, [ebp - 0x244]
mov word [ebp - 0x3a], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002cd90
sub ecx, edx
lea eax, [ebp - 0x244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4a8]
call fcn.100057c0
push 0x5c
lea ecx, [ebp - 0x4a8]
call fcn.1002d980
push 0x2a
lea ecx, [ebp - 0x4a8]
call fcn.1002d980
mov dword [ebp - 0x508], 0
test ebx, ebx
je 0x1002d287
mov edi, dword [ebp - 0x510]
xor ebx, ebx
mov dword [ebp - 0x504], ebx
mov dword [ebp - 0x500], edi
push 5
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002cf01
xor eax, eax
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], ax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x430]
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [ebp - 0x508]
push 0x1008e430
push eax
call fcn.10076cd0
add esp, 0x24
lea eax, [ebp - 0x430]
mov ecx, 0x100ae35c
push 0xe3
push 0x1008a9e0
push 0x1008a9e0
push eax
push 5
call fcn.10076760
cmp esi, 1
jbe 0x1002cea0
lea eax, [ebp - 0x430]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x41c]
cmp edx, 8
jb 0x1002cee4
mov ecx, dword [ebp - 0x430]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ceda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c6d3
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], ax
cmp byte [ebp + 0xc], 0
jne 0x1002cf10
cmp dword [edi], 0
je 0x1002d25c
push ecx
push 5
lea ecx, [ebp - 0x3ac]
call fcn.1002d890
xor ecx, ecx
mov byte [ebp - 0x4f9], 1
xor edi, edi
nop dword [eax]
mov edx, dword [ebp - 0x510]
lea eax, [ebx + edi]
lea ebx, [edx + eax*4]
mov edx, dword [ebx + 4]
test edx, edx
je 0x1002d215
mov esi, dword [ebp - 0x3b8]
inc ecx
mov dword [ebp - 0x50c], ecx
mov ecx, esi
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002d14e
cmp dword [eax + 0x10], edx
jae 0x1002cf6d
mov eax, dword [eax + 8]
jmp 0x1002cf71
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1002cf63
cmp ecx, esi
je 0x1002d14e
mov eax, edx
cmp eax, dword [ecx + 0x10]
jb 0x1002d14e
mov ecx, dword [ecx + 0x14]
lea edx, [edi + edi*8]
mov dword [ebp + edx*8 - 0x3ac], edi
mov eax, dword [ecx + 0x10]
mov dword [ebp + edx*8 - 0x3a4], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp + edx*8 - 0x3a0], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp + edx*8 - 0x39c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp + edx*8 - 0x398], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp + edx*8 - 0x394], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp + edx*8 - 0x390], eax
lea eax, [ecx + 0x1c]
mov dword [ebp + edx*8 - 0x388], eax
mov eax, dword [ecx + 0x5e]
mov dword [ebp + edx*8 - 0x384], eax
cmp dword [ecx + 0x62], 0
jne 0x1002cff1
xor esi, esi
jmp 0x1002cff6
mov esi, dword [ecx + 0x66]
add esi, ecx
mov dword [ebp + edx*8 - 0x380], esi
cmp dword [ecx + 0x6a], 0
jne 0x1002d007
xor eax, eax
jmp 0x1002d00c
mov eax, dword [ecx + 0x6e]
add eax, ecx
mov dword [ebp + edx*8 - 0x378], eax
test edi, edi
jne 0x1002d071
cmp byte [ebp + 0xc], 0
je 0x1002d071
mov ebx, dword [ebp - 0x500]
cmp dword [ebx], edi
jne 0x1002d071
test esi, esi
je 0x1002d071
cmp dword [ebp - 0x4dc], 8
lea ecx, [ebp - 0x4f0]
mov edx, esi
cmovae ecx, dword [ebp - 0x4f0]
push ecx
call fcn.1006b9f0
add esp, 4
test al, al
jne 0x1002d08c
cmp dword [ebp - 0x494], 8
lea ecx, [ebp - 0x4a8]
mov edx, esi
cmovae ecx, dword [ebp - 0x4a8]
push ecx
call fcn.1006b9f0
add esp, 4
test al, al
jne 0x1002d08c
mov ecx, dword [ebp - 0x50c]
inc edi
cmp edi, 5
jae 0x1002d215
mov ebx, dword [ebp - 0x504]
jmp 0x1002cf30
cmp dword [ebp - 0x380], 0
je 0x1002d147
push 5
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002d147
xor eax, eax
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 7
mov word [ebp - 0x4c0], ax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x4c0]
push dword [ebp - 0x380]
push dword [ebx]
push 0x1008e500
push eax
call fcn.10076cd0
add esp, 0x10
lea eax, [ebp - 0x4c0]
mov ecx, 0x100ae35c
push 0x10b
push 0x1008a9e0
push 0x1008a9e0
push eax
push 5
call fcn.10076760
cmp esi, 1
jbe 0x1002d138
lea eax, [ebp - 0x4c0]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4c0]
call fcn.10004c90
xor al, al
jmp 0x1002d229
xor al, al
mov ecx, 0x100ae35c
push 5
mov byte [ebp - 0x4f9], al
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002d223
xor eax, eax
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 7
mov word [ebp - 0x4d8], ax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x4d8]
mov edi, dword [ebp - 0x500]
push dword [edi]
push dword [ebx + 4]
push dword [ebp - 0x508]
push 0x1008e558
push eax
call fcn.10076cd0
add esp, 0x14
lea eax, [ebp - 0x4d8]
mov ecx, 0x100ae35c
push 0x101
push 0x1008a9e0
push 0x1008a9e0
push eax
push 5
call fcn.10076760
cmp esi, 1
jbe 0x1002d1fe
lea eax, [ebp - 0x4d8]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4d8]
call fcn.10004c90
mov al, byte [ebp - 0x4f9]
jmp 0x1002d22f
mov edi, dword [ebp - 0x500]
mov al, byte [ebp - 0x4f9]
jmp 0x1002d235
mov al, byte [ebp - 0x4f9]
mov edi, dword [ebp - 0x500]
mov ecx, dword [ebp - 0x50c]
test ecx, ecx
je 0x1002d256
test al, al
je 0x1002d256
lea eax, [ebp - 0x3ac]
push eax
push ecx
push dword [edi]
push dword [ebp - 0x51c]
call dword [ebp - 0x520]
add esp, 0x10
mov ebx, dword [ebp - 0x504]
mov eax, dword [ebp - 0x508]
add ebx, 6
inc eax
mov dword [ebp - 0x504], ebx
add edi, 0x18
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x500], edi
cmp eax, dword [ebp - 0x514]
jb 0x1002cdf2
push dword [ebp - 0x510]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
mov eax, dword [ebp - 0x518]
add esp, 4
test eax, eax
je 0x1002d2a8
push eax
call esi
add esp, 4
mov byte [ebp - 0x4f9], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4a8]
call fcn.10004c90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4f0]
call fcn.10004c90
jmp 0x1002d3f4
push 2
mov ecx, 0x100ae35c
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002d3d3
xor eax, eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x508]
push eax
lea eax, [ebp - 0x448]
push 0x1008e2d0
push eax
call fcn.10076cd0
add esp, 0xc
lea eax, [ebp - 0x448]
mov ecx, 0x100ae35c
push 0xcd
push 0x1008a9e0
push 0x1008a9e0
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x1002d370
lea eax, [ebp - 0x448]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x434]
cmp edx, 8
jb 0x1002d3b6
mov ecx, dword [ebp - 0x448]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d3ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002d3ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
push dword [ebp - 0x510]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
mov eax, dword [ebp - 0x518]
push eax
call esi
add esp, 8
mov byte [ebp - 0x4f9], 0
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x3b8]
mov ebx, eax
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x1002d439
nop
push dword [esi + 8]
lea ecx, [ebp - 0x3b8]
call fcn.1002da90
mov esi, dword [esi]
push 0x18
push edi
call fcn.1007b73a
add esp, 8
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x1002d410
mov eax, dword [ebp - 0x3b8]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x3b8]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x3b8]
mov dword [ecx + 8], ebx
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 4], 0xffffffff
push 0x18
push dword [ebp - 0x3b8]
call fcn.1007b73a
mov al, byte [ebp - 0x4f9]
add esp, 8
jmp 0x1002d7bd
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
call esi
push edi
call esi
add esp, 8
mov ecx, 0x100ae35c
push 2
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002d7bb
xor eax, eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x460]
push 0xe
push 0x1008e2ac
call fcn.100057c0
push 0x93
push 0x1008a9e0
push 0x1008a9e0
lea eax, [ebp - 0x460]
mov ecx, 0x100ae35c
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x1002d520
lea eax, [ebp - 0x460]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44c]
cmp edx, 8
jb 0x1002d569
mov ecx, dword [ebp - 0x460]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d55f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002d55f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
jmp 0x1002d7bb
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, 0x100ae35c
push 2
call fcn.10076720
mov esi, eax
test esi, esi
je 0x1002d7bb
xor eax, eax
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x478]
push 0x13
push 0x1008e278
call fcn.100057c0
push 0x81
push 0x1008a9e0
push 0x1008a9e0
lea eax, [ebp - 0x478]
mov ecx, 0x100ae35c
push eax
push 2
call fcn.10076760
cmp esi, 1
jbe 0x1002d62d
lea eax, [ebp - 0x478]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x464]
cmp edx, 8
jb 0x1002d676
mov ecx, dword [ebp - 0x478]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d66c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002d66c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
jmp 0x1002d7bb
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1002d7bb
cmp dword [0x100ae35c], 0
je 0x1002d7bb
push ecx
mov ecx, 0x100ae35c
call fcn.10075990
mov eax, dword [0x100ae35c]
cmp byte [eax + 0x54], 0
je 0x1002d7bb
cmp dword [eax + 0x58], 2
jb 0x1002d7bb
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 7
mov word [ebp - 0x490], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x490]
push 0x12
push 0x1008e234
call fcn.100057c0
push 0x5d
push 0x1008a9e0
push 0x1008a9e0
lea eax, [ebp - 0x490]
mov ecx, 0x100ae35c
push eax
push 2
call fcn.10076760
test bl, bl
je 0x1002d755
lea eax, [ebp - 0x490]
mov ecx, 0x100ae35c
push eax
call fcn.10076b00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x47c]
cmp edx, 8
jb 0x1002d79e
mov ecx, dword [ebp - 0x490]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d794
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002d794
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 7
mov word [ebp - 0x490], ax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007b6f9
mov esp, ebp
pop ebp
ret 0xc