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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x427d40
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xbc78ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0xbbbcd0]
call fcn.0041cc4c
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 0x428449
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.0041719c
mov ebx, eax
cmp byte [ebx + 0x48], 3
jne 0x427de5
mov eax, dword [ebx + 0x40]
call fcn.0042f1c4
test eax, eax
jle 0x427de5
mov esi, dword [ebx + 0x40]
mov eax, esi
call fcn.0042f1c4
mov edx, eax
dec edx
lea ecx, [ebp - 0x2c]
mov eax, esi
call fcn.0042f1cc
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x10]
call fcn.00404cd0
lea eax, [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00404cd0
mov eax, dword [ebx + 0x40]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x1c]
call fcn.00427ca4
mov ebx, eax
test ebx, ebx
jne 0x428001
xor ecx, ecx
mov dl, 1
mov eax, dword [0xbbbcd0]
call fcn.0041cc4c
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.0041719c
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 8]
lea eax, [ebx + 0x10]
call fcn.00404cd0
lea eax, [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00404cd0
lea eax, [ebx + 0x18]
mov edx, dword [ebx + 0x10]
call fcn.00404cd0
mov ecx, dword [ebx + 0x18]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x18]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
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.00404ff0
je 0x427fce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.0040597c
dec eax
test eax, eax
jl 0x427fce
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*8]
lea edx, [ebp - 0x30]
call fcn.0040802c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00404ff0
jne 0x427fc2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x20]
call fcn.00419e54
mov eax, dword [ebx + 0x40]
call fcn.0042f1bc
mov edi, eax
dec edi
test edi, edi
jl 0x427f37
inc edi
xor esi, esi
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, dword [ebx + 0x40]
call fcn.0042f198
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x20]
call fcn.00404f44
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00419e54
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
call fcn.00404cf4
inc esi
dec edi
jne 0x427f02
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x20]
call fcn.00404cd0
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x20]
call fcn.00419e54
mov eax, dword [ebx + 0x44]
call fcn.0042f1bc
mov edi, eax
dec edi
test edi, edi
jl 0x427fb0
inc edi
xor esi, esi
lea ecx, [ebp - 0x48]
mov edx, esi
mov eax, dword [ebx + 0x44]
call fcn.0042f198
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x20]
call fcn.00404f44
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00419e54
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x20]
call fcn.00404cf4
inc esi
dec edi
jne 0x427f7b
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
mov dword [ebx + 0x3c], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x427eb3
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x427fe5
mov eax, esi
call fcn.0042f1c4
cmp eax, 2
jle 0x427fe5
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.00417060
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.0041719c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
call fcn.0042f1c4
dec eax
test eax, eax
jl 0x4283bd
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0042f1cc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
call fcn.00427ca4
mov ebx, eax
test ebx, ebx
jne 0x4283a4
xor ecx, ecx
mov dl, 1
mov eax, dword [0xbbbcd0]
call fcn.0041cc4c
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
inc eax
mov dword [ebx + 8], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0042f1cc
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x10]
call fcn.00404cd0
lea eax, [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00404cd0
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x40]
mov edx, dword [edx + 8]
call fcn.00404cd0
mov edi, dword [ebp - 0xc]
test edi, edi
jl 0x4280f3
inc edi
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
call fcn.0042f1cc
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0x18]
call fcn.00419e54
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x18]
pop ecx
call fcn.00404f44
inc dword [ebp - 0x10]
dec edi
jne 0x4280c1
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x18]
call fcn.0042ed0c
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x18]
call fcn.0042ef38
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 3
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xb8], eax
call fcn.00409f54
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x68]
call fcn.0042637c
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x64]
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 - 0x74]
mov edx, 5
call fcn.00408354
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0xbc7900
call fcn.0040497c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.00404e4c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
call fcn.0040802c
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0x18]
call fcn.00419eac
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00419f5c
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00419e54
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x20]
call fcn.00404ee4
mov eax, dword [ebp - 0x78]
call fcn.0041a104
test al, al
jne 0x428185
mov eax, dword [ebp - 0x20]
call fcn.00404ed8
add eax, eax
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404ec8
mov edx, eax
lea eax, [ebx + 0x1c]
pop ecx
call fcn.00406e3c
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00404ff0
je 0x428392
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.0040597c
mov edi, eax
dec edi
test edi, edi
jl 0x428392
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*8]
lea edx, [ebp - 0x84]
call fcn.0040802c
mov edx, dword [ebp - 0x84]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00404ff0
jne 0x428388
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x20]
call fcn.00419e54
mov eax, dword [ebx + 0x40]
call fcn.0042f1bc
dec eax
test eax, eax
jl 0x4282e8
inc eax
mov dword [ebp - 0x28], eax
xor esi, esi
lea ecx, [ebp - 0x90]
mov edx, esi
mov eax, dword [ebx + 0x40]
call fcn.0042f198
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x20]
call fcn.00404f44
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00419e54
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x20]
call fcn.00404cf4
inc esi
dec dword [ebp - 0x28]
jne 0x42829f
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x20]
call fcn.00404cd0
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x20]
call fcn.00419e54
mov eax, dword [ebx + 0x44]
call fcn.0042f1bc
dec eax
test eax, eax
jl 0x428376
inc eax
mov dword [ebp - 0x28], eax
xor esi, esi
lea ecx, [ebp - 0x9c]
mov edx, esi
mov eax, dword [ebx + 0x44]
call fcn.0042f198
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x20]
call fcn.00404f44
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.00419e54
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x20]
call fcn.00404cf4
inc esi
dec dword [ebp - 0x28]
jne 0x42832d
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0xbcdf68]
call fcn.0042f264
mov dword [ebx + 0x3c], eax
inc dword [ebp - 0x10]
dec edi
jne 0x428249
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xbc]
mov edx, ebx
call fcn.00417060
jmp 0x4283ae
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 - 0x24]
jne 0x42803a
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 0x428428
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0xc]
call fcn.0041719c
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.0041719c
mov edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xbc]
call fcn.00417060
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x4283e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
call fcn.004170ac
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x427d90
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xbc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x428491
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 8]
call fcn.0041719c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xbc]
call fcn.00417060
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x428465
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00427b9c
pop ecx
test al, al
jne 0x428491
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbc78f1
lea eax, [ebp - 0x9c]
mov edx, 0xa
call fcn.00404cac
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004046a8
lea eax, [ebp - 0x6c]
call fcn.00404c94
lea eax, [ebp - 0x60]
mov edx, 0xe
call fcn.00404cac
lea eax, [ebp - 0x20]
call fcn.00404c94
ret