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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x4d5f9c
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
call fcn.00405814
xor eax, eax
push ebp
push 0x4d6789
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [select]
mov edx, dword [edx + 0x154]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.004056ac
mov eax, dword [ebp - 8]
call fcn.0040ad94
test al, al
je 0x4d6744
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x14]
mov eax, dword [ebp - 0x28]
call fcn.004d460c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42c940]
call fcn.0042c9f8
mov dword [ebp - 0x2c], eax
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov dword [ebp - 0x30], eax
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x4d673b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x30]
call fcn.004212d0
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x4d6706
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4d66d8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x40]
call fcn.00420d38
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0xc]
mov edx, dword [select]
mov edx, dword [edx + 0x6608]
call fcn.004057bc
jne 0x4d61e7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x4d67a0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x28]
add eax, 0x1c
call fcn.004053e8
mov eax, dword [ebp - 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov ecx, 0x4d67b8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 0x28]
fstp qword [eax + 0x20]
wait
mov eax, dword [ebp - 0x28]
push dword [eax + 0x2c]
push dword [eax + 0x28]
mov ecx, 0x4d67d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov eax, dword [ebp - 0x28]
fstp qword [eax + 0x28]
wait
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x6c]
push eax
mov ecx, 0x4d67e8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x6c], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x70]
push eax
mov ecx, 0x4d67fc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x74]
push eax
mov ecx, 0x4d6810
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x78]
push eax
mov ecx, 0x4d6824
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x7c]
push eax
mov ecx, 0x4d683c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x7c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x80]
push eax
mov ecx, 0x4d6854
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 0x28]
call fcn.004d6adc
jmp 0x4d66d8
mov eax, dword [ebp - 0xc]
mov edx, dword [select]
mov edx, dword [edx + 0x660c]
call fcn.004057bc
jne 0x4d628c
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x34]
call fcn.004212d0
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x4d6285
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4d625b
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x44]
call fcn.00420d38
push 0
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 0x68], 0x3d
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0048a9c8
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call fcn.00420d50
test al, al
jne 0x4d622a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d66d8
cmp dword [ebp - 0x44], 0
je 0x4d6284
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.00404420
ret
mov eax, dword [ebp - 0xc]
mov edx, dword [select]
mov edx, dword [edx + 0x6610]
call fcn.004057bc
jne 0x4d635f
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x34]
call fcn.004212d0
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x4d6358
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4d632e
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x44]
call fcn.00420d38
push 0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x68], 0x3d
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0048a9c8
cmp dword [ebp - 0x1c], 0
je 0x4d632e
cmp dword [ebp - 0x20], 0
je 0x4d632e
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
call fcn.0040a278
mov eax, dword [ebp - 0x6c]
xor edx, edx
call fcn.0040a9e0
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
call fcn.0040a278
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x44]
call fcn.00420d50
test al, al
jne 0x4d62cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d66d8
cmp dword [ebp - 0x44], 0
je 0x4d6357
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.00404420
ret
mov eax, dword [ebp - 0xc]
mov edx, dword [select]
mov edx, dword [edx + 0x6614]
call fcn.004057bc
jne 0x4d6415
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x34]
call fcn.004212d0
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x4d640e
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4d63e4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x44]
call fcn.00420d38
push 0
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 0x68], 0x3d
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0048a9c8
cmp dword [ebp - 0x1c], 0
je 0x4d63e4
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x1c]
call fcn.0040a278
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x44]
call fcn.00420d50
test al, al
jne 0x4d63a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d66d8
cmp dword [ebp - 0x44], 0
je 0x4d640d
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.00404420
ret
mov eax, dword [ebp - 0xc]
mov edx, dword [select]
mov edx, dword [edx + 0x6618]
call fcn.004057bc
jne 0x4d66d8
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x4c]
mov eax, dword [ebp - 0x34]
call fcn.004212d0
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x4d66d1
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4d66a3
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x44]
call fcn.00420d38
push 0
lea eax, [ebp - 0x17c]
push eax
mov byte [ebp - 0x68], 0x3d
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0048a9c8
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x178]
mov ecx, 0xff
call fcn.00405630
lea edx, [ebp - 0x178]
lea eax, [ebp - 0x59]
mov cl, 0x10
call fcn.004039d0
or edx, 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.0040a9e0
mov ebx, eax
lea eax, [ebp - 0x184]
lea edx, [ebp - 0x59]
call fcn.004055f8
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.0040a278
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x178]
mov ecx, 0xff
call fcn.00405630
lea edx, [ebp - 0x178]
lea eax, [ebp - 0x59]
mov cl, 0x10
call fcn.004039d0
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, ebx
dec eax
sub eax, 0x63
jae 0x4d66a3
cmp byte [ebp - 0x59], 0
je 0x4d66a3
push dword [ebp - 0xc]
push 0x4d6870
lea edx, [ebp - 0x18c]
mov eax, ebx
call fcn.0040a784
push dword [ebp - 0x18c]
push 0x4d6870
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x59]
call fcn.004055f8
push dword [ebp - 0x190]
lea eax, [ebp - 0x188]
mov edx, 5
call fcn.00405728
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4d66a3
mov eax, 0x16
call fcn.00402f94
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax], bl
mov eax, dword [ebp - 0x3c]
inc eax
lea edx, [ebp - 0x59]
mov cl, 0x10
call fcn.004039d0
mov dl, 1
mov eax, dword [0x41d618]
call fcn.00404400
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x12], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x3c]
call fcn.0041fa48
mov eax, dword [ebp - 0x38]
call fcn.004212d0
mov dword [ebp - 0x48], eax
xor eax, eax
push ebp
push 0x4d669c
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4d666e
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x48]
call fcn.00420d38
push 0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x68], 0x3d
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.0048a9c8
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 0x24]
call fcn.0040a278
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0x24]
call fcn.0040542c
cmp dword [ebp - 0x24], 0
je 0x4d666e
cmp dword [ebp - 0x20], 0
je 0x4d666e
cmp ebx, 1
jne 0x4d6638
mov eax, dword [ebp - 0x28]
add eax, 0x18
mov edx, dword [ebp - 0x24]
call fcn.004053e8
mov eax, 0xe
call fcn.00402f94
mov esi, eax
mov word [esi + 0xc], 0
xor eax, eax
mov dword [esi], eax
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0040ed6c
fstp qword [esi + 4]
wait
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x12]
mov ecx, esi
mov edx, dword [ebp - 0x24]
mov esi, dword [eax]
call dword [esi + 0x3c]
mov eax, dword [ebp - 0x48]
call fcn.00420d50
test al, al
jne 0x4d65da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d66a3
cmp dword [ebp - 0x48], 0
je 0x4d669b
mov dl, 1
mov eax, dword [ebp - 0x48]
call fcn.00404420
ret
mov eax, dword [ebp - 0x44]
call fcn.00420d50
test al, al
jne 0x4d645b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d66d8
cmp dword [ebp - 0x44], 0
je 0x4d66d0
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.00404420
ret
mov eax, dword [ebp - 0x40]
call fcn.00420d50
test al, al
jne 0x4d6090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d670d
cmp dword [ebp - 0x40], 0
je 0x4d6705
mov dl, 1
mov eax, dword [ebp - 0x40]
call fcn.00404420
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6790
lea eax, [ebp - 0x194]
mov edx, 7
call fcn.004053b8
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.004053b8
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004053b8
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.004053b8
ret