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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10064d72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
cmp byte [ebp + 0x14], 0
mov eax, ecx
push ebx
push esi
push edi
mov byte [esp + 0x1c], dl
mov dword [esp + 0x18], eax
je 0x1002cb31
cmp byte [ebp + 0x1c], 0
je 0x1002cb17
mov dword [esp + 0x18], 0x187e
cmp dword [esp + 0x18], 0x1c22
push 0
pop ebx
jle 0x1002cac9
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov esi, ebx
mov edi, ebx
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov eax, edi
cdq
idiv ecx
lea ecx, [esp + 0x98]
or edx, esi
mov eax, edx
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002ca88
mov eax, dword [eax]
push eax
call fcn.1004b9e4
pop ecx
push ebx
push 1
lea ecx, [esp + 0xa0]
call fcn.10002062
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x61d0
jl 0x1002ca66
inc edi
cmp edi, 0x2acf
jl 0x1002ca60
inc esi
cmp esi, 0x2399
jl 0x1002ca5e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0x21
pop edx
lea ecx, [esp + 0xb0]
call fcn.1002706f
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [esp + 0xe0], ebx
call fcn.1002ef1f
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.100021ce
cmp dword [esp + 0x18], 0x14da
jge 0x1002cdac
push str.jmwejix_ixxqm_boobyszp_rdmbys_ujnubtyeo_tzujaze_jre
call fcn.1004b9e4
pop ecx
jmp 0x1002cdac
push 0x207a
push 0x1944
push 0x571
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x1002cdac
test dl, dl
je 0x1002cd37
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov edi, dword [ebp + 0x10]
mov dword [esp + 0xd4], 3
cmp dword [edi + 0x10], ebx
je 0x1002cd20
push 0x2e
pop eax
push 2
mov ecx, ebx
mov dword [esp + 0x10], 0xb1011500
mov word [esp + 0x18], ax
pop esi
mov dword [esp + 0x10], ecx
cmp esi, 2
jne 0x1002cb84
push esi
pop ecx
mov dword [esp + 0x10], ecx
jmp 0x1002cbd9
movzx edx, byte [esp + esi + 0xd]
mov eax, esi
sub eax, ecx
push 0x1d20
push 0x332d
movzx eax, byte [esp + eax + 0x12]
movzx eax, word [esp + eax*2 + 0x1c]
mov ecx, eax
and eax, edx
or ecx, edx
mov dl, 1
sub ecx, eax
movzx eax, byte [esp + esi + 0x14]
mov word [esp + eax*2 + 0x1c], cx
lea eax, [esp + 0x18]
push eax
push 0x746e
push 0x1027
push 1
push 1
mov ecx, 0x3736
call fcn.1002c773
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
add esi, 2
cmp esi, 4
jb 0x1002cb77
xor eax, eax
mov dword [esp + 0x70], 7
mov word [esp + 0x16], ax
lea ecx, [esp + 0x5c]
mov word [esp + 0x5c], ax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x70], ebx
call fcn.10007ef5
lea eax, [esp + 0x5c]
mov byte [esp + 0xd4], 4
push eax
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.1002b50c
pop ecx
push ebx
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xdc], 6
call fcn.100021ce
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
push 0x18
cdq
pop ecx
idiv ecx
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x1002cce5
push 0x2d
pop eax
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x44]
xor eax, eax
mov dword [esp + 0x58], 7
mov word [esp + 0x2e], ax
mov word [esp + 0x44], ax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x58], ebx
call fcn.10007ef5
lea eax, [esp + 0x44]
mov byte [esp + 0xd4], 7
push eax
mov edx, edi
lea ecx, [esp + 0x90]
call fcn.1002b50c
pop ecx
mov esi, eax
lea eax, [esp + 0x20]
cmp eax, esi
je 0x1002ccc5
mov ecx, eax
call fcn.1002eded
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x28], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esp + 0x8c]
call fcn.1002eded
push ebx
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 6
call fcn.100021ce
push 1
lea eax, [esp + 0x38]
xor dl, dl
push eax
push ebx
push 0x1378
lea eax, [esp + 0x30]
mov ecx, 0x3f9c
push 0x7af7
push eax
call fcn.1002c9fe
add esp, 0x18
mov byte [esp + 0xd4], 3
lea ecx, [esp + 0x20]
call fcn.1002eded
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.1002eb5a
lea ecx, [esp + 0x34]
call fcn.1002eec6
jmp 0x1002cdac
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
jmp 0x1002cda8
push esi
lea ecx, [esp + 0x78]
call fcn.10001c5c
mov dword [esp + 0xd4], 9
lea ebx, [esp + 0x74]
cmp dword [esp + 0x88], 8
cmovae ebx, dword [esp + 0x74]
call fcn.1004b61c
push 0xa
and dword [eax], 0
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.1004b877
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
call fcn.1002eb02
or dword [esp + 0xd4], 0xffffffff
lea ecx, [esp + 0x74]
push 0
push 1
call fcn.100021ce
add esi, 0x18
cmp esi, edi
jne 0x1002cd41
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret