Function at 0x1004b230
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100858f6
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x2a4], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 3
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x298], 0x800704c7
push str.Show:_filters.count_d
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x270]
call fcn.100394f0
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x270]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004b2fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x1008fa88
lea ecx, [ebp - 0x29c]
call fcn.10022bb0
mov byte [ebp - 4], 5
mov edi, dword [esi]
cmp edi, dword [esi + 4]
je 0x1004b40f
lea esp, [esp]
mov esi, dword [edi]
sub esi, 0x10
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x1004b346
cmp ecx, dword [esi]
jne 0x1004b346
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1004b38e
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x278], edx
test edx, edx
je 0x1004b4df
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov esi, dword [ebp - 0x278]
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x270], eax
push 0xa6
push 0x7c
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.10032bd0
mov eax, dword [ebp - 0x29c]
cmp dword [eax - 0xc], 0
je 0x1004b3cb
push 1
push 0x1008fc00
lea ecx, [ebp - 0x29c]
call fcn.10029530
mov esi, dword [ebp - 0x270]
lea ecx, [ebp - 0x29c]
push dword [esi - 0xc]
push esi
call fcn.10029530
add esi, 0xfffffff0
mov byte [ebp - 4], 5
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004b3fd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x27c]
add edi, 4
cmp edi, dword [eax + 4]
jne 0x1004b320
push dword [ebp - 0x29c]
push str.CYO_FILEDIALOG_FILTERS
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x40
lea eax, [ebp - 0x308]
push 0
push eax
call fcn.1006df00
add esp, 0xc
mov dword [ebp - 0x30c], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x2e0], 1
xor eax, eax
movdqu xmmword [ebp - 0x2c4], xmm0
mov word [ebp - 0x2dc], ax
call fcn.1006d375
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], eax
push eax
push str.CE.Dlg._x
push ecx
call fcn.1003a800
add esp, 0xc
lea ecx, [ebp - 0x294]
call fcn.1003a440
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x280], esp
push str.LOW_
call fcn.10022bb0
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x294]
push ecx
mov dword [ebp - 0x278], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x1004b4d0
cmp ecx, dword [esi - 0x10]
jne 0x1004b4d0
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1004b50a
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x1004b4e4
call fcn.10023990
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.1006b19c
add esp, 0x10
mov ecx, dword [ebp - 0x278]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 7
call fcn.1003cab0
add esp, 8
cmp eax, 0xffffffff
je 0x1004b55c
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x1008fa70
call fcn.10022bb0
push ecx
mov ecx, esp
mov byte [ebp - 4], 9
push str.LOW_
call fcn.10022bb0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 7
call fcn.1003cc60
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x1008fa70
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x290], esp
push str.VirtDlg.exe
call fcn.10022bb0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
call fcn.10064ec0
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 7
call fcn.1003a550
add esp, 0xc
mov byte [ebp - 4], 0xc
push dword [ebp - 0x27c]
mov eax, dword [ebp - 0x274]
mov eax, dword [eax]
dec eax
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x28c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x2a0]
push dword [ebp - 0x268]
push dword [ebp - 0x2b0]
push str.__s____FileDialog:_d_d_s_s_s_s_d_d_
push eax
call fcn.1003a800
add esp, 0x2c
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x28c]
cmp dword [eax - 4], 1
jle 0x1004b60e
push dword [eax - 0xc]
lea ecx, [ebp - 0x28c]
call fcn.100235f0
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x30c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x28c]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.1006b17d
mov edx, eax
add esp, 8
test edx, edx
js 0x1004c21e
mov ecx, dword [ebp - 0x28c]
cmp edx, dword [ecx - 8]
jg 0x1004c21e
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x28c]
mov word [eax + edx*2], cx
test esi, esi
je 0x1004c0a1
push 0xffffffffffffffff
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1004c08b
push dword [ebp - 0x298]
lea eax, [ebp - 0x270]
push str.Show:_ExitCode0x_x
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x270]
call fcn.100394f0
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004b6ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x298], 0
jl 0x1004c08b
push dword [ebp - 0x294]
lea eax, [ebp - 0x270]
push str.Show:_ResponseFile_s
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x270]
call fcn.100394f0
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004b743
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10021470
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x1004b75f
push 0x80004005
call fcn.10021340
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2a0], eax
push ecx
mov byte [ebp - 4], 0x10
lea edi, [ebp - 0x2a0]
mov ecx, dword [ebp - 0x294]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.100236e0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.1003afb0
mov ecx, dword [ebp - 0x294]
mov edi, eax
add ecx, 0xfffffff0
call fcn.100236e0
add eax, 0x10
mov dword [esi], eax
call fcn.1003c4e0
mov esi, dword [ebp - 0x2a0]
add esp, 4
test edi, edi
je 0x1004c021
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x10093540
mov dword [ebp - 0x268], 0
call fcn.10022bb0
push ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0x11
mov edi, esp
call fcn.100236e0
add eax, 0x10
lea edx, [ebp - 0x268]
mov dword [edi], eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x10
call fcn.1003c9a0
add esp, 8
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x268], 0xffffffff
je 0x1004b823
mov eax, dword [ebp - 0x270]
cmp dword [eax - 0xc], 0
jne 0x1004b86a
push esi
lea eax, [ebp - 0x27c]
push str.Unexpected_response_field_in_FilterIdx:__s
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x27c]
call fcn.100394f0
mov byte [ebp - 4], 0x12
mov ecx, ebx
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004b86a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x270]
call fcn.1006b9d4
mov ecx, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x280], esp
mov dword [ecx], eax
mov ecx, esp
push 0x10093540
call fcn.10022bb0
push ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0x14
mov edi, esp
call fcn.100236e0
add eax, 0x10
lea edx, [ebp - 0x268]
mov dword [edi], eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x12
call fcn.1003c9a0
add esp, 8
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x268], 0xffffffff
jne 0x1004b910
push esi
lea eax, [ebp - 0x274]
push str.Unexpected_response_field_in_Selected:__s
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x274]
call fcn.100394f0
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004b910
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x288]
call fcn.1003f0a0
mov dword [ebp - 0x274], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x280], esp
push 0x1008fc00
call fcn.10022bb0
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x278]
add edi, 0xfffffff0
push ecx
mov dword [ebp - 0x26c], esp
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x1004b96d
cmp ecx, dword [edi]
jne 0x1004b96d
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1004b9b5
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x284], edx
test edx, edx
je 0x1004b4df
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov edi, dword [ebp - 0x284]
add esp, 0x10
mov ecx, dword [ebp - 0x26c]
lea eax, [edi + 0x10]
lea edx, [ebp - 0x274]
mov dword [ecx], eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x15
call fcn.1003c9a0
add esp, 8
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x274], 0xffffffff
je 0x1004ba73
push dword [ebp - 0x268]
lea eax, [ebp - 0x27c]
push str.Results.push_back__s_
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x27c]
call fcn.100394f0
mov byte [ebp - 4], 0x18
mov ecx, ebx
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004ba35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x288]
lea eax, [ebp - 0x268]
push eax
call fcn.1003efd0
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004b925
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1004b925
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004ba96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x288]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1004bf5b
push ecx
mov ecx, dword [ecx]
mov ebx, 0x5c
sub ecx, 0x10
mov edi, esp
call fcn.100236e0
add eax, 0x10
lea ecx, [ebp - 0x27c]
mov edx, ebx
mov dword [edi], eax
call fcn.1003a970
add esp, 4
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x268]
push 0x1008fa88
mov dword [ebp - 0x274], 0
call fcn.10022bb0
push 0x24c
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x1b
push 0
push eax
mov dword [ebp - 0x264], 0
call fcn.1006df00
add esp, 0xc
or ebx, 0xffffffff
lea ebx, [ebx]
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x1008fa70
call fcn.10022bb0
mov byte [ebp - 4], 0x1c
mov edi, dword [ebp - 0x27c]
add edi, 0xfffffff0
push ecx
mov dword [ebp - 0x284], esp
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x1004bb68
cmp ecx, dword [edi]
jne 0x1004bb68
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1004bbb0
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x26c], edx
test edx, edx
je 0x1004b4df
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov edi, dword [ebp - 0x26c]
add esp, 0x10
mov ecx, dword [ebp - 0x284]
lea eax, [edi + 0x10]
lea edx, [ebp - 0x274]
mov dword [ecx], eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x1b
call fcn.1003c9a0
add esp, 8
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x274], 0xffffffff
mov eax, dword [ebp - 0x288]
je 0x1004bef8
cmp dword [eax - 0xc], 0
je 0x1004bef8
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x1008fa70
call fcn.10022bb0
mov byte [ebp - 4], 0x1e
mov edi, dword [ebp - 0x288]
add edi, 0xfffffff0
push ecx
mov dword [ebp - 0x2ac], esp
mov dword [ebp - 0x284], esp
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x1004bc42
cmp ecx, dword [edi]
jne 0x1004bc42
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1004bc8a
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x26c], edx
test edx, edx
je 0x1004b4df
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov edi, dword [ebp - 0x26c]
add esp, 0x10
mov ecx, dword [ebp - 0x284]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x1f
mov edi, dword [ebp - 0x268]
add edi, 0xfffffff0
push ecx
mov dword [ebp - 0x284], esp
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x1004bcca
cmp ecx, dword [edi]
jne 0x1004bcca
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1004bd12
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x26c], edx
test edx, edx
je 0x1004b4df
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov edi, dword [ebp - 0x26c]
add esp, 0x10
mov ecx, dword [ebp - 0x284]
lea eax, [edi + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x1d
call fcn.1003a550
add esp, 0xc
mov byte [ebp - 4], 0x20
mov edx, dword [eax]
mov edi, dword [ebp - 0x268]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x1004bd92
cmp dword [edi + 0xc], 0
jl 0x1004bd83
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1004bd83
call fcn.100236e0
mov dword [ebp - 0x26c], eax
lea edx, [edi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004bd78
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x26c]
add eax, 0x10
mov dword [ebp - 0x268], eax
jmp 0x1004bd92
push dword [edx - 0xc]
lea ecx, [ebp - 0x268]
push edx
call fcn.10023530
mov byte [ebp - 4], 0x1d
mov ecx, ebx
mov edx, dword [ebp - 0x290]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004bdb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2ac], esp
push 0x1008fa70
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x10093ad0
call fcn.10022bb0
mov byte [ebp - 4], 0x22
mov edi, dword [ebp - 0x268]
add edi, 0xfffffff0
push ecx
mov dword [ebp - 0x284], esp
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x1004be1b
cmp ecx, dword [edi]
jne 0x1004be1b
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1004be63
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x26c], edx
test edx, edx
je 0x1004b4df
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov edi, dword [ebp - 0x26c]
add esp, 0x10
mov ecx, dword [ebp - 0x284]
lea eax, [edi + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1d
call fcn.1003a550
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [ebp - 0x280]
mov edx, ebx
add edi, 0xfffffff0
mov dword [ebp - 0x26c], eax
lea ecx, [edi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004beb3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x26c]
cmp eax, 0xffffffff
je 0x1004beeb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0x1b
mov ecx, ebx
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004bb20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1004bb20
lea ecx, [ebp - 0x288]
call fcn.10022680
jmp 0x1004bf15
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x1b
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004bf15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
mov ecx, ebx
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004bf38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004bf5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x274]
push str.Show:_returning_success_S_OK
push eax
call fcn.1003a800
add esp, 8
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x274]
call fcn.100394f0
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004bfa1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x2b4]
mov dword [ebp - 0x298], 0
test edi, edi
je 0x1004bff2
mov ecx, dword [ebp - 0x2a4]
test ecx, ecx
je 0x1004bff2
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x20]
push ecx
mov eax, esp
push dword [ebp - 0x2a4]
push edi
push str.pfde__OnFileOk_dbg_:_pfde_x__Instance_x
push eax
call fcn.1003a800
add esp, 0x10
call fcn.10021810
mov eax, dword [edi]
add esp, 4
push dword [ebp - 0x2a4]
push edi
call dword [eax + 0xc]
mov byte [ebp - 4], 0x12
mov ecx, ebx
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c015
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x270]
jmp 0x1004c055
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x278]
push str.Show:_cant_load_file__LE_d
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x278]
call fcn.100394f0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c06e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xd
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c08b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x2c0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c4]
call esi
push dword [ebp - 0x298]
lea eax, [ebp - 0x278]
push str.Show:_out:_Ret_x
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x278]
call fcn.100394f0
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c0ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x298]
mov ecx, ebx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c116
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, ebx
mov edx, dword [ebp - 0x2b0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c139
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x294]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c15c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c17f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c19f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c1bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004c1df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x18]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x1004c200
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006abfd
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10021340
int3