Function at 0x10040d9b
Capabilities:
Terminate process

Disassembly:
mov eax, 0x10064c32
call fcn.100630d8
sub esp, 0x64
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], edx
je 0x10040e65
cmp byte [ebp + 0x10], 0
je 0x10040de5
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
jmp 0x10040ddb
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xc64f6b90
inc dword [edx]
cmp dword [edx], 1
jl 0x10040dce
jmp 0x10041050
mov dword [ebp + 0x14], 0x6db0
cmp dword [ebp + 0x14], 0x6f63
jle 0x10040e28
push 0x87c
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor esi, esi
xor edi, edi
lea eax, [edi + esi]
mov ecx, 0x10081078
cdq
push edx
push eax
call fcn.10004aca
inc edi
cmp edi, 0x4541
jl 0x10040e06
inc esi
cmp esi, 0x5fa5
jl 0x10040e04
mov eax, dword [ebp + 0xc]
dec dword [eax]
and dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0x6c04
jge 0x10040de0
mov edx, str.bpsjsxmnw_euak_zwhbz_dcvyqnm
mov ecx, 0x10081078
call fcn.10006f4f
jmp 0x10040de0
cmp byte [ebp + 8], 0
je 0x10040fd7
mov dword [ebp - 0x1c], 0x127e
cmp dword [ebp - 0x1c], 0x14d9
jle 0x10040eef
xor esi, esi
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp + 0x14], 0x4662
mov ebx, edi
mov esi, 0x2103
mov eax, ebx
lea ecx, [ebp - 0x3c]
cdq
push edx
push eax
call fcn.10001ab5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10040eab
mov eax, dword [eax]
push eax
call fcn.1004c653
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.100050bb
inc ebx
dec esi
jne 0x10040e94
mov esi, dword [ebp - 0x14]
add edi, esi
dec dword [ebp + 0x14]
jne 0x10040e8d
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x4e2a
jl 0x10040e84
push 0xefa
push 0x1c81
push 0x18c2
push 0
call dword [sym.imp.USER32.dll_GetMessageA]
mov dword [ebp - 0x18], 0x1ab9
cmp dword [ebp - 0x18], 0x1c1b
jle 0x10040f8c
push 0
push 0x959
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
xor esi, esi
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp + 0x14], edi
mov ecx, edi
mov eax, esi
xor ebx, ebx
sar eax, cl
mov dword [ebp - 0x20], eax
mov edi, eax
xor esi, esi
mov eax, ebx
cdq
idiv esi
mov eax, edi
mov ecx, edx
sar eax, cl
lea ecx, [ebp - 0x54]
cdq
push edx
push eax
call fcn.10001ab5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10040f49
mov eax, dword [eax]
push eax
call fcn.1004c653
pop ecx
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.100050bb
inc esi
cmp esi, 0x7400
jl 0x10040f29
inc ebx
cmp ebx, 0x4b71
jl 0x10040f27
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp - 0x14]
inc edi
mov dword [ebp + 0x14], edi
cmp edi, 0x13f9
jl 0x10040f1a
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x514
jl 0x10040f15
cmp dword [ebp - 0x18], 0x1798
jge 0x10040fa0
push str.fgqtz_bobaasact_wykqwkz_dxddr_mkugxuue_utcucgj_rhgkqt_ithaflbv_wyvc_kodhumwnu
call fcn.1004c653
pop ecx
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x10040fc3
mov esi, dword [ebp - 0x24]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], 3
jl 0x10040fb1
cmp dword [ebp - 0x1c], 0xefc
jge 0x10041050
push str.wnyt_mpjapq_lhppxggr_qnukeubuk
jmp 0x1004104a
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x10040fe7
push 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp + 0x14], 0x930
cmp dword [ebp + 0x14], 0xb77
jle 0x1004103c
xor esi, esi
xor edi, edi
mov eax, esi
lea ecx, [ebp - 0x6c]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10001ab5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10041017
mov eax, dword [eax]
push eax
call fcn.1004c653
pop ecx
push 0
push 1
lea ecx, [ebp - 0x6c]
call fcn.100050bb
inc edi
cmp edi, 0x2a44
jl 0x10040ffb
inc esi
cmp esi, 0x50e7
jl 0x10040ff9
cmp dword [ebp + 0x14], 0x82b
jge 0x10041050
push str.oyn_lzb_wqip_xrk_qbwfrg
call fcn.1004c653
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret