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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x5a05c4]
xor edi, edi
mov esi, ecx
mov edx, 0
xor eax, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], edi
mov eax, 0
cmp dword [ecx + 0x2c], edi
mov ecx, 0
je 0x4d8fb6
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x88]
mov ecx, 0
xor edi, edi
xor edx, edx
mov byte [esp + 3], 3
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, 0
mov dword [esp + 4], ebx
mov ebx, ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0xc], ebx
mov ecx, dword [ecx + ebx*4]
xor ebx, ebx
cmp ecx, 9
ja case.0x4d8cd8.7
jmp dword [ecx*4 + 0x571244]
mov ebx, edx
mov edx, dword [esp + 0x14]
cmp dword [esi + 0x7c], edx
jbe 0x4d8fcd
mov eax, dword [esi + 0x78]
mov eax, dword [eax + edx*4]
cmp dword [esi + 0x1c], eax
jbe 0x4d8fcd
inc edx
cmp ecx, 4
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x18]
mov edx, dword [edx + eax*4]
mov eax, dword [esi]
jne 0x4d8ed6
add eax, edx
setb dl
test ecx, ecx
mov ecx, 0
cmovne eax, ecx
jne 0x4d8f3c
test dl, dl
jne 0x4d8f3c
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
push 1
lea eax, [esp + 0x50]
push eax
call fcn.004d94e6
test al, al
je 0x4d8fcd
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0x34]
push eax
call fcn.0040ea26
test al, al
jne 0x4d8e7b
jmp 0x4d8fcd
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x3c], ecx
jbe 0x4d8fcd
mov eax, dword [esi + 0x38]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x4d8f1e
cmp dword [esi + 0x4c], edi
jbe 0x4d8fcd
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x2c], edi
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x4d8dea
lea eax, [edx + ebx]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
cmp dword [esi + 0x5c], edx
jbe 0x4d8fcd
mov eax, dword [esi + 0x58]
mov ecx, dword [esp + 4]
mov al, byte [eax + edx]
mov byte [esp + 0x30], al
push 1
lea eax, [esp + 0x34]
push eax
mov edi, edx
call fcn.0040ea26
test al, al
je 0x4d8fcd
mov edx, edi
inc edx
dec ebx
jne 0x4d8dab
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ebx
inc ecx
mov edi, ecx
jmp 0x4d8f1e
cmp dword [esi + 0x5c], edx
jbe 0x4d8fcd
mov eax, dword [esi + 0x58]
mov ecx, dword [esp + 4]
mov al, byte [eax + edx]
mov byte [esp + 0x30], al
push 1
lea eax, [esp + 0x34]
push eax
mov ebx, edx
call fcn.0040ea26
test al, al
je 0x4d8fcd
mov eax, dword [esp + 0x4c]
mov edx, ebx
inc edx
inc eax
jmp 0x4d8f1e
mov ebx, edx
mov edx, dword [esp + 0x10]
cmp dword [esi + 0x6c], edx
jbe 0x4d8fcd
mov ecx, dword [esi + 0x68]
mov ecx, dword [ecx + edx*4]
cmp dword [esi + 0xc], ecx
jbe 0x4d8fcd
mov edx, dword [esi + 8]
mov ecx, dword [edx + ecx*4]
sub ecx, eax
add ecx, 0xfffffffc
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0x34]
push eax
call fcn.0040ea26
test al, al
je 0x4d8fcd
inc dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
add eax, 4
jmp 0x4d8f1c
test byte [esp + 8], 1
mov cl, 1
mov dword [esp + 8], ecx
jmp 0x4d8ea1
cmp dword [esp + 0x18], 0
mov dword [esp + 0x18], 8
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
je 0x4d8f25
jmp 0x4d8fcd
test byte [esp + 8], 1
jne 0x4d8fcd
mov ebx, dword [ebp + 8]
mov cl, 1
mov byte [esp + 3], 0xa
mov dword [esp + 8], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
jmp 0x4d8f25
add eax, edx
adc ecx, 0
jb 0x4d8f35
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
push 1
lea eax, [esp + 0x50]
push eax
call fcn.004d94e6
test al, al
je 0x4d8fcd
mov ecx, dword [esp + 4]
push 8
lea eax, [esp + 0x34]
push eax
call fcn.0040ea26
test al, al
je 0x4d8fcd
mov eax, dword [esp + 0x4c]
add eax, 8
mov edx, ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
inc ecx
cmp ecx, dword [esi + 0x2c]
jb 0x4d8cc1
jmp 0x4d8f44
int3
int3
test byte [esp + 8], 1
jne 0x4d8f82
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d8fae
mov dword [esp + 0xc], edx
mov ecx, esi
push ebx
push eax
call fcn.004d9134
test al, al
je 0x4d8fcd
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.0040eb4c
test al, al
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
je 0x4d8fcd
jmp 0x4d8fb6
movzx eax, byte [esp + 3]
mov dword [esp + 0xc], edx
mov ecx, esi
push eax
push ebx
call fcn.004d9008
test al, al
je 0x4d8fcd
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.0040eb4c
mov edx, dword [esp + 0xc]
test al, al
je 0x4d8fcd
jmp 0x4d8f4b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp edi, dword [esi + 0x4c]
jne 0x4d8fcd
cmp edx, dword [esi + 0x5c]
jne 0x4d8fcd
cmp ecx, dword [esi + 0x7c]
jne 0x4d8fcd
cmp eax, dword [esi + 0x6c]
sete bl
jmp case.0x4d8cd8.7
xor ebx, ebx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d8ff1
lea esi, [esp + 0x48]
mov ecx, esi
push dword [esi - 4]
push eax
call fcn.0040e5e4
xor eax, eax
mov dword [esi - 0xc], eax
mov dword [esi - 8], eax
mov dword [esi - 4], eax
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4