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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
cmp dword [ebx + 0xc], 0x5e02b8
je 0x4edc5c
mov esi, dword [ebx + 4]
test esi, esi
je 0x4edc8c
mov edx, dword [ebp]
test edx, edx
je 0x4edcf8
mov al, byte [esi]
mov byte [esp + 0x2c], al
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov edi, 0xffffffff
mov al, byte [esp + 0x2c]
mov cl, al
cmp al, byte [edx]
jne 0x4edb24
mov cl, byte [esp + 0x2c]
mov eax, esi
test cl, cl
jne 0x4edb1c
cmp eax, esi
je 0x4edb1c
mov edi, dword [esp + 0x30]
mov eax, dword [ebx + 0xc]
cmp eax, 0x5e02b8
je 0x4edc84
test eax, eax
je 0x4edae7
mov eax, dword [eax + 4]
test eax, eax
je 0x4edae7
mov dword [esp], ebx
call eax
mov dword [esp], 0xc
call fcn.004ed800
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], 0x5e02b8
mov dword [eax], ebp
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov eax, dword [esp + 0x78]
mov dword [eax], edi
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
inc eax
inc edx
mov cl, byte [eax]
cmp cl, byte [edx]
je 0x4edabd
test cl, cl
jne 0x4edb30
inc dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
inc dword [esp + 0x30]
mov edx, dword [eax]
test edx, edx
jne 0x4edaad
nop
mov edx, dword [esp + 0x74]
and edx, 1
mov dword [esp + 0x38], edx
jne 0x4edb6c
cmp byte [esi], 0
je 0x4edb6c
cmp dword [esp + 0x3c], 1
je 0x4edac9
lea esi, [esi]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4edd68
call fcn.0050cb10
mov ebx, eax
mov dword [eax], 0
mov eax, dword [0x5e022c]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.004e09e4
mov edx, dword [ebp]
test edx, edx
je 0x4edd72
mov eax, dword [esp + 0x6c]
add eax, ebp
cmp byte [edx], 0
jne 0x4edd72
mov ecx, dword [esp + 0x6c]
jmp 0x4edbd3
add eax, ecx
cmp byte [edx], 0
jne 0x4edbdb
mov edi, eax
mov edx, dword [eax]
test edx, edx
jne 0x4edbcc
cmp dword [esp + 0x3c], 1
jle 0x4edd54
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4edd54
mov eax, str.ambiguous
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0x60e34b
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x60e357
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004eba04
add edi, dword [esp + 0x6c]
mov eax, dword [edi]
xor ebp, ebp
mov dword [esp + 0x2c], esi
mov esi, edi
mov edi, ebx
mov ebx, dword [esp + 0x6c]
nop
test eax, eax
je 0x4edd0c
add esi, ebx
mov ecx, dword [esi]
test ecx, ecx
je 0x4edcc0
cmp byte [eax], 0
jne 0x4edc9c
mov eax, ecx
jmp 0x4edc40
mov eax, dword [ebx + 0x10]
cmp dword [eax], ebp
jne 0x4eda78
mov edx, dword [esp + 0x6c]
cmp dword [eax + 4], edx
jne 0x4eda78
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x78]
mov dword [edx], eax
xor eax, eax
jmp 0x4edb11
mov eax, dword [ebx + 0x10]
jmp 0x4edafd
mov dword [esp], ebx
call fcn.004dd368
mov esi, eax
jmp 0x4eda83
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x60e35f
mov dword [esp], edi
call fcn.004eba04
inc ebp
mov ecx, dword [esi]
mov eax, ecx
jmp 0x4edc40
test ebp, ebp
je 0x4edd5e
mov ecx, 0x60e348
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._or
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.004eba04
mov ecx, dword [esi]
mov eax, ecx
jmp 0x4edc40
mov dword [esp + 0x3c], 0
mov edi, 0xffffffff
jmp 0x4edb4c
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.INDEX
mov dword [esp + 8], 0x60e368
mov dword [esp + 4], 0x60e36f
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.004e1224
mov eax, 1
jmp 0x4edb11
mov eax, 0x60e343
jmp 0x4edbf7
mov ecx, 0x60e34a
jmp 0x4edccd
mov eax, 1
jmp 0x4edb11
mov edi, ebp
jmp 0x4edbdb