Function at 0x405150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x270
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x224], 0xdc50cc90
mov eax, dword [ebp - 0x224]
mov ecx, eax
sub ecx, 0x7c61a0bd
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], ecx
jg 0x405341
jmp 0x40519d
mov eax, dword [ebp - 0x228]
sub eax, 0xd2a14e47
mov dword [ebp - 0x230], eax
jg 0x4051d5
jmp 0x4051b9
mov eax, dword [ebp - 0x228]
sub eax, 0xbd5af52f
mov dword [ebp - 0x234], eax
je 0x40545c
jmp 0x40535d
mov eax, dword [ebp - 0x228]
sub eax, 0x383f794f
mov dword [ebp - 0x238], eax
jg 0x405325
jmp 0x4051f1
mov eax, dword [ebp - 0x228]
sub eax, 0x28b7eeb7
mov dword [ebp - 0x23c], eax
jg 0x405309
jmp 0x40520d
mov eax, dword [ebp - 0x228]
sub eax, 0x1bd60893
mov dword [ebp - 0x240], eax
jg 0x4052ed
jmp 0x405229
mov eax, dword [ebp - 0x228]
sub eax, 0xef6fe4d
mov dword [ebp - 0x244], eax
jg 0x4052d1
jmp 0x405245
mov eax, dword [ebp - 0x228]
sub eax, 0xecb0d9
mov dword [ebp - 0x248], eax
jg 0x4052b5
jmp 0x405261
mov eax, dword [ebp - 0x228]
sub eax, 0xd2a14e48
mov dword [ebp - 0x24c], eax
je 0x4053d7
jmp 0x40527d
mov eax, dword [ebp - 0x228]
sub eax, 0xdc50cc90
mov dword [ebp - 0x250], eax
je 0x405362
jmp 0x405299
mov eax, dword [ebp - 0x228]
sub eax, 0xe50c91bb
mov dword [ebp - 0x254], eax
je 0x4053ad
jmp 0x40535d
mov eax, dword [ebp - 0x228]
sub eax, 0xecb0da
mov dword [ebp - 0x258], eax
je 0x405405
jmp 0x40535d
mov eax, dword [ebp - 0x228]
sub eax, 0xef6fe4e
mov dword [ebp - 0x25c], eax
je 0x405384
jmp 0x40535d
mov eax, dword [ebp - 0x228]
sub eax, 0x1bd60894
mov dword [ebp - 0x260], eax
je 0x405427
jmp 0x40535d
mov eax, dword [ebp - 0x228]
sub eax, 0x28b7eeb8
mov dword [ebp - 0x264], eax
je 0x40548b
jmp 0x40535d
mov eax, dword [ebp - 0x228]
sub eax, 0x383f7950
mov dword [ebp - 0x268], eax
je 0x4054a1
jmp 0x40535d
mov eax, dword [ebp - 0x228]
sub eax, 0x7c61a0be
mov dword [ebp - 0x26c], eax
je 0x405474
jmp 0x40535d
jmp 0x4054ad
mov eax, 0xd2a14e48
mov ecx, 0xef6fe4e
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0xc]
cmp byte [esi + edx], 0
cmovne eax, ecx
mov dword [ebp - 0x224], eax
jmp 0x4054ad
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
movsx eax, dl
mov si, ax
mov eax, dword [ebp - 0x14]
mov word [ebp + eax*2 - 0x21e], si
mov dword [ebp - 0x224], 0xe50c91bb
jmp 0x4054ad
mov eax, 0
mov ecx, dword [ebp - 0x14]
mov edx, eax
sub edx, ecx
mov ecx, eax
sub ecx, 1
add edx, ecx
sub eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x224], 0xdc50cc90
jmp 0x4054ad
mov eax, dword [ebp - 0x14]
mov word [ebp + eax*2 - 0x21e], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x224], 0xecb0da
jmp 0x4054ad
mov eax, 0x28b7eeb8
mov ecx, 0x1bd60894
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x18], 0
cmovne eax, ecx
mov dword [ebp - 0x224], eax
jmp 0x4054ad
lea eax, [ebp - 0x21e]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409500
mov ecx, 0x7c61a0be
mov edx, 0xbd5af52f
cmp eax, 0
cmove ecx, edx
mov dword [ebp - 0x224], ecx
jmp 0x4054ad
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x224], 0x383f7950
jmp 0x4054ad
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x224], 0xecb0da
jmp 0x4054ad
mov dword [ebp - 8], 0
mov dword [ebp - 0x224], 0x383f7950
jmp 0x4054ad
mov eax, dword [ebp - 8]
add esp, 0x270
pop esi
pop ebp
ret
jmp 0x405178