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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x424c81
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
call fcn.00405528
mov ebx, dword [0x997d90]
mov edi, dword [0x997db8]
xor eax, eax
push ebp
push 0x98ca7c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.00424c2c
mov eax, dword [ebp + 8]
add dword [eax], 4
mov eax, dword [ebp - 0x1c]
call fcn.004035bc
mov esi, eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00424c2c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
add dword [eax], edx
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
add esi, 4
lea eax, [ebp - 0x34]
mov edx, esi
call fcn.004051a8
mov eax, dword [ebp - 0x34]
call fcn.004052a4
add eax, eax
add eax, 2
add esi, eax
mov al, byte [esi]
mov byte [ebp - 0x35], al
inc esi
cmp dword [ebp - 0x2c], 1
jne 0x424f85
cmp byte [ebp - 0x35], 3
jne 0x424f85
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebx]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x64]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebx + 0x24]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebx + 0x30]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x74]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebx + 0x34]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov al, byte [0x98ca8c]
push eax
push 0
lea eax, [ebp - 0x78]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebp - 0x34]
call fcn.0041a22c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x34]
call fcn.004050c0
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x34]
call fcn.004083dc
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x34]
call fcn.004050c0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
lea ebx, [eax + 0x20]
cmp dword [ebp - 8], 0
je 0x4254c2
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x42501b
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0x10]
call fcn.004177d4
mov al, byte [eax + 0x3c]
cmp al, byte [ebp - 0x35]
jne 0x425015
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0x10]
call fcn.004177d4
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x34]
call fcn.004053c0
jne 0x425015
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0x10]
call fcn.004177d4
mov ebx, eax
jmp 0x42501b
inc dword [ebp - 0x10]
dec edi
jne 0x424fc9
test ebx, ebx
jne 0x4254c2
mov edx, dword [0x984128]
mov eax, 0xa8
call fcn.00405984
mov ebx, eax
mov edx, 0xa8
mov eax, ebx
call fcn.004071d0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, ebx
call fcn.00417698
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx], eax
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x34]
call fcn.0040509c
mov al, byte [ebp - 0x35]
mov byte [ebx + 0x3c], al
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.004053c0
je 0x42508f
lea edx, [ebp - 0x80]
mov eax, dword [ebp + 0xc]
call fcn.0041a454
mov edx, dword [ebp - 0x80]
lea eax, [ebp + 0xc]
call fcn.004050c0
lea eax, [ebp - 0x88]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
call fcn.00405310
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.004083dc
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0xc]
call fcn.0040509c
lea edx, [ebp - 0x8c]
mov eax, dword [ebx + 0xc]
call fcn.0042c390
mov ecx, dword [ebp - 0x8c]
mov dl, 1
mov eax, dword [0x9935ec]
call fcn.0042c8e8
mov dword [ebx + 0x34], eax
lea edx, [ebp - 0x90]
mov eax, dword [ebx + 0xc]
call fcn.0042c5bc
mov ecx, dword [ebp - 0x90]
mov dl, 1
mov eax, dword [0x9935ec]
call fcn.0042c8e8
mov dword [ebx + 0x38], eax
mov al, byte [ebx + 0x3c]
cmp al, 2
jne 0x4251ae
push 0x98ca98
mov eax, 0x100000
call fcn.00403918
lea ecx, [ebp - 0x9c]
mov edx, 5
call fcn.00408704
push dword [ebp - 0x9c]
push 0x98caa4
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00404dac
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.00405218
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x24]
call fcn.004083dc
lea edx, [ebp - 0xa4]
mov eax, dword [ebx + 0xc]
call fcn.0041a55c
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0041a454
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x24]
call fcn.004052b0
mov eax, dword [ebp - 0xa0]
call fcn.0041a694
test al, al
jne 0x425110
jmp 0x4252cc
sub al, 1
je 0x4251ba
sub al, 2
jne 0x4252cc
call fcn.0040a384
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xac]
call fcn.00424bf4
mov eax, dword [ebp - 0xac]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0xa8]
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 + 0x48], 0x10
mov eax, 0x100000
call fcn.00403918
lea ecx, [ebp - 0xb8]
mov edx, 5
call fcn.00408704
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 0x98ca98
call fcn.00404d38
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
call fcn.00405218
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0x24]
call fcn.004083dc
lea edx, [ebp - 0xc4]
mov eax, dword [ebx + 0xc]
call fcn.0041a4ac
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.0041a55c
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.0041a454
lea eax, [ebp - 0xbc]
mov edx, dword [ebp - 0x24]
call fcn.004052b0
mov eax, dword [ebp - 0xbc]
call fcn.0041a678
test al, al
jne 0x42520e
mov eax, dword [ebp - 0x24]
call fcn.004052a4
add eax, eax
push eax
mov eax, dword [ebp - 0x24]
call fcn.00405294
mov edx, eax
lea eax, [ebx + 0x10]
pop ecx
call fcn.004071c8
mov al, byte [ebx + 0x3c]
dec eax
sub al, 3
jae 0x42547a
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.004053c0
je 0x42547a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
call fcn.00405cc8
mov edi, eax
dec edi
test edi, edi
jl 0x42547a
inc edi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8]
lea edx, [ebp - 0xc8]
call fcn.004083dc
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 8]
call fcn.004053c0
jne 0x425470
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.0041a454
mov eax, dword [ebx + 0x34]
call fcn.0042c840
dec eax
test eax, eax
jl 0x4253c2
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x34]
call fcn.0042c81c
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0x24]
call fcn.00405310
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.0041a454
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0x24]
call fcn.004050c0
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x425376
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x24]
call fcn.0040509c
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x9935ec]
call fcn.0042c8e8
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.0041a454
mov eax, dword [ebx + 0x38]
call fcn.0042c840
dec eax
test eax, eax
jl 0x42545e
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xe0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x38]
call fcn.0042c81c
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
mov edx, dword [ebp - 0x24]
call fcn.00405310
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.0041a454
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x24]
call fcn.004050c0
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x425412
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x9935ec]
call fcn.0042c8e8
mov dword [ebx + 0x30], eax
inc dword [ebp - 0x14]
dec edi
jne 0x42530f
mov dl, 1
mov eax, dword [0x97e190]
call fcn.00403e7c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x97e190]
call fcn.00403e7c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x97e190]
call fcn.00403e7c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x97e190]
call fcn.00403e7c
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x9c], eax
cmp byte [ebx + 0x3c], 2
jne 0x4255cd
mov al, byte [esi]
mov byte [ebx + 0x4d], al
inc esi
mov al, byte [esi]
mov byte [ebx + 0x4c], al
inc esi
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x54], eax
add esi, 8
mov edx, 0x1000
mov eax, dword [ebx + 0x50]
call fcn.0041d3f0
xor edx, edx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xac]
call fcn.00424bf4
mov eax, dword [ebp - 0xac]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0x64], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xac]
call fcn.00424bf4
mov eax, dword [ebp - 0xac]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0x7c], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xac]
call fcn.00424bf4
mov eax, dword [ebp - 0xac]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0x74], eax
add esi, 8
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi]
mov dword [ebx + 0x48], eax
add esi, 4
mov eax, dword [esi]
mov dword [ebx + 0x94], eax
add esi, 4
xor eax, eax
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x98], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebx + 0x90], eax
push 1
push 0
mov eax, dword [ebx + 0x94]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00407104
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x94]
add dword [eax], edx
mov eax, dword [ebp - 0x20]
call fcn.004035ec
mov edi, dword [ebp - 0x30]
dec edi
test edi, edi
jl 0x4255fb
inc edi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebx + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00424c78
pop ecx
dec edi
jne 0x4255de
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x98ca83
lea eax, [ebp - 0xe0]
mov edx, 0xa
call fcn.00405078
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.00404a64
lea eax, [ebp - 0xb0]
call fcn.00405060
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.00405078
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.00404a64
lea eax, [ebp - 0x94]
mov edx, 0x16
call fcn.00405078
lea eax, [ebp - 0x34]
call fcn.00405060
lea eax, [ebp - 0x24]
call fcn.00405060
lea eax, [ebp + 0xc]
call fcn.00405060
ret