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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10057763
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
cmp byte [ebp + 0x24], 0
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0x20], ecx
push 0
mov dword [esp + 0x30], esi
mov edi, 0x1006cbb8
pop ebx
je 0x1003775c
mov dword [esp + 0x14], 0x7b91
cmp dword [esp + 0x14], 0x7ee4
jle 0x10037250
mov esi, ebx
mov dword [esp + 0x1c], ebx
mov ecx, ebx
mov dword [esp + 0x20], ebx
mov eax, esi
mov dword [esp + 0x10], ebx
cdq
idiv ecx
mov eax, edx
mov dword [esp + 0x18], eax
mov esi, ebx
mov ebx, dword [esp + 0x10]
and eax, esi
mov ecx, edi
and eax, ebx
cdq
push edx
push eax
call fcn.1000c318
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 0x4544
jl 0x100371f0
mov eax, dword [esp + 0x10]
inc eax
push 0
mov dword [esp + 0x14], eax
cmp eax, 0x79e7
mov eax, dword [esp + 0x1c]
pop ebx
jl 0x100371ea
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 0x106e
jl 0x100371db
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0x459
jl 0x100371d5
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetCaretPos]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0xfc], ebx
cmp dword [esp + 0x14], 0x7a7c
jge 0x10037279
mov edx, str.cbewfpiyw_twlp_otjyoh_txmsd_iacrx_hqukebupd_ooydwq_qtgbmit_dyx
mov ecx, edi
call fcn.1000e58f
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], 0xbc58
mov dword [esp + 0x14], ebx
push 4
call fcn.1000c530
push 0x5c4c
push ecx
lea eax, [esp + 0x6c]
mov byte [esp + 0x104], 1
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x30]
push eax
mov edx, 0x6add
call fcn.100378e2
add esp, 0xc
mov dword [esp + 0x28], ebx
jmp 0x100372d2
mov eax, dword [esp + 0x28]
mov dword [esp + eax*4 + 0x74], 0x351a938
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 3
jl 0x100372c2
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x10]
neg eax
sbb eax, eax
inc eax
cmp dword [esp + 0x18], eax
jl 0x10037314
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, 0xaa43b2b
setg cl
xor edx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp ecx, eax
mov eax, dword [esp + 0x64]
setne dl
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
mov ecx, 0xa421
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x10]
sub eax, ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], eax
mov byte [esp + 0xfc], bl
call fcn.1000c5b3
mov eax, dword [ebp + 0x34]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x1c], 0x150
cmp dword [esp + 0x1c], 0x1d2
mov dword [esp + 0x20], eax
jle 0x100373d1
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov esi, ebx
mov dword [esp + 0x14], ebx
mov edi, esi
mov esi, 0x7078
mov eax, edi
lea ecx, [esp + 0xc0]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100373a6
mov eax, dword [eax]
push eax
call fcn.1004139c
pop ecx
push ebx
push 1
lea ecx, [esp + 0xc8]
call fcn.1000c8ef
dec edi
dec esi
jne 0x1003738b
mov esi, dword [esp + 0x14]
inc esi
mov dword [esp + 0x14], esi
cmp esi, 0x71a9
jl 0x10037384
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x1c], 0xfffffdfa
jge 0x100373ea
push str.vhrxlmf_kngcnq_coeqbsmm_xls_xqtvxebq_uhep_rpkfgoxkk_rqyvci_ybyndsymv_dgks_ecqtr_tknrxrewr
call fcn.1004139c
pop ecx
mov dword [esp + 0x14], 0x7d55
cmp dword [esp + 0x14], 0x800d
jle 0x10037447
mov esi, ebx
mov edi, ebx
mov ecx, edi
mov eax, esi
shl eax, cl
lea ecx, [esp + 0x90]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003741f
mov eax, dword [eax]
push eax
call fcn.1004139c
pop ecx
push ebx
push 1
lea ecx, [esp + 0x98]
call fcn.1000c8ef
inc edi
cmp edi, 0x31b8
jl 0x10037400
inc esi
cmp esi, 0x11fd
jl 0x100373fe
mov dword [esp + 0x54], 0xd77cccae
cmp dword [esp + 0x14], 0x7d45
jge 0x10037464
push str.lndixpmcj_vwe_armi_iiptb_juqrjnh_smbrduatk_wpsln_mqv_ujebu
call fcn.1004139c
pop ecx
lea eax, [esp + 0x26]
mov dword [esp + 0x4c], 0x9034e105
push eax
push ecx
mov byte [esp + 0x2e], bl
call fcn.10037a5d
push 0x7cbc
push 0x549b
lea eax, [esp + 0x5c]
mov edx, 0x4d71
push eax
push 0x6531
lea eax, [esp + 0x60]
push eax
push ebx
push 0x15c6
lea eax, [esp + 0x78]
push eax
push 0x7fe8
push 1
lea eax, [esp + 0x80]
push eax
push 0x565a
push 0x4e35
lea ecx, [esp + 0x70]
call fcn.10037179
mov edi, dword [ebp + 0x34]
add esp, 0x3c
cmp dword [edi + 0x14], 8
jb 0x100374d6
mov eax, dword [edi]
jmp 0x100374d8
mov eax, edi
push dword [edi + 0x10]
mov ecx, dword [esp + 0x30]
push ebx
push eax
call fcn.10036b7f
mov esi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x20]
jae 0x10037741
cmp eax, 0xffffffff
je 0x10037632
cmp eax, esi
je 0x100375fc
mov dword [esp + 0x10], 0x7632667a
mov dword [esp + 0x10], ebx
jmp 0x1003752c
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x80], 0xdf99
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10037519
mov dword [esp + 0x10], 3
cmp dword [esp + 0x10], ebx
jl 0x100375d1
push 1
lea ecx, [esp + 0x5c]
call fcn.1000c530
push ecx
lea eax, [esp + 0x74]
mov byte [esp + 0x100], 3
push eax
push ecx
push 0x2f30
mov dl, 1
lea ecx, [esp + 0x68]
call fcn.10037b1e
mov byte [esp + 0x37], bl
add esp, 0x10
cmp byte [esp + 0x27], 0
je 0x1003759d
push ecx
push ecx
push 0x6298
push 0x2656
push 0x31b1
mov edx, 0x35fc
mov cl, 1
call fcn.10037074
add esp, 0x14
mov ecx, dword [esp + 0x58]
mov dword [ecx], ebx
mov eax, dword [ecx]
inc dword [ecx]
cmp dword [ecx], 4
mov dword [esp + eax*4 + 0x80], 0x543b
jl 0x100375a3
lea ecx, [esp + 0x58]
mov byte [esp + 0xfc], bl
call fcn.1000c5b3
dec dword [esp + 0x10]
jns 0x10037545
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
xor dl, dl
push eax
lea eax, [esp + 0x44]
mov ecx, 0x8f8
push eax
lea eax, [esp + 0x44]
push 0x3fb9
push eax
call fcn.10037c29
mov eax, dword [esp + 0x44]
add esp, 0x14
mov esi, dword [esp + 0x18]
add esi, eax
cmp dword [edi + 0x14], 8
mov dword [esp + 0x38], esi
jb 0x10037610
mov eax, dword [edi]
jmp 0x10037612
mov eax, edi
push dword [edi + 0x10]
mov ecx, dword [esp + 0x30]
push esi
push eax
call fcn.10036b7f
mov dword [esp + 0x30], eax
cmp esi, 0xffffffff
jne 0x100374f0
jmp 0x10037741
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xa8]
push 0xffffffffffffffff
push esi
push eax
call fcn.1003b7dc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x100], 2
call fcn.1003b88a
push ebx
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x104], bl
call fcn.1000cafd
mov dword [esp + 0x18], 0x70d4
cmp dword [esp + 0x18], 0x748d
jle 0x10037720
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
mov esi, ebx
mov dword [esp + 0x20], ebx
mov edi, ebx
mov dword [esp + 0x1c], ebx
mov eax, ebx
mov dword [esp + 0x14], ebx
lea ecx, [eax + edi]
mov dword [esp + 0x34], ebx
mov edi, esi
mov esi, ebx
sar edi, cl
mov ecx, esi
mov eax, edi
sar eax, cl
lea ecx, [esp + 0xd8]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100376cb
mov eax, dword [eax]
push eax
call fcn.1004139c
pop ecx
push ebx
push 1
lea ecx, [esp + 0xe0]
call fcn.1000c8ef
inc esi
cmp esi, 0x5e45
jl 0x100376ac
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
inc eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp eax, 0x5840
jl 0x1003769f
inc edi
mov dword [esp + 0x1c], edi
cmp edi, 0x778b
jl 0x10037699
inc esi
mov dword [esp + 0x20], esi
cmp esi, 0x5231
jl 0x10037693
mov edx, 0x146e
xor cl, cl
call fcn.10037c19
cmp dword [esp + 0x18], 0x6f75
jge 0x10037741
push str.fiodhyuu_ggshau_fnmtudb_tnqpmcf_mxxgrixi_onqniv_uxt
call fcn.1004139c
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x3c]
push eax
call fcn.1003b8fa
lea ecx, [esp + 0x3c]
call fcn.1003bcb1
jmp 0x1003782f
mov dword [esp + 0x14], 0x3ce7
cmp dword [esp + 0x14], 0x3d46
jle 0x1003779f
mov esi, ebx
mov dword [esp + 0x1c], ebx
lea eax, [ebx + esi]
mov ecx, edi
cdq
push edx
push eax
call fcn.1000c318
inc ebx
cmp ebx, 0x79f9
jl 0x10037774
inc esi
push 0
pop ebx
cmp esi, 0x6d86
jl 0x10037770
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0x14], 0x396f
jge 0x100377b5
mov edx, str.hxiuqq_gcslmvq_nfwobj
mov ecx, edi
call fcn.1000e58f
mov esi, dword [ebp + 0x28]
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov eax, dword [esi]
cmp eax, 0x5eaf
mov eax, dword [esi]
setne cl
xor edx, edx
sub ecx, eax
mov dword [edi], ecx
mov ecx, dword [edi]
mov eax, dword [esi]
cmp ecx, eax
mov eax, dword [esi]
mov ecx, dword [esi]
setne dl
mov eax, dword [esi]
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
setl dl
xor ecx, ecx
cmp edx, eax
mov edx, dword [ebp + 0x1c]
setne cl
mov dword [edx], ecx
mov eax, dword [edx]
mov eax, dword [edi]
add eax, dword [esi]
je 0x10037806
cmp dword [edx], ebx
je 0x10037806
xor ebx, ebx
inc ebx
mov eax, dword [esi]
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp + 0x30]
setle cl
mov dword [eax], ecx
mov eax, dword [eax]
mov eax, dword [esi]
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 5
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [ecx]
mov dword [esi], eax
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret