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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xa24
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x4d04f1
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xa24
ret
mov ecx, dword [0x4bd720]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.004c85c0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4d0519
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0xa24
ret
mov ax, word [ebp + 0x44]
test ax, ax
je 0x4d0aec
cmp ax, 0xffff
je 0x4d0aec
mov edx, dword [esp + 0xa3c]
push ebp
and edx, 0xfff
push edx
call fcn.004d04a0
add esp, 8
test ax, ax
je 0x4d0561
push ebp
push eax
call fcn.004c7640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov eax, dword [esp + 0xa44]
test eax, eax
je 0x4d04e2
mov esi, dword [esp + 0xa50]
test si, si
jbe 0x4d04e2
cmp si, 0x38
jbe 0x4d0595
pop edi
pop esi
pop ebp
mov ax, 0x14
pop ebx
add esp, 0xa24
ret
xor eax, eax
mov ebx, dword [fcn.004be1ec]
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
movsx ecx, word [ebp + 0x5a]
mov dx, word [ebp + ecx*2 + 0x46]
push edx
push 0x4ba098
push eax
call ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dx, word [ebp + 0x44]
push edx
push 0x4ba098
push eax
call ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x78]
lea edx, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa58]
and ecx, 0xffff
push ecx
push 0x4ba098
push edx
stosw word es:[edi], ax
call ebx
mov ecx, dword [esp + 0xa60]
xor eax, eax
mov dword [esp + 0x3c], eax
push ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x44], eax
push 0x4ba18c
push edx
mov dword [esp + 0x50], eax
call ebx
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
mov eax, esi
mov esi, dword [esp + 0xa74]
and eax, 0xffff
lea edi, [esp + 0x138]
mov ecx, eax
mov dword [esp + 0x44], eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x138]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc4]
push ecx
push eax
push edx
call fcn.004d1e90
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x6c], eax
push ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
push 0x4ba098
push edx
mov dword [esp + 0x80], eax
call ebx
mov esi, dword [esp + 0xaa0]
add esp, 0x48
mov edi, 0x4ba384
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x4d06e3
test al, al
je 0x4d06df
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x4d06e3
add esi, 2
add edi, 2
test al, al
jne 0x4d06bb
xor eax, eax
jmp 0x4d06e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d0749
mov ecx, dword [esp + 0xa54]
mov dword [esp + 0x48], eax
and ecx, 0xffff
lea edx, [esp + 0x48]
push ecx
mov dword [esp + 0x50], eax
push 0x4ba098
push edx
mov dword [esp + 0x5c], eax
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xa4]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
push 7
push 0x4ba090
call fcn.004d2680
add esp, 0x30
jmp 0x4d0779
lea ecx, [esp + 0x30]
lea edx, [esp + 0x94]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push 6
push 0x4ba090
call fcn.004d2680
add esp, 0x20
mov edx, eax
test edx, edx
jne 0x4d0795
push ebp
push 0x4a
call fcn.004c7640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x584]
lea ebx, [esp + 0x584]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, dword [fcn.004be254]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
xor ecx, ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x588]
mov dword [esp + 0x5c], ecx
push edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa60]
push eax
push ecx
push 3
push 0x4b9f8c
call fcn.004d2680
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x4d0820
push ebp
push 0x4a
call fcn.004c7640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x3f4]
lea esi, [esp + 0x3f4]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x3f8]
push ecx
call fcn.004d2760
mov edx, eax
add esp, 8
test edx, edx
jne 0x4d0889
push ebp
push 0x4a
call fcn.004c7640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x3f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x268]
lea edx, [esp + 0x3f8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x268]
push ecx
push ebp
push edx
call fcn.004cea50
add esp, 0x10
test ax, ax
je 0x4d08fb
push ebp
push eax
call fcn.004c7570
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
lea eax, [esp + 0x264]
push eax
call fcn.004d2450
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d0927
push ebp
push 0x42
call fcn.004c7640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x714]
lea edx, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x264]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x264]
lea eax, [esp + 0x714]
push ecx
push edx
push eax
push esi
push 3
push 0x4b9f8c
call fcn.004d22b0
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x4d099b
push ebp
push 0x42
call fcn.004c7640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov esi, 0x4ba088
lea eax, [esp + 0x714]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4d09cf
test cl, cl
je 0x4d09cb
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4d09cf
add eax, 2
add esi, 2
test cl, cl
jne 0x4d09a7
xor eax, eax
jmp 0x4d09d4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d09fb
lea eax, [esp + 0x8a4]
push eax
call dword [fcn.004be208]
push ebp
push eax
call fcn.004c7640
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x1f0]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1f0]
lea eax, [esp + 0x264]
push ecx
push edx
push eax
push 2
push 0x4ba090
call fcn.004d22b0
add esp, 0x14
test ax, ax
je 0x4d0a5b
push ebp
push 0x42
call fcn.004c7640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x17c]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x17c]
push ecx
push edx
call fcn.004d1f20
mov edi, dword [esp + 0xa50]
add esp, 8
test edi, edi
je 0x4d0aa7
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x17c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa4c]
test esi, esi
je 0x4d0ac5
lea ecx, [esp + 0x1f0]
push ecx
call dword [fcn.004be1f0]
add esp, 4
mov dword [esi], eax
lea esi, [ebp + 0x68]
push esi
call dword [fcn.004be268]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.004c7640
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
pop edi
pop esi
pop ebp
mov ax, 0x47
pop ebx
add esp, 0xa24
ret