Function at 0x427ff4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x427ffc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x432ca4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x426e1c]
call fcn.0041cd98
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x428803
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
call fcn.004171c0
mov ebx, eax
cmp byte [ebx + 0x48], 3
jne 0x4280a0
mov eax, dword [ebx + 0x40]
call fcn.0042ff1c
test eax, eax
jle 0x4280a0
mov esi, dword [ebx + 0x40]
mov eax, esi
call fcn.0042ff1c
mov edx, eax
dec edx
lea ecx, [ebp - 0x30]
mov eax, esi
call fcn.0042ff24
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x10]
call fcn.00404cf4
lea eax, [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00404cf4
mov eax, dword [ebx + 0x40]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x1c]
call fcn.00427f60
mov ebx, eax
test ebx, ebx
jne 0x4282bc
xor ecx, ecx
mov dl, 1
mov eax, dword [0x426e1c]
call fcn.0041cd98
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
call fcn.004171c0
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 8]
lea eax, [ebx + 0x10]
call fcn.00404cf4
lea eax, [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00404cf4
lea eax, [ebx + 0x18]
mov edx, dword [ebx + 0x10]
call fcn.00404cf4
mov ecx, dword [ebx + 0x18]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x18]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 1
mov dword [ebx + 0x4c], 0x10
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00405014
je 0x428289
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004059a0
dec eax
test eax, eax
jl 0x428289
inc eax
mov dword [ebp - 0x28], eax
xor esi, esi
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + esi*8]
call fcn.00408050
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00405014
jne 0x42827f
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + esi*8 + 4]
call fcn.00419e78
mov eax, dword [ebx + 0x40]
call fcn.0042ff14
mov edi, eax
dec edi
test edi, edi
jl 0x4281ef
inc edi
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x40]
call fcn.0042fef0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
call fcn.00404f68
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00419e78
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
call fcn.00404d18
inc dword [ebp - 0x10]
dec edi
jne 0x4281b7
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x20]
call fcn.00404cf4
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x38], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + esi*8 + 4]
call fcn.00419e78
mov eax, dword [ebx + 0x44]
call fcn.0042ff14
mov edi, eax
dec edi
test edi, edi
jl 0x42826d
inc edi
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x44]
call fcn.0042fef0
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x20]
call fcn.00404f68
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00419e78
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
call fcn.00404d18
inc dword [ebp - 0x10]
dec edi
jne 0x428235
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x3c], eax
inc esi
dec dword [ebp - 0x28]
jne 0x428169
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x4282a0
mov eax, esi
call fcn.0042ff1c
cmp eax, 2
jle 0x4282a0
mov byte [ebx + 0x48], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xbc]
mov edx, ebx
call fcn.00417084
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
call fcn.004171c0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
call fcn.0042ff1c
dec eax
test eax, eax
jl 0x428777
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0042ff24
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.00427f60
mov ebx, eax
test ebx, ebx
jne 0x42875e
xor ecx, ecx
mov dl, 1
mov eax, dword [0x426e1c]
call fcn.0041cd98
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
inc eax
mov dword [ebx + 8], eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0042ff24
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x10]
call fcn.00404cf4
lea eax, [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00404cf4
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x40]
mov edx, dword [edx + 8]
call fcn.00404cf4
mov edi, dword [ebp - 0xc]
test edi, edi
jl 0x4283a6
inc edi
xor esi, esi
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov edx, esi
call fcn.0042ff24
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x18]
call fcn.00419e78
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x18]
pop ecx
call fcn.00404f68
inc esi
dec edi
jne 0x428377
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x18]
call fcn.0042fa64
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x18]
call fcn.0042fc90
mov ecx, dword [ebp - 0x64]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 3
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xb8], eax
call fcn.00409f78
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x6c]
call fcn.0041adb8
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x4c], 0x10
mov eax, 0x100000
call fcn.00403594
lea ecx, [ebp - 0x78]
mov edx, 5
call fcn.00408378
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0x432cbc
call fcn.004049a0
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
call fcn.00404e70
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x20]
call fcn.00408050
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 0x18]
call fcn.00419ed0
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.00419f80
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00419e78
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x20]
call fcn.00404f08
mov eax, dword [ebp - 0x7c]
call fcn.0041a128
test al, al
jne 0x428438
mov eax, dword [ebp - 0x20]
call fcn.00404efc
add eax, eax
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404eec
mov edx, eax
lea eax, [ebx + 0x1c]
pop ecx
call fcn.00406e60
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00405014
je 0x42864b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.004059a0
mov edi, eax
dec edi
test edi, edi
jl 0x42864b
inc edi
xor esi, esi
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + esi*8]
call fcn.00408050
mov edx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00405014
jne 0x428643
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + esi*8 + 4]
call fcn.00419e78
mov eax, dword [ebx + 0x40]
call fcn.0042ff14
dec eax
test eax, eax
jl 0x42859e
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x40]
call fcn.0042fef0
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x20]
call fcn.00404f68
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.00419e78
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x20]
call fcn.00404d18
inc dword [ebp - 0x10]
dec dword [ebp - 0x2c]
jne 0x428552
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x20]
call fcn.00404cf4
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x38], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + esi*8 + 4]
call fcn.00419e78
mov eax, dword [ebx + 0x44]
call fcn.0042ff14
dec eax
test eax, eax
jl 0x428631
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x44]
call fcn.0042fef0
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x20]
call fcn.00404f68
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00419e78
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x20]
call fcn.00404d18
inc dword [ebp - 0x10]
dec dword [ebp - 0x2c]
jne 0x4285e5
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x439cc0]
call fcn.0042ffbc
mov dword [ebx + 0x3c], eax
inc esi
dec edi
jne 0x4284fd
mov eax, dword [ebx + 0x38]
call fcn.0042ff1c
mov esi, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
call fcn.0042ff1c
cmp esi, eax
jne 0x42874c
mov byte [ebp - 0x21], 1
mov eax, dword [ebx + 0x38]
call fcn.0042ff1c
mov edi, eax
dec edi
test edi, edi
jl 0x4286f8
inc edi
xor esi, esi
lea ecx, [ebp - 0xa4]
mov edx, esi
mov eax, dword [ebx + 0x38]
call fcn.0042ff24
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
mov edx, esi
call fcn.0042ff24
mov edx, dword [ebp - 0xa8]
pop eax
call fcn.00405014
je 0x4286f4
lea ecx, [ebp - 0xac]
mov edx, esi
mov eax, dword [ebx + 0x38]
call fcn.0042ff24
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov edx, esi
call fcn.0042ff24
mov edx, dword [ebp - 0xb0]
pop eax
call fcn.00405014
je 0x4286f4
mov byte [ebp - 0x21], 0
jmp 0x4286f8
inc esi
dec edi
jne 0x42867e
cmp byte [ebp - 0x21], 0
je 0x42874c
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x50]
mov byte [ebx + 0x50], al
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x60]
mov dword [ebx + 0x60], edx
mov edx, dword [eax + 0x64]
mov dword [ebx + 0x64], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x78]
mov dword [ebx + 0x78], edx
mov edx, dword [eax + 0x7c]
mov dword [ebx + 0x7c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x70]
mov dword [ebx + 0x70], edx
mov edx, dword [eax + 0x74]
mov dword [ebx + 0x74], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x68]
mov dword [ebx + 0x68], edx
mov edx, dword [eax + 0x6c]
mov dword [ebx + 0x6c], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xbc]
mov edx, ebx
call fcn.00417084
jmp 0x428768
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
inc eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x14], ebx
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x4282f5
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xb8], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xbc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4287e2
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0xc]
call fcn.004171c0
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xb8], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0xc]
call fcn.004171c0
mov edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xbc]
call fcn.00417084
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x42879f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
call fcn.004170d0
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x42804b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xbc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x42884b
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
call fcn.004171c0
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
call fcn.00417084
inc dword [ebp - 8]
dec dword [ebp - 0x28]
jne 0x42881f
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00427e58
pop ecx
test al, al
jne 0x42884b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432cab
lea eax, [ebp - 0xb0]
mov edx, 0xe
call fcn.00404cd0
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004046cc
lea eax, [ebp - 0x70]
call fcn.00404cb8
lea eax, [ebp - 0x64]
mov edx, 0xe
call fcn.00404cd0
lea eax, [ebp - 0x20]
call fcn.00404cb8
ret