Function at 0x49b680
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6146cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [0x6abf00]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x8c], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 3
call fcn.0041a0a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 4
call fcn.004905e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 5
call fcn.00487530
push 1
mov ecx, esi
mov dword [esp + 0x90], 6
call fcn.005dc0ed
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x180]
push eax
call fcn.005da6b4
mov ecx, dword [esi + 0x23c]
mov eax, dword [esi + 0x234]
cmp ecx, ebx
setne cl
cmp eax, ebx
mov byte [esp + 0x20], cl
je 0x49b73e
mov dx, word [esi + 0x238]
mov word [esp + 0x22], dx
jmp 0x49b743
mov word [esp + 0x22], bx
mov eax, dword [esi + 0x284]
push eax
call fcn.0049bbb0
mov ecx, dword [esp + 0x70]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, ecx
add esp, 4
and eax, 3
xor ecx, eax
push ebx
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x214]
push ebx
push 0x147
push ecx
call edi
cmp eax, 0xffffffff
je 0x49b791
mov edx, dword [esi + 0x214]
push ebx
push eax
push 0x150
push edx
call edi
cmp eax, 0xffffffff
jne 0x49b7c3
mov eax, dword [0x6abf00]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 7
push ecx
lea ecx, [esp + 0x34]
call fcn.005dd29d
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 6
call fcn.005dd1b0
jmp 0x49b7d8
lea edx, [eax + eax*2]
mov eax, dword [0x6b4364]
lea ecx, [esp + 0x30]
lea eax, [eax + edx*4]
push eax
call fcn.005dd29d
mov ecx, esi
call fcn.0049b640
lea ecx, [esi + 0x27c]
mov dword [esp + 0x24], eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.005dd29d
lea edx, [esi + 0x278]
lea ecx, [esp + 0x2c]
push edx
call fcn.005dd29d
push ecx
lea eax, [esi + 0x248]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005dcf25
call fcn.0049bbc0
lea edx, [esi + 0x24c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x40], eax
call fcn.005dcf25
call fcn.0049bbc0
mov dword [esp + 0x38], eax
lea eax, [esi + 0x250]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005dcf25
call fcn.0049bbc0
lea edx, [esi + 0x254]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x48], eax
call fcn.005dcf25
call fcn.0049bbc0
mov dword [esp + 0x40], eax
lea eax, [esi + 0x240]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005dcf25
call fcn.0049bbc0
lea edx, [esi + 0x244]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x50], eax
call fcn.005dcf25
call fcn.0049bbc0
mov dword [esp + 0x48], eax
lea eax, [esi + 0x270]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005dcf25
call fcn.0049bbc0
lea edx, [esi + 0x26c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x54], eax
call fcn.005dcf25
call fcn.0049bbc0
mov dword [esp + 0x54], eax
lea eax, [esi + 0x25c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005dcf25
call fcn.0049bbc0
lea edx, [esi + 0x258]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x5c], eax
call fcn.005dcf25
call fcn.0049bbc0
mov dword [esp + 0x5c], eax
lea eax, [esi + 0x260]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005dcf25
call fcn.0049bbc0
lea edx, [esi + 0x274]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x64], eax
call fcn.005dcf25
call fcn.0049bbc0
mov dword [esp + 0x64], eax
lea eax, [esi + 0x268]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005dcf25
call fcn.0049bbc0
lea edx, [esi + 0x264]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x6c], eax
call fcn.005dcf25
call fcn.0049bbc0
mov dword [esp + 0x6c], eax
add esi, 0x288
lea eax, [esp + 0x74]
add esp, 4
cmp esi, eax
mov dword [esp + 0x14], esi
je 0x49b9f8
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub ecx, eax
xor ebp, ebp
sar ecx, 2
je 0x49b9e7
mov esi, dword [eax + ebp*4]
cmp esi, ebx
je 0x49b9ce
mov edi, dword [esi]
lea ecx, [esi + 4]
call fcn.005dd1b0
cmp esi, ebx
je 0x49b9c4
push 0xc
push esi
call fcn.0050d4e0
add esp, 8
cmp edi, ebx
mov esi, edi
jne 0x49b9ab
mov eax, dword [esp + 0x74]
mov dword [eax + ebp*4], ebx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
inc ebp
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x49b9a4
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x84], ebx
call fcn.00492970
mov ebp, dword [esp + 0x94]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.005dcf25
mov dx, word [esp + 0x22]
mov cl, byte [esp + 0x20]
mov eax, dword [esp + 0x24]
mov word [ebp + 6], dx
lea edx, [esp + 0x28]
mov byte [ebp + 4], cl
lea ecx, [ebp + 0xc]
push edx
mov byte [esp + 0x90], 8
mov dword [ebp + 8], eax
call fcn.005dcf25
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0x10]
push eax
mov byte [esp + 0x90], 9
call fcn.005dcf25
lea edx, [esp + 0x30]
lea ecx, [ebp + 0x14]
push edx
mov byte [esp + 0x90], 0xa
call fcn.005dcf25
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x44]
lea edi, [ebp + 0x30]
mov dword [ebp + 0x28], ecx
mov ecx, 8
lea esi, [esp + 0x4c]
mov dword [ebp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x2c], edx
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x70]
mov dl, byte [esp + 0x71]
lea esi, [ebp + 0x54]
mov dword [ebp + 0x50], eax
mov al, byte [esp + 0x72]
mov byte [esp + 0x8c], 0xb
mov byte [esi], cl
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], esi
mov byte [esi + 1], dl
mov byte [esi + 2], al
call fcn.004927f0
lea ecx, [esi + 4]
push eax
mov byte [esp + 0x90], 0xc
call fcn.00482bc0
lea edx, [esp + 0x80]
push ebx
push edx
lea ecx, [esi + 0x10]
mov byte [esp + 0x94], 0xe
call fcn.00492050
lea eax, [esp + 0x70]
mov ecx, esi
push eax
mov byte [esp + 0x90], 0xf
call fcn.00492970
mov dword [esp + 0x18], 1
mov ebx, 0x10
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 0x15
call fcn.00490d00
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 0x13
call fcn.004909d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 0x12
call fcn.005dd1b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 0x11
call fcn.005dd1b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], bl
call fcn.005dd1b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0
call fcn.005dd1b0
mov ecx, dword [esp + 0x84]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret 4