Function at 0x1002d80b
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072a85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push esi
push edi
mov dword [ebp - 0x188], 0xfff8
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002d850
push 1
push 0
push 0x1dfd
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1002d868
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
mov dword [ebp - 0x38], 0x399841b3
push 1
lea ecx, [ebp - 0x88]
call fcn.1000fc7a
and dword [ebp - 4], 0
mov dword [ebp - 0x90], 6
mov dword [ebp - 0x16c], 0x357f039d
mov dword [ebp - 0x174], 2
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x128], 0xbd6cd538
mov dword [ebp - 0x170], 0x80563ade
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x60], 0
jmp 0x1002d8e0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1002d8fc
push dword [ebp - 0x60]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
mov dword [eax], 0x102d
jmp 0x1002d8d9
mov dword [ebp - 0x38], 0
jmp 0x1002d90c
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff8
jl 0x1002dba9
mov dword [ebp - 0x10], 0x48f69f7f
mov dword [ebp - 0x138], 0xfffffffb
mov dword [ebp - 0x11c], 0xb4b72b41
mov dword [ebp - 0x140], 0x404d4644
mov dword [ebp - 0x168], 0x9be99b96
push 1
lea ecx, [ebp - 0x184]
call fcn.1000fc7a
mov byte [ebp - 4], 1
mov dword [ebp - 0x7c], 0x9d0863e8
mov dword [ebp - 0x54], 0
jmp 0x1002d96d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1002d986
push dword [ebp - 0x54]
lea ecx, [ebp - 0x184]
call fcn.1000fd18
and dword [eax], 0
jmp 0x1002d966
mov dword [ebp - 0x10], 0
jmp 0x1002d996
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002db95
mov dword [ebp - 0x148], 0x24b6749e
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x108], 0x38c8a251
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
cmp dword [eax], 0
je 0x1002db63
mov dword [ebp - 0x68], 0xcadd635
mov dword [ebp - 0x118], 0xfffffffa
mov dword [ebp - 0x90], 0x579253a3
cmp dword [ebp - 0x90], 1
ja 0x1002da0f
mov dword [ebp - 0xa0], 1
jmp 0x1002da16
and dword [ebp - 0xa0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
cmp dword [eax], 0
jne 0x1002da45
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
cmp dword [eax], 0
jne 0x1002da45
and dword [ebp - 0xf0], 0
jmp 0x1002da4f
mov dword [ebp - 0xf0], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1002da7f
mov dword [ebp - 0xd0], 1
jmp 0x1002da86
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0xd0], eax
jne 0x1002da9d
mov dword [ebp - 0xe4], 1
jmp 0x1002daa4
and dword [ebp - 0xe4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
mov ecx, dword [ebp - 0xe4]
sub ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x68], eax
jge 0x1002dad1
mov dword [ebp - 0x98], 1
jmp 0x1002dad8
and dword [ebp - 0x98], 0
imul esi, dword [ebp - 0x98], 0xfff7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000fd18
cmp esi, dword [eax]
jne 0x1002db00
mov dword [ebp - 0xc0], 1
jmp 0x1002db07
and dword [ebp - 0xc0], 0
push 0
lea ecx, [ebp - 0x88]
call fcn.1000fd18
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
je 0x1002db2a
mov dword [ebp - 0xe0], 1
jmp 0x1002db31
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x10], eax
je 0x1002db4e
mov dword [ebp - 0xa8], 1
jmp 0x1002db55
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x118], eax
jmp 0x1002db7a
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002db7a
push 0x13fe
call dword [sym.imp.GDI32.dll_SaveDC]
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
inc eax
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x108], ecx
jmp 0x1002d98f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call fcn.1000fcfc
jmp 0x1002d905
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.1000fcfc
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xf4], 0xe4fc2285
mov dword [ebp - 0x4c], 0
jmp 0x1002dbd9
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1002dbef
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x158], 0x9be1
jmp 0x1002dbd2
mov dword [ebp - 0x18], 0
jmp 0x1002dbff
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x18
jge 0x1002dc19
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1002dc17
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x1002dbf8
mov dword [ebp - 0x18], 1
jmp 0x1002dc29
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1002dc67
mov dword [ebp - 0x30], 0xe5664dc9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x30], 0
jmp 0x1002dc4f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002dc65
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x158], 0xfffffff6
jmp 0x1002dc48
jmp 0x1002dc22
movzx eax, byte [0x106df4a4]
test eax, eax
je 0x1002dc85
mov esi, 0x1061a7dc
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x1002e1ef
mov dword [ebp - 0x124], 0x1061a7dc
mov dword [ebp - 0x12c], 0x1061a7e0
mov dword [ebp - 0x64], 0xe8cff0ea
mov dword [ebp - 0x5c], 0
jmp 0x1002dcb0
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1002dcc6
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x164], 0xfffffff6
jmp 0x1002dca9
mov dword [ebp - 0x64], 0
jmp 0x1002dcd6
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff7
jle 0x1002dd20
mov dword [ebp - 0x3c], 0x9ef72d4e
mov dword [ebp - 0x3c], 0
jmp 0x1002dcf3
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jg 0x1002dd1e
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1002dd0d
push 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x164], 0
je 0x1002dd1c
jmp 0x1002dd1e
jmp 0x1002dcec
jmp 0x1002dccf
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002dd3f
push 0
push 0
push 0xff9
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov byte [0x106df4a4], 1
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x1061a5c8
mov dword [ebp - 0xc8], eax
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x1061a5c8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xc8]
mov dword [0x1061a7dc], eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x58], 0
jmp 0x1002dd8a
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1002dda0
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x194], 0x20624039
jmp 0x1002dd83
mov dword [ebp - 0x14], 2
jmp 0x1002ddb0
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1002ddce
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002ddcc
push 0
push 0
call dword [sym.imp.GDI32.dll_GetRgnBox]
jmp 0x1002dda9
mov dword [ebp - 0x14], 0
jmp 0x1002ddde
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff3
jg 0x1002de2e
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x50], 0x12
jmp 0x1002ddfb
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x18
je 0x1002de2c
mov dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0
je 0x1002de16
jmp 0x1002de2c
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002de2a
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
jmp 0x1002ddf4
jmp 0x1002ddd7
mov eax, dword [ebp - 0x78]
mov dword [0x1061a7e0], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0x78]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + ecx]
call fcn.1002d7ca
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x40], 0xfffffff9
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x40], 0xffffffff
jmp 0x1002de7d
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffed
jg 0x1002e04c
push 2
lea ecx, [ebp - 0x114]
call fcn.1000fc7a
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 0
jmp 0x1002deab
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1002dec7
push dword [ebp - 0x44]
lea ecx, [ebp - 0x114]
call fcn.1000fd18
mov dword [eax], 0x6432a276
jmp 0x1002dea4
push 1
lea ecx, [ebp - 0x114]
call fcn.1000fd18
and dword [eax], 0
jmp 0x1002defd
push 1
lea ecx, [ebp - 0x114]
call fcn.1000fd18
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x114]
call fcn.1000fd18
cmp dword [eax], 0xffffffec
jne 0x1002e024
mov dword [ebp - 0x8c], 0x7a73
mov dword [ebp - 0x134], 1
mov dword [ebp - 0xfc], 0x153a
cmp dword [ebp - 0xfc], 0x11ed
jge 0x1002dffb
and dword [ebp - 0x70], 0
and dword [ebp - 0x6c], 0
and dword [ebp - 0x74], 0
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x1000843c
call fcn.1005ac9b
add esp, 0xc
mov dword [ebp - 0x28], 1
jmp 0x1002df78
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 6
jg 0x1002dfe5
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0x28]
push eax
call fcn.1005b826
pop ecx
mov esi, eax
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x28]
push eax
call fcn.1005b826
pop ecx
cmp esi, eax
jge 0x1002dfad
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
jmp 0x1002dfe3
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0x28]
push eax
call fcn.1005b826
pop ecx
mov esi, eax
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x28]
push eax
call fcn.1005b826
pop ecx
cmp esi, eax
jne 0x1002dfdc
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
jmp 0x1002dfe3
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
jmp 0x1002df71
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push 0x10008534
call fcn.1005b2bd
add esp, 0x10
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
jmp 0x1002ded9
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002e038
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.1000fcfc
jmp 0x1002de76
push dword [ebp - 0x78]
mov edx, 0x1061a804
mov ecx, dword [ebp - 0xec]
call fcn.1002d7d6
pop ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x9c], 0x9328a062
mov dword [ebp - 0x48], 0x68aa2d34
mov dword [ebp - 0xb4], 0x98d72a67
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xcc], 0x2e4ed383
mov dword [ebp - 0xf8], 0x2549
mov dword [ebp - 0x100], 0xbc23cea
cmp dword [ebp - 0x34], 0
je 0x1002e0ff
cmp dword [ebp - 0x34], 0
je 0x1002e0bd
cmp dword [ebp - 0x34], 0xfdb6
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], eax
jge 0x1002e0d4
mov dword [ebp - 0xa4], 1
jmp 0x1002e0db
and dword [ebp - 0xa4], 0
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa4]
jl 0x1002e0ff
mov dword [ebp - 0xe8], 1
jmp 0x1002e106
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0xac], 0xbe92e3f9
cmp dword [ebp - 0xac], 0xe5809974
jbe 0x1002e13d
mov dword [ebp - 0xbc], 1
jmp 0x1002e144
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xbc], eax
je 0x1002e15e
mov dword [ebp - 0xc4], 1
jmp 0x1002e165
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
sub eax, 0x2715ee56
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x48]
je 0x1002e190
mov dword [ebp - 0xd4], 1
jmp 0x1002e197
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0xd4], eax
jge 0x1002e1b1
mov dword [ebp - 0xdc], 1
jmp 0x1002e1b8
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1002e1e1
push 0
push 0x152c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov esi, 0x1061a7dc
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret