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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x6d4692
sub esp, 0xb0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], eax
movzx ecx, byte [esp + 0xb5]
test cl, cl
je 0x6d44fb
movzx ecx, cl
cmp ecx, 4
jae 0x6d467d
lea eax, [0xc57740]
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 8], edx
call fcn.004cb930
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x6d40e0
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x34], eax
movzx ecx, byte [esp + 0xb5]
cmp cl, 3
je 0x6d4334
mov ecx, dword [esp + 0xc4]
cmp eax, ecx
jne 0x6d4257
mov dword [esp], 0
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
call fcn.0043bf50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006bc400
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0043c0a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x6d4195
lea edi, [esp + 0xb4]
lea esi, [esp + 0x40]
call fcn.0044ce52
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov edx, dword [esp + 0x30]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov ebp, dword [esp + 0x38]
add eax, ebp
mov edx, ebx
test ecx, ecx
je 0x6d422f
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
movzx ebx, byte [esp + 0xb4]
cmp ebx, 0x19
jae 0x6d4668
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
lea ebp, [0xc581a0]
mov ebx, dword [ebp + ebx*4]
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044ce52
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebp, dword [ebx]
mov edx, ebx
call ebp
lea edi, [esp + 0x58]
mov esi, dword [esp + 0x3c]
call fcn.0044ce52
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x40]
lea esi, [esp + 0x58]
call fcn.0044ce52
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jbe 0x6d4168
jmp 0x6d4661
lea edi, [esp + 0xcc]
lea esi, [esp + 0xb4]
call fcn.0044ce52
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
movzx ecx, byte [esp + 0xb9]
mov byte [esp + 0x2b], cl
movzx edx, byte [esp + 0xb4]
cmp dl, 7
jne 0x6d42d5
cmp cl, 1
jne 0x6d42d5
movzx edx, byte [esp + 0xb8]
cmp dl, 2
jne 0x6d42d5
test eax, eax
jl 0x6d465a
mov edx, dword [esp + 0xc8]
cmp eax, edx
ja 0x6d465a
mov dword [esp], 0
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0043bf50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006d6ad0
movzx eax, byte [esp + 8]
test al, al
je 0x6d4330
movzx eax, byte [esp + 0x2b]
movzx ecx, byte [esp + 0xb5]
cmp cl, 3
je 0x6d432a
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xcc], 1
mov byte [esp + 0xd1], al
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
mov ecx, dword [esp + 0x34]
jmp 0x6d42ec
xor eax, eax
jmp 0x6d42da
test eax, eax
jl 0x6d4676
mov ecx, dword [esp + 0xc8]
cmp eax, ecx
ja 0x6d4676
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea ebx, [0x897a0a]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 5
call fcn.004cb930
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x6d4385
mov eax, dword [esp + 0x34]
jmp 0x6d40f5
lea ecx, [eax + 1]
test ecx, ecx
jl 0x6d466f
cmp eax, ecx
ja 0x6d466f
mov edx, dword [esp + 0xc8]
cmp ecx, edx
ja 0x6d466f
mov ecx, edx
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0xc0]
add eax, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x7e9560]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004075a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x7e9560]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.004075a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov dword [esp], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [0x8a2ecc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x17
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 2
call fcn.006cf6c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xcc], 0x18
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044ce52
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x14], ecx
call fcn.006d9c80
lea edi, [esp + 0x94]
mov esi, dword [esp + 0x3c]
call fcn.0044ce52
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x4c]
lea esi, [esp + 0x94]
call fcn.0044ce52
test eax, eax
je 0x6d4638
jl 0x6d468b
mov ecx, dword [esp + 0xc8]
cmp eax, ecx
ja 0x6d468b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
movzx ebx, byte [esp + 0xb4]
cmp ebx, 0x19
jae 0x6d4684
lea ebp, [0xc581a0]
mov edx, dword [ebp + ebx*4]
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044ce52
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
call eax
lea edi, [esp + 0x7c]
mov esi, dword [esp + 0x3c]
call fcn.0044ce52
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x88]
lea esi, [esp + 0x7c]
call fcn.0044ce52
lea edi, [esp + 0xcc]
lea esi, [esp + 0x88]
call fcn.0044ce52
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
lea edi, [esp + 0xcc]
lea esi, [esp + 0x4c]
call fcn.0044ce52
mov dword [esp + 0xd8], 0
add esp, 0xb0
ret
call fcn.00426870
ud2
call fcn.00426870
ud2
call fcn.00426770
ud2
call fcn.00426870
ud2
call fcn.00426870
ud2
call fcn.00426770
ud2
call fcn.00426770
ud2
call fcn.00426870
ud2
call fcn.0044b100
jmp fcn.006d4030