Function at 0x436e60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d309e
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x68], ebp
mov edi, dword [esp + 0xa8]
xor ebx, ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
movzx ecx, byte [edi]
lea esi, [edi + 2]
mov eax, 0x100
mov dword [esp + 0xa0], ebx
imul cx, ax
movzx eax, byte [edi + 1]
mov edx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebx
add cx, ax
movzx eax, cx
xor ecx, ecx
mov dword [esp + 0x5c], eax
cmp cx, ax
jae 0x437154
push esi
call fcn.004063e3
add esi, 4
mov dword [esp + 0x58], eax
pop ecx
mov eax, 0x100
mov dword [esp + 0x70], esi
mov dword [esp + 0x38], ebx
movzx ecx, byte [esi]
imul cx, ax
movzx eax, byte [esi + 1]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
add cx, ax
movzx ecx, cx
mov dword [esp + 0x60], ecx
xor edx, edx
mov byte [esp + 0xa0], 1
mov eax, ebx
cmp dx, cx
jmp 0x43711e
movzx eax, ax
lea eax, [eax*4 + 2]
add eax, esi
push eax
call fcn.004063e3
add edi, eax
push edi
call fcn.004063e3
add edi, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edi
pop ecx
pop ecx
lea esi, [edi + eax*4]
mov dword [esp + 0x14], esi
test eax, eax
je 0x43710c
cmp dword [esp + 0x38], 0
jne 0x436fdf
push dword [esp + 0x54]
push 0x40bbdca4
push 0x252c635e
push 0xc68ff8a3
call fcn.00401f0f
add esp, 0xc
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004ba78c
mov ecx, dword [ebp + 0x5c]
lea eax, [esp + 0x80]
add esp, 0xc
push ebx
push eax
call fcn.0044545d
mov dword [esp + 0x38], eax
test eax, eax
je 0x437198
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0044528c
pop ecx
pop ecx
test eax, eax
je 0x437198
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43710c
xor ebp, ebp
push edi
call fcn.004063e3
movzx ebx, byte [esi + 2]
mov edx, eax
movzx edi, byte [esi + 1]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shl edi, 4
or edi, eax
shl ebx, 8
movzx eax, byte [esi + 3]
or ebx, eax
movzx eax, byte [esi]
shr eax, 6
pop ecx
mov dword [esp + 0x64], eax
xor ecx, ecx
mov eax, dword [esp + 0x14]
add edi, edx
push ebp
adc ecx, ebp
xor esi, esi
push 0xc0
movzx eax, byte [eax + 4]
add ebx, edi
cdq
push ecx
push edi
adc esi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
call fcn.004c08a0
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
adc dword [esp + 0x24], edx
push ebp
push 0xc0
movzx eax, byte [eax + 5]
cdq
push esi
push ebx
mov edi, eax
mov dword [esp + 0x30], edx
call fcn.004c08a0
mov ecx, dword [esp + 0x20]
add edi, eax
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x64]
adc ecx, edx
mov dword [esp + 0x20], ecx
cmp edi, 1
je 0x437086
cmp edi, 2
jne 0x4370b8
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esi + 6]
push eax
push edx
push dword [esp + 0x38]
call fcn.00436418
mov ebx, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x4370c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp edi, 1
je 0x4370ca
cmp edi, 2
jne 0x4370ea
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esi + 0xb]
push eax
push ecx
push dword [esp + 0x7c]
call fcn.00436418
add esp, 0x14
inc ebx
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x2c]
add esi, 0x10
add edi, 4
mov dword [esp + 0x14], esi
dec dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
jne 0x436fe9
mov ebp, dword [esp + 0x68]
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x70]
inc eax
cmp ax, word [esp + 0x60]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x34], eax
jb 0x436f43
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], bl
call fcn.0040a7be
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp ax, word [esp + 0x5c]
jb 0x436ef3
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
mov ecx, ebp
push eax
call fcn.0042bc80
mov bl, 1
lea ecx, [esp + 0x48]
call fcn.0040a7be
mov al, bl
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004b94b6
add esp, 0x90
ret 8
mov dword [ebp + 0x74], 0x22
lea ecx, [esp + 0x3c]
mov al, byte [ebp + 0x26]
mov byte [ebp + 0x78], al
mov al, byte [ebp + 0x30]
mov byte [ebp + 0x79], al
mov al, byte [ebp + 0x31]
mov byte [ebp + 0x7a], al
call fcn.0040a7be
jmp 0x437163