Function at 0x412f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4329be
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x43e524]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x43e524]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, edx
mov edi, dword [esi + 0x10]
mov dword [esp + 0x30], eax
cmp dword [esi + 0xc], edi
jbe 0x412fd8
call fcn.0041de6c
mov ecx, dword [esi]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x412ff3
call fcn.0041de6c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
push edi
push edx
push ecx
push eax
lea eax, [esp + 0x34]
push eax
mov edi, esi
call fcn.004152b0
lea ecx, [ebx + 0x1c]
xor eax, eax
add ebx, 0x34
lea edx, [esp + 0x20]
mov dword [esp + 0x28], ebx
push edx
lea ebx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
call fcn.00405900
xor ebx, ebx
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
jle 0x4131df
mov edi, dword [esp + 0x14]
jmp 0x413050
mov eax, 0xf
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0xc4], ebx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.004057a0
add esp, 8
cmp al, bl
je 0x41324d
add edi, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], edi
call fcn.00405900
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.004057a0
add esp, 8
test al, al
je 0x41327a
add edi, dword [esp + 0x1c]
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x18], edi
call fcn.00405900
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.004057a0
add esp, 8
test al, al
je 0x4132a7
add edi, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
mov ebx, esi
call fcn.00414d40
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0xa4], 0x10
jb 0x41316e
mov eax, dword [esp + 0x90]
push eax
call fcn.0041dbb6
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x84], 0x10
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x4131a0
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0041dbb6
add esp, 4
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x4131ca
mov edx, dword [esp + 0x50]
push edx
call fcn.0041dbb6
add esp, 4
mov eax, dword [esp + 0x10]
inc eax
xor ebx, ebx
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jl 0x413050
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esi + 0xc], eax
jbe 0x4131f4
call fcn.0041de6c
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
cmp edi, dword [esi + 0x10]
jbe 0x413207
call fcn.0041de6c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push ecx
push edx
push edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004156f0
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
jle 0x4133b3
lea ecx, [ecx]
push 4
call fcn.0041dcaa
add esp, 4
cmp eax, ebx
je 0x4132d4
lea ecx, [esp + 0x34]
mov dword [eax], ecx
jmp 0x4132d6
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], str.CBufferReadHelper::ReadTo
call fcn.0041da38
push 0x43a894
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call fcn.0042083b
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], str.CBufferReadHelper::ReadTo
call fcn.0041da38
push 0x43a894
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call fcn.0042083b
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], str.CBufferReadHelper::ReadTo
call fcn.0041da38
push 0x43a894
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.std::bad_exception.0
call fcn.0042083b
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0xc4], 2
call fcn.00414e80
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x41330c
call fcn.0041de6c
mov edi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
cmp edi, ebx
jne 0x413331
call fcn.0041de6c
xor eax, eax
lea ecx, [esi - 0x18]
cmp ecx, dword [eax + 0x10]
ja 0x41333c
cmp edi, ebx
je 0x413335
mov edi, dword [edi]
jmp 0x413337
mov eax, dword [edi]
jmp 0x413321
xor edi, edi
cmp ecx, dword [edi + 0xc]
jae 0x413341
call fcn.0041de6c
mov eax, dword [esp + 0x14]
add esi, 0xffffffe8
cmp eax, ebx
jne 0x4133d9
call fcn.0041de6c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x413361
call fcn.0041de6c
push esi
lea edi, [esp + 0x28]
call fcn.00405990
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x413387
push eax
call fcn.0041dbb6
add esp, 4
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.0041dbb6
mov eax, dword [esp + 0x14]
inc eax
add esp, 4
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jl 0x413230
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0041d9bb
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
jmp 0x413357