Function at 0x428a44
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x429152
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
mov edx, dword [0x4191d8]
call fcn.00404d84
lea eax, [ebp - 0x10]
call fcn.0042c480
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 1
jne 0x428ab4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x428b2d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x428ad5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
test byte [eax + 0x2a], 1
je 0x428acf
or dword [ebp - 0x14], 0x40
jmp 0x428b2d
or dword [ebp - 0x14], 0x20
jmp 0x428b2d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
test byte [eax + 0x2a], 1
jne 0x428b05
test byte [ebp - 0x14], 0x40
jne 0x428af6
test byte [ebp - 0x14], 0x80
je 0x428b05
and dword [ebp - 0x14], 0xffffffbf
and dword [ebp - 0x14], 0xffffff7f
or dword [ebp - 0x14], 0x20
test byte [ebp - 0x14], 0x40
jne 0x428b2d
test byte [ebp - 0x14], 0x80
jne 0x428b2d
test byte [ebp - 0x14], 0x20
jne 0x428b2d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
test byte [eax + 0x2a], 1
je 0x428b29
or dword [ebp - 0x14], 0x40
jmp 0x428b2d
or dword [ebp - 0x14], 0x20
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 1
jne 0x428b4a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x78], eax
jmp 0x428bb5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 2
jne 0x428b73
cmp dword [ebp - 0xc], 0
je 0x428b73
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x88], eax
jmp 0x428ba4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x10], 0
je 0x428b92
mov dword [ebp - 0x8c], 0x280
mov dword [ebp - 0x88], 0x1e0
jmp 0x428ba4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x8c]
call fcn.00429164
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 1
jne 0x428bc9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x428bfe
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x428bdb
mov dword [ebp - 0x18], 2
jmp 0x428bfe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jbe 0x428bf1
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], 1
jae 0x428bfe
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0xc], 0
je 0x428c1c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x28], 1
je 0x428c1c
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x428cfa
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 1
jne 0x428c3c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x20], eax
jmp 0x428cfa
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jne 0x428c54
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x428cfa
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 2
jne 0x428cf0
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.00404bbc
mov esi, eax
dec esi
test esi, esi
jl 0x428cfa
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
movsx eax, al
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x20]
movsx edx, dl
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
movsx eax, al
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x20]
movsx edx, dl
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jge 0x428cea
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
dec eax
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
xor edx, edx
push edx
push eax
call fcn.00414584
mov dword [ebp - 0x20], eax
inc ebx
dec esi
jne 0x428c80
jmp 0x428cfa
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 1
jne 0x428d0e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x24], eax
jmp 0x428d42
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
jne 0x428d20
mov dword [ebp - 0x24], 1
jmp 0x428d42
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
je 0x428d42
cmp dword [ebp - 0x24], 2
je 0x428d42
cmp dword [ebp - 0x24], 3
je 0x428d42
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.0041a6dc
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0xc], 0
je 0x428d69
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
call fcn.0041a688
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00404bbc
mov esi, eax
dec esi
test esi, esi
jl 0x428e09
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ebx*4]
call fcn.0041a688
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
cmp eax, 1
jne 0x428dad
cmp ecx, dword [ebp - 0x34]
jne 0x428da6
xor edi, edi
jmp 0x428dd2
mov edi, 0x2710
jmp 0x428dd2
test eax, eax
jne 0x428dc6
mov eax, dword [ebp - 0x30]
shl eax, 2
push eax
mov eax, ecx
pop edx
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edi, eax
jmp 0x428dd2
mov eax, ecx
sub eax, dword [ebp - 0x34]
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x2c]
call fcn.00404bbc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
inc eax
push eax
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x428a24]
call fcn.00404d78
add esp, 4
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [eax + edx*4], edi
inc ebx
dec esi
jne 0x428d82
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
je 0x428e22
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
call fcn.0041a638
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00404bbc
mov esi, eax
dec esi
test esi, esi
jl 0x428e88
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp - 0x2c]
mov edi, dword [edx + ebx*4]
call fcn.0041a638
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
cmp eax, 1
jne 0x428e6a
cmp ecx, dword [ebp - 0x3c]
jne 0x428e62
add edi, 0
jmp 0x428e7e
add edi, 0x2710
jmp 0x428e7e
test eax, eax
jne 0x428e72
add edi, ecx
jmp 0x428e7e
mov eax, ecx
sub eax, dword [ebp - 0x3c]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + ebx*4], edi
inc ebx
dec esi
jne 0x428e37
mov dword [ebp - 0x40], 0x186a0
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00404bbc
mov esi, eax
dec esi
test esi, esi
jl 0x428ec0
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + ebx*4]
cmp edi, dword [ebp - 0x40]
jge 0x428ebc
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
inc ebx
dec esi
jne 0x428eab
cmp dword [ebp - 0x44], 0
jl 0x428ed9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x44]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
mov bl, 1
jmp 0x428ee0
xor eax, eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 1
jne 0x428ef1
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x3c]
jmp 0x428f14
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x428f07
xor edi, edi
test bl, bl
je 0x428f14
mov edi, 2
jmp 0x428f14
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x3c]
test bl, bl
je 0x428f14
or edi, 2
mov eax, dword [ebp - 8]
cmp byte [eax + 0x10], 0
je 0x428f27
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x429007
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 1
jne 0x428f3e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x74], eax
jmp 0x429007
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 2
jne 0x428f52
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x48], eax
jmp 0x428f58
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x48], 0
je 0x429007
mov dword [ebp - 0x4c], 0x186a0
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x28]
mov edx, dword [edx + 0x654]
mov ecx, dword [0x4191d8]
call fcn.00404dc0
mov eax, dword [ebp - 0x50]
call fcn.00404bbc
mov esi, eax
dec esi
test esi, esi
jl 0x429007
inc esi
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
add eax, eax
mov edx, dword [ebp - 0x50]
push esi
push edi
lea esi, [edx + eax*8]
lea edi, [ebp - 0x9c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x90]
jne 0x429001
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x78]
jne 0x429001
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x7c]
jne 0x429001
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x48]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x4c]
jge 0x429001
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x429007
inc dword [ebp - 0x54]
dec esi
jne 0x428f9f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 1
jne 0x429018
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x44]
jmp 0x429049
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 0
jne 0x429025
xor esi, esi
jmp 0x429049
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov ecx, 4
call fcn.00414d0c
test al, al
je 0x429047
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x44]
jmp 0x429049
xor esi, esi
mov eax, dword [ebp - 4]
mov edx, 0x48
call fcn.00406128
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x28], edx
call fcn.0042c4f8
xor edx, edx
push edx
push eax
call fcn.0042c4ec
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x10]
call fcn.00414670
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x10], 1
cmc
sbb eax, eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
cmp bl, 1
cmc
sbb eax, eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429159
lea eax, [ebp - 0x50]
mov edx, dword [0x4191d8]
call fcn.00404d84
lea eax, [ebp - 0x2c]
mov edx, dword [0x428a24]
call fcn.00404d84
lea eax, [ebp - 0x10]
call fcn.00405434
ret