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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
and dword [esi + 4], 0
and dword [esi + 0x38], 0
push edi
lea ecx, [ebp - 0x14]
call fcn.004e1bb3
lea ecx, [ebp - 0x20]
call fcn.004e1bb3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebx + 4]
test edi, edi
jne 0x4d6766
push dword [ebp + 0xc]
call fcn.004d65c6
mov bl, 1
push dword [ebp - 0x20]
call fcn.00521571
push dword [ebp - 0x14]
call fcn.00521571
pop ecx
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0xc
xor edx, edx
mov eax, ebx
call fcn.004e1d83
cmp word [eax], 0x5b
jne 0x4d698d
lea edx, [edi - 1]
mov eax, ebx
call fcn.004e1d83
cmp word [eax], 0x5d
jne 0x4d698d
add edi, 0xfffffffe
push edi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 8], edi
push ebx
lea edi, [ebp - 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004d65f0
test al, al
je 0x4d698d
push 0x46c328
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d67d4
mov eax, dword [ebp + 8]
or dword [eax + 4], 1
add eax, 8
jmp 0x4d694a
push 0x46c334
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d67f5
mov eax, dword [ebp + 8]
or dword [eax + 4], 8
add eax, 0x14
jmp 0x4d694a
push 0x46c344
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d682f
mov eax, dword [ebp + 8]
or dword [eax + 4], 0x10
lea esi, [eax + 0x4c]
call fcn.004d93d8
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.004d942b
test eax, eax
je 0x4d696a
xor bl, bl
jmp 0x4d674b
push 0x46c35c
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d6859
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x20
call fcn.0052354d
pop ecx
mov dword [esi + 0x2c], eax
jmp 0x4d696a
push 0x46c364
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d6883
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x40
call fcn.0052354d
pop ecx
mov dword [esi + 0x3c], eax
jmp 0x4d696a
push 0x46c368
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d68b0
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x80
call fcn.0052354d
pop ecx
mov dword [esi + 0x40], eax
jmp 0x4d696a
push 0x46c36c
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d68dd
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x100
call fcn.0052354d
pop ecx
mov dword [esi + 0x44], eax
jmp 0x4d696a
push 0x46c370
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d6907
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x200
call fcn.0052354d
pop ecx
mov dword [esi + 0x48], eax
jmp 0x4d696a
push 0x46c374
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d692e
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 2
call fcn.0052354d
pop ecx
mov dword [esi + 0x30], eax
jmp 0x4d696a
push 0x46c388
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d6954
mov eax, dword [ebp + 8]
or dword [eax + 4], 4
add eax, 0x20
lea ebx, [ebp - 0x20]
call fcn.004e1d94
jmp 0x4d696a
push 0x46bf80
lea esi, [ebp - 0x14]
call fcn.004e1f30
test al, al
pop ecx
je 0x4d6828
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
lea edi, [ebp - 4]
lea eax, [ebp - 0x14]
call fcn.004d65f0
test al, al
jne 0x4d67b3
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
jne 0x4d69a2
lea eax, [esi + 0x14]
mov dword [esi + 4], 8
call fcn.004e1d94
test byte [esi + 4], 8
je 0x4d69e5
mov eax, dword [esi + 0x18]
and dword [esi + 0x80], 0
test eax, eax
mov dword [esi + 0x7c], eax
lea edi, [eax - 1]
je 0x4d69e5
test edi, edi
jl 0x4d69e5
lea ebx, [esi + 0x14]
mov edx, edi
mov eax, ebx
call fcn.004e1d83
movzx eax, word [eax]
push eax
call fcn.005235a7
dec edi
test eax, eax
pop ecx
je 0x4d69e5
inc dword [esi + 0x80]
test edi, edi
jge 0x4d69c3
mov edi, dword [fcn.00467574]
and dword [esi + 0x78], 0
push esi
push 0x404e38
push dword [ebp + 0xc]
call edi
cmp dword [esi + 0x38], 0
jne 0x4d6a27
test byte [esi + 4], 8
je 0x4d6a27
and dword [esi + 0x78], 0
lea ebx, [esi + 0x14]
lea eax, [esi + 0x20]
mov dword [esi + 4], 4
call fcn.004e1d94
push esi
push 0x404e38
push dword [ebp + 0xc]
call edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4d6828
push eax
jmp 0x4d6744