Function at 0x405320
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], 0x10aa39b1
mov eax, dword [ebp - 0x224]
mov ecx, eax
sub ecx, 0x7d8109b5
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], ecx
jg 0x405511
jmp 0x40536d
mov eax, dword [ebp - 0x228]
sub eax, 0x75d2beb4
mov dword [ebp - 0x230], eax
jg 0x4054f5
jmp 0x405389
mov eax, dword [ebp - 0x228]
sub eax, 0x636eb44a
mov dword [ebp - 0x234], eax
jg 0x4054d9
jmp 0x4053a5
mov eax, dword [ebp - 0x228]
sub eax, 0x212d96da
mov dword [ebp - 0x238], eax
jg 0x4054bd
jmp 0x4053c1
mov eax, dword [ebp - 0x228]
sub eax, 0x10aa39b0
mov dword [ebp - 0x23c], eax
jg 0x4054a1
jmp 0x4053dd
mov eax, dword [ebp - 0x228]
sub eax, 0xd8eef3e3
mov dword [ebp - 0x240], eax
jg 0x405485
jmp 0x4053f9
mov eax, dword [ebp - 0x228]
sub eax, 0xb2e5f851
mov dword [ebp - 0x244], eax
jg 0x405469
jmp 0x405415
mov eax, dword [ebp - 0x228]
sub eax, 0x856ff497
mov dword [ebp - 0x248], eax
je 0x40562c
jmp 0x405431
mov eax, dword [ebp - 0x228]
sub eax, 0x8a3935d8
mov dword [ebp - 0x24c], eax
je 0x4055d5
jmp 0x40544d
mov eax, dword [ebp - 0x228]
sub eax, 0x94b33323
mov dword [ebp - 0x250], eax
je 0x405554
jmp 0x40552d
mov eax, dword [ebp - 0x228]
sub eax, 0xb2e5f852
mov dword [ebp - 0x254], eax
je 0x405671
jmp 0x40552d
mov eax, dword [ebp - 0x228]
sub eax, 0xd8eef3e4
mov dword [ebp - 0x258], eax
je 0x4055f7
jmp 0x40552d
mov eax, dword [ebp - 0x228]
sub eax, 0x10aa39b1
mov dword [ebp - 0x25c], eax
je 0x405532
jmp 0x40552d
mov eax, dword [ebp - 0x228]
sub eax, 0x212d96db
mov dword [ebp - 0x260], eax
je 0x405644
jmp 0x40552d
mov eax, dword [ebp - 0x228]
sub eax, 0x636eb44b
mov dword [ebp - 0x264], eax
je 0x40565b
jmp 0x40552d
mov eax, dword [ebp - 0x228]
sub eax, 0x75d2beb5
mov dword [ebp - 0x268], eax
je 0x40557d
jmp 0x40552d
mov eax, dword [ebp - 0x228]
sub eax, 0x7d8109b6
mov dword [ebp - 0x26c], eax
je 0x4055a7
jmp 0x40552d
jmp 0x40567d
mov eax, 0x7d8109b6
mov ecx, 0x94b33323
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0xc]
cmp byte [esi + edx], 0
cmovne eax, ecx
mov dword [ebp - 0x224], eax
jmp 0x40567d
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], 0x75d2beb5
jmp 0x40567d
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], 0x10aa39b1
jmp 0x40567d
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], 0x8a3935d8
jmp 0x40567d
mov eax, 0x636eb44b
mov ecx, 0xd8eef3e4
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x18], 0
cmovne eax, ecx
mov dword [ebp - 0x224], eax
jmp 0x40567d
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.00409820
mov ecx, 0x212d96db
mov edx, 0x856ff497
cmp eax, 0
cmove ecx, edx
mov dword [ebp - 0x224], ecx
jmp 0x40567d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x224], 0xb2e5f852
jmp 0x40567d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x224], 0x8a3935d8
jmp 0x40567d
mov dword [ebp - 8], 0
mov dword [ebp - 0x224], 0xb2e5f852
jmp 0x40567d
mov eax, dword [ebp - 8]
add esp, 0x270
pop esi
pop ebp
ret
jmp 0x405348