Function at 0x436810
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x944
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push str.IsWow64Process
push str.kernel32
mov word [edi + 8], ax
mov dword [ebp - 0x88c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
test ebx, ebx
je 0x436877
lea eax, [ebp - 0x88c]
push eax
call esi
push eax
call ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x88c]
jmp 0x43687d
mov eax, dword [ebp - 0x88c]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x890]
push eax
mov dword [ebp - 0x890], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 0x890], 0
jne 0x4368ad
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4368b4
mov dword [edi + 0x14], 1
push 0x7ff
lea eax, [ebp - 0x887]
mov byte [ebp - 0x888], 0
push 0
push eax
call fcn.004e4b60
add esp, 8
mov dword [ebp - 0x88c], 0
lea eax, [ebp - 0x888]
lea esi, [edi + 0x20]
push eax
push esi
lea eax, [ebp - 0x88c]
push eax
call fcn.00438960
cmp dword [ebp - 0x88c], 0
jne 0x436919
push ecx
lea eax, [ebp - 0x888]
push eax
push esi
lea eax, [ebp - 0x88c]
push eax
call fcn.00439350
cmp dword [ebp - 0x88c], 0
je 0x436920
mov dword [edi + 0x1c], 1
cmp byte [ebp - 0x888], 0
jne 0x43692d
xor ecx, ecx
jmp 0x43693f
lea ecx, [ebp - 0x888]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436936
sub ecx, edx
push ecx
lea eax, [ebp - 0x888]
push eax
lea ecx, [edi + 0x74]
call fcn.00402090
call fcn.00437030
mov esi, eax
call fcn.0045ae10
call fcn.0045aec0
mov ecx, esi
call fcn.0045b030
add esi, 4
mov ebx, eax
cmp byte [esi], 0
jne 0x436975
xor ecx, ecx
jmp 0x436989
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436980
sub ecx, edx
push ecx
push esi
lea ecx, [edi + 0x8c]
call fcn.00402090
cmp dword [edi + 0x1c], 0
mov dword [edi + 0x18], ebx
je 0x4369a8
mov dword [edi + 0x24], 2
jmp 0x4369b3
test ebx, ebx
je 0x4369b3
mov dword [edi + 0x24], 0
push 0x7f
lea eax, [ebp - 0x87]
mov byte [ebp - 0x88], 0
push 0
push eax
call fcn.004e4b60
add esp, 8
lea eax, [ebp - 0x88]
push eax
call fcn.00438870
cmp byte [ebp - 0x88], 0
jne 0x4369e6
xor ecx, ecx
jmp 0x4369f9
lea ecx, [ebp - 0x88]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4369f0
sub ecx, edx
push ecx
lea eax, [ebp - 0x88]
push eax
lea ecx, [edi + 0x5c]
call fcn.00402090
lea eax, [edi + 0x50]
push eax
call fcn.00436aa0
mov ecx, edi
call fcn.00436cb0
push 0xa8
lea eax, [ebp - 0x93c]
mov dword [ebp - 0x940], 0
push 0
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0x8fc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x940]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, 0x77777777
imul dword [ebp - 0x940]
sub edx, dword [ebp - 0x940]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [edi + 0xa], ax
call fcn.00436d60
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.00436e10
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e03e9
mov esp, ebp
pop ebp
ret