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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4243c5
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.00405164
mov ebx, dword [0x4cbd50]
mov edi, dword [0x4cbd78]
xor eax, eax
push ebp
push 0x4c1138
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.00424370
mov eax, dword [ebp + 8]
add dword [eax], 4
mov eax, dword [ebp - 0x1c]
call fcn.00403250
mov esi, eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00424370
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.00404dec
mov eax, dword [ebp - 0x34]
call fcn.00404ee8
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 0x424653
cmp byte [ebp - 0x35], 3
jne 0x424653
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov al, byte [0x4c1148]
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.00418ec4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x34]
call fcn.00404d04
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x34]
call fcn.00407f34
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x34]
call fcn.00404d04
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
lea ebx, [eax + 0x20]
cmp dword [ebp - 8], 0
je 0x424b7e
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4246e9
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0x10]
call fcn.0041646c
mov al, byte [eax + 0x3c]
cmp al, byte [ebp - 0x35]
jne 0x4246e3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0x10]
call fcn.0041646c
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x34]
call fcn.00405000
jne 0x4246e3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0x10]
call fcn.0041646c
mov ebx, eax
jmp 0x4246e9
inc dword [ebp - 0x10]
dec edi
jne 0x424697
test ebx, ebx
jne 0x424b7e
mov edx, dword [0x4b89ac]
mov eax, 0xa8
call fcn.004055c0
mov ebx, eax
mov edx, 0xa8
mov eax, ebx
call fcn.00406d50
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa0]
mov edx, ebx
call fcn.00416330
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.00404ce0
mov al, byte [ebp - 0x35]
mov byte [ebx + 0x3c], al
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00405000
je 0x42475d
lea edx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call fcn.004190ec
mov edx, dword [ebp - 0x74]
lea eax, [ebp + 0xc]
call fcn.00404d04
lea eax, [ebp - 0x7c]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
call fcn.00404f54
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00407f34
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0xc]
call fcn.00404ce0
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0xc]
call fcn.0042b598
mov ecx, dword [ebp - 0x80]
mov dl, 1
mov eax, dword [0x4c77fc]
call fcn.0042bae0
mov dword [ebx + 0x34], eax
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 0xc]
call fcn.0042b7c4
mov ecx, dword [ebp - 0x84]
mov dl, 1
mov eax, dword [0x4c77fc]
call fcn.0042bae0
mov dword [ebx + 0x38], eax
mov al, byte [ebx + 0x3c]
cmp al, 2
jne 0x42486a
push 0x4c1154
mov eax, 0x100000
call fcn.00403594
lea ecx, [ebp - 0x90]
mov edx, 5
call fcn.0040825c
push dword [ebp - 0x90]
push 0x4c1160
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.004049f0
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
call fcn.00404e5c
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x24]
call fcn.00407f34
lea edx, [ebp - 0x98]
mov eax, dword [ebx + 0xc]
call fcn.004191f4
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.004190ec
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x24]
call fcn.00404ef4
mov eax, dword [ebp - 0x94]
call fcn.0041932c
test al, al
jne 0x4247cc
jmp 0x424988
sub al, 1
je 0x424876
sub al, 2
jne 0x424988
call fcn.00409e8c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xa0]
call fcn.00424338
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x9c]
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.00403594
lea ecx, [ebp - 0xac]
mov edx, 5
call fcn.0040825c
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 0x4c1154
call fcn.0040497c
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
call fcn.00404e5c
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x24]
call fcn.00407f34
lea edx, [ebp - 0xb8]
mov eax, dword [ebx + 0xc]
call fcn.00419144
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.004191f4
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.004190ec
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0x24]
call fcn.00404ef4
mov eax, dword [ebp - 0xb0]
call fcn.00419310
test al, al
jne 0x4248ca
mov eax, dword [ebp - 0x24]
call fcn.00404ee8
add eax, eax
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404ed8
mov edx, eax
lea eax, [ebx + 0x10]
pop ecx
call fcn.00406d48
mov al, byte [ebx + 0x3c]
dec eax
sub al, 3
jae 0x424b36
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00405000
je 0x424b36
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
call fcn.00405910
mov edi, eax
dec edi
test edi, edi
jl 0x424b36
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 - 0xbc]
call fcn.00407f34
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 8]
call fcn.00405000
jne 0x424b2c
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.004190ec
mov eax, dword [ebx + 0x34]
call fcn.0042ba48
dec eax
test eax, eax
jl 0x424a7e
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x34]
call fcn.0042ba24
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
mov edx, dword [ebp - 0x24]
call fcn.00404f54
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.004190ec
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x24]
call fcn.00404d04
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x424a32
lea eax, [ebx + 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00404ce0
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x4c77fc]
call fcn.0042bae0
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.004190ec
mov eax, dword [ebx + 0x38]
call fcn.0042ba48
dec eax
test eax, eax
jl 0x424b1a
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 + 0x38]
call fcn.0042ba24
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0x24]
call fcn.00404f54
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.004190ec
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0x24]
call fcn.00404d04
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x424ace
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x4c77fc]
call fcn.0042bae0
mov dword [ebx + 0x30], eax
inc dword [ebp - 0x14]
dec edi
jne 0x4249cb
mov dl, 1
mov eax, dword [0x4b1e28]
call fcn.00403af4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4b1e28]
call fcn.00403af4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4b1e28]
call fcn.00403af4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4b1e28]
call fcn.00403af4
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x9c], eax
cmp byte [ebx + 0x3c], 2
jne 0x424c89
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.0041cc74
xor edx, edx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xa0]
call fcn.00424338
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0x64], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xa0]
call fcn.00424338
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0x7c], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xa0]
call fcn.00424338
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x9c]
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.00406c84
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x94]
add dword [eax], edx
mov eax, dword [ebp - 0x20]
call fcn.00403270
mov edi, dword [ebp - 0x30]
dec edi
test edi, edi
jl 0x424cb7
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.004243bc
pop ecx
dec edi
jne 0x424c9a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c113f
lea eax, [ebp - 0xd4]
mov edx, 0xa
call fcn.00404cbc
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.004046a8
lea eax, [ebp - 0xa4]
call fcn.00404ca4
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.00404cbc
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004046a8
lea eax, [ebp - 0x88]
mov edx, 0x13
call fcn.00404cbc
lea eax, [ebp - 0x34]
call fcn.00404ca4
lea eax, [ebp - 0x24]
call fcn.00404ca4
lea eax, [ebp + 0xc]
call fcn.00404ca4
ret